IS200TREGH1BDC机器人模块卡件
按如下方式生效:IC693ALG442 Alog Combination I/O模块12 GFK–0898F第12章–IC693ALGA442 AlogCombination I/O模件12-19如果斜坡模式在斜坡期间关闭,则将完全变为fil lue(由相应的%AQ参考指示)。如果在斜坡期间打开了步进模式,则在处理完后立即使用新的步进(假设步进为盖)。如果在斜坡期间开启时间模式,模块将立即开始新的斜坡,将当前时间作为开始时间,将当前时刻作为开始时间。在所有情况下,更改相应%AQ参考值的值将导致从当前值开始新的斜坡。错误处理如果模块接收到E2数据,该数据表明入口或台阶高度或斜坡时间超出范围,模块将触发并在分配给模块的%I数据的第一个字节中返回错误代码。当向模块发送清除错误E2或重新配置模块时,将清除错误代码。在将数值用于斜坡计算之前,对模块接收的%AQ值进行范围检查。%模块将超出范围的AQ数据剪裁到最近的盖值。12 12-20系列90–30 PLC I/O模块规格–2000 GFK–0898F E2,适用于IC693ALG442。E2允许您修改输入报警限值,设置斜坡模式和参数,并清除%I错误代码。E2使用标准堡垒。有关的详细信息,请参阅GFK-0467《Series 90-30/20/Micro PLC指令集参考手册》第4章和《Series 9030/90-20/Micro可编程控制器用户手册》GFK-0402《手持式编程器》第8章。E2通信块E2通信块由10个字组成,如表3-25所示。为清楚起见,表中包含了六分之一堡中的示例E2数据。表12-4。E2 Comnd块定义地址数据描述示例数据起始地址始终为0004,用于此模块0004+1 t使用0000+2状态数据类型0008(%R)+3状态地址(从零开始)0000(%R0001)+4 t使用0000+5 t使用0000+6 Comnd类型(E2→ 6字节数据comnd到ALG442的消息ID)和comnd参数(1→ 写入)E201+7发送到ALG442 0006+8数据类型0008(%R)+9数据地址(从零开始)0064(%R0101)表3-26中显示了指定数据类型的十进制和十六进制值。表3-27显示了E2的数据堡垒和comnd单词描述。第一个字保存comnd字,第二个字保存用于更改报警或斜坡参数的数据,第三个字未使用。%R地址对应于表3-25中的示例comnd块数据。表12-5。数据类型为此数据类型输入此数字十进制十六进制%I离散输入28 1C%Q离散30 1E%R寄存器8 08%AI Alog输入10 0A%AQ Alog 12 0C IC693ALG442 Alog Combination I/O模块12 GFK–0898F第12章–IC693ALGA442 AlogCombination I/O模块12-21表12-6。E2数据和Comnd字Forts E2数据约定*字1%R0101 Comnd字0=1字2%R0102报警或斜坡数据1=2字3%R0103未使用2=3 3=4 Comnd字说明000x使用绝对模式更改x的低报警;单词2保持新的报警值。001x使用绝对模式改变x的高报警;单词2保持新的报警值。002x使用相对模式更改x的低报警;字2表示报警值的变化。003x使用相对模式更改x的高报警;字2表示报警值的变化。004x x斜坡模式关闭;以标准模式放置。005x x斜坡步进模式开启;字2保持每毫秒所采取的步骤。006x x斜坡时间模式开启;字2保持总斜坡时间。00C0清除%I错误代码;单词2被触发。*图1至图4是用于改变报警级别的盖子。图1和图2是用于设置斜坡模式的盖子。您可以更改四个输入中的任何一个的报警上限和下限。有两种模式可用于修改报警数据:绝对模式和相对模式。使用绝对模式时,发送的报警数据指定实际的新报警值。使用相对模式时,报警数据指定添加到当前值的报警值的正负变化。模块验证请求的新报警限值是否超出范围,且不违反HIGH(高)>LOW(低)的条件。
take effect as follows: IC693ALG442 Alog Combition I/O Module 12 GFK–0898F Chapter12 – IC693ALG442 Alog Combition I/O Module 12-19 If the ramp mode is turned off during a ramp, the will step completely to the fil lue (indicated by the corresponding %AQ reference). If step mode is turned on during a ramp, the new step is used as soon as the is processed (assuming that the step is lid). If time mode is turned on during a ramp, the module will immediately begin a new ramp using the present as the starting and the present time as the start time. In all cases, changing the lue of the corresponding %AQ reference will cause the to begin a new ramp from the present lue. Error Handling If the module receives E2 data that indicates an inlid or a step height or ramp time that is out of range, the module will igre the and return an error code in the first byte of %I data assigned to the module. The error code will be cleared when a Clear Errors E2 is sent to the module or when the module is reconfigured. Range checking of %AQ lues received by the module is performed before the lues are used in ramp computations. %AQ data which is out of range is clipped to the nearest lid lue by the module. 12 12-20 Series 90–30 PLC I/O Module Specifications – 2000 GFK–0898F E2 for IC693ALG442 The E2 allows you to modify the input alarm limits, set the ramp mode and parameters, and clear the %I error code. The E2 uses the standard fort. See Chapter 4 of the Series 90-30/20/Micro PLC Instruction Set Reference nual, GFK-0467, and Chapter 8 of the Hand-Held Programmer for Series 9030/90-20/Micro Programble Controllers User’s nual, GFK-0402, for more infortion on the . E2 Comnd Block The E2 comnd block consists of 10 words as shown in Table 3-25. Example E2 data in hexadecil fort is included in the table for clarity. Table 12-4. E2 Comnd Block Definitions Address Data Description Example Data Start Address Always 0004 for this module 0004 +1 t used 0000 +2 status data type 0008 (%R) +3 status address (zero-based) 0000 (%R0001) +4 t used 0000 +5 t used 0000 +6 Comnd type (E2 → message ID for 6 byte data comnd to ALG442) and comnd parameter (1 → write) E201 +7 Byte length of data sent to ALG442 0006 +8 Data type 0008 (%R) +9 Data address (zero based) 0064 (%R0101) The decil and hexadecil lues which specify data types are shown in Table 3-26. The data fort and comnd word description for the E2 are shown in Table 3-27. The first word holds the comnd word, the second word holds data for changing alarm or ramp parameters and the third word is unused. The %R addresses correspond to the example comnd block data in Table 3-25. Table 12-5. Data Types Enter This Number For This Data Type Decil Hexadecil %I Discrete Input 28 1C %Q Discrete 30 1E %R Register 8 08 %AI Alog Input 10 0A %AQ Alog 12 0C IC693ALG442 Alog Combition I/O Module 12 GFK–0898F Chapter12 – IC693ALG442 Alog Combition I/O Module 12-21 Table 12-6. E2 Data and Comnd Word Forts E2 Data Convention * word 1 %R0101 comnd word 0 = 1 word 2 %R0102 alarm or ramp data 1 = 2 word 3 %R0103 unused 2 = 3 3 = 4 Comnd Word Description 000x Change low alarm of x using absolute mode; word 2 holds the new alarm lue. 001x Change high alarm of x using absolute mode; word 2 holds the new alarm lue. 002x Change low alarm of x using relative mode; word 2 holds the change of the alarm lue. 003x Change high alarm of x using relative mode; word 2 holds the change of the alarm lue. 004x x ramp mode off; places in standard mode. 005x x ramp step mode on; word 2 holds the step taken each millisecond. 006x x ramp time mode on; word 2 holds the total ramp time. 00C0 Clear %I error code; word 2 is igred. * 1 through 4 are lid s for changing alarm levels. 1 and 2 are lid s for setting ramp modes. You can change the high and low alarm limits for any of the four input s. Two modes are ailable to modify the alarm data: absolute mode and relative mode. When using absolute mode, the alarm data sent by the specifies the actual new alarm lue. When using relative mode, the alarm data specifies the positive or negative change in the alarm lue that is added to the present lue. The module verifies that the new alarm limit requested is t out of range and does t violate the condition HIGH>LOW.