ALG442)和命令参数(1→ 写入)E201+7发送到ALG442 0006+8数据类型0008(%R)+9数据地址(从零开始)0064(%R0101)的数据字节长度。表3-26中显示了指定COMMREQ数据类型的十进制和十六进制值。E2 COMMREQ的数据格式和命令字描述如表3-27所示。一个字保存命令字,二个字保存用于更改报警或斜坡参数的数据,三个字未使用。%R地址对应于表3-25中的示例命令块数据。表12-5。COMMREQ数据类型输入此数据类型的数字十进制十六进制%I离散输入28 1C%Q离散输出30 1E%R寄存器8 08%AI模拟输入10 0A%AQ模拟输出12 0C IC693ALG442模拟组合I/O模块12 GFK–0898F12章–IC693ALGA442模拟组合I/O模块12-21表12-6。E2 COMMREQ数据和命令字格式E2 COMMREQ数据信道约定*字1%R0101命令字0=信道1字2%R0102报警或斜坡数据1=信道2字3%R0103未使用ALG442) and command 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 decimal and hexadecimal values which specify COMMREQ data types are shown in Table 3-26. The data format and command word description for the E2 COMMREQ are shown in Table 3-27. The first word holds the command 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 command block data in Table 3-25. Table 12-5. COMMREQ Data Types Enter This Number For This Data Type Decimal Hexadecimal %I Discrete Input 28 1C %Q Discrete Output 30 1E %R Register 8 08 %AI Analog Input 10 0A %AQ Analog Output 12 0C IC693ALG442 Analog Combination I/O Module 12 GFK–0898F Chapter12 – IC693ALG442 Analog Combination I/O Module 12-21 Table 12-6. E2 COMMREQ Data and Command Word Formats E2 COMMREQ Data Channel Convention * word 1 %R0101 command word 0 = channel 1 word 2 %R0102 alarm or ramp data 1 = channel 2 word 3 %R0103 unused