HIEE401091R0002 GD9924BE工业卡件,DCS模块卡件
此外,应响应于信道中断而执行的程序块必须映射到对应于该信道的参考地址。示例:在此示例中,输出参考地址块映射到%AQ0001-%AQ0008。如果通道2出现高报警条件,应触发I/O中断块。▪ 配置高报警条件。▪ 在模块配置中设置通道2的高报警中断启用标志。通道2的参考地址对应于%AQ00003(每个通道2个字),因此应为I/O中断类型设置中断程序块调度属性,并将%AQ0003设置为触发器。故障报告和中断这些模块具有诊断报告和中断的单独启用/禁用选项。通常,禁用配置中的诊断(如低/高报警或过高/过低范围)意味着其诊断位从未设置。但是,如果为某个条件启用了中断并且发生了该中断,则在I/O中断块逻辑执行期间也会设置该条件的诊断位。下一次PLC输入扫描总是将此中断状态位清除回0,因为诊断报告已禁用。PACSystems*RX3i系统手册第12节GFK-2314T 2019年9月带HART通信532信道参数的模拟模块(续)参数默认说明HART通信禁用启用/禁用。如果信道将使用HART通信,则将HART通信设置为启用。启用HART通信迫使信道进行4-20mA操作。HART插槽变量禁用启用/禁用。如果启用HART槽变量,模块将定期发送HART命令#33请求数据。通道变量将被读取并放置在HART扫描块通道数据中。对于每个插槽,变量分配代码可以设置在0和255之间。插槽代码0、1、2、3 1用于从连接的HART设备检索数据的插槽变送器变量分配代码。这些值用于HART命令#33的请求数据。11.4.2输出模块数据格式:ALG728本节说明模块如何使用可在模块配置期间分配的单独参考区域:▪ 输出值参考数据,模拟输出通道值所需的存储器。▪ 输出通道诊断参考数据,通道故障和报警的可选存储器。▪ 模块状态参考数据,通用模块状态数据的可选存储器。此外,在配置过程中,可以分配可选的HART参考数据和存储器。详见本章下文“HART参考数据”一节。11.4.2.1输出值参考数据:ALG728模块从其分配的输出参考地址开始,从其配置的输出字接收其信道数据。每个信道占用2个字,无论是否使用信道:输出参考地址包含以下数据:+0、1信道1+2、3信道2+4、5信道3 PACSystems*RX3i系统手册第12节GFK-2314T 2019年9月具有HART通信的模拟模块533+6、7信道4+8、9信道5+10、11信道6+12、13信道7+14、,15信道8根据其配置的信道值格式,每个启用的信道输出参考位置被读取为32位浮点或16位整数值。在16位整数模式中,32位通道数据区的低位字包含16位整数通道值。32位中的高位字(高位16位)被忽略。16位整数的完整范围是从+32767到-32768的有符号十进制值。
n addition, the program block that should be executed in response to the channel interrupt must be mapped to the reference address corresponding to that channel. Example: In this example, the Outputs Reference Address block is mapped to %AQ0001-%AQ0008. An I/O Interrupt block should be triggered if a High Alarm condition occurs on channel 2. ▪ Configure the High-Alarm condition. ▪ Set the High-Alarm Interrupt Enable flag for Channel 2 in the module configuration. The reference address for Channel 2 corresponds to %AQ00003 (2 Words per channel), so the interrupt program block Scheduling properties should be set for the I/O Interrupt Type and %AQ0003 as the Trigger. Fault Reporting and Interrupts These modules have separate enable/disable options for Diagnostic Reporting and Interrupts. Normally, disabling a diagnostic (such as Low/High Alarm or Over/Under range) in the configuration means that its diagnostic bit is never set. However, if interrupts are enabled for a condition and that interrupt occurs, the diagnostic bit for that condition is also set during the I/O Interrupt block logic execution. The next PLC input scan always clears this interrupt status bit back to 0, because Diagnostic Reporting has it disabled. PACSystems* RX3i System Manual Section 12 GFK-2314T Sept. 2019 Analog Modules with HART Communications 532 Channel Parameters (Continued) Parameter Default Description HART Communications Disabled Enabled/disabled. Set HART Communications to enabled if the channel will use HART communications. Enabling HART communications forces the channel to 4-20mA operation. HART Slot Variables Disabled Enabled/disabled. If HART Slot Variables is enabled, the module will periodically send HART command #33 to request data. Channel variables will be read and placed in the HART scan block channel data. For each slot, the variable assignment code can be set between 0 and 255. Slot Code 0, 1, 2, 3 1 The slot transmitter variable assignment code that will be used to retrieve data from the connected HART device. These values are used in the request data for HART command #33. 11.4.2 Output Module Data Formats: ALG728 This section explains how the module uses separate reference areas that can be assigned during module configuration: ▪ Output Value Reference Data, required memory for the analog output channel values. ▪ Output Channel Diagnostic Reference Data, optional memory for channel faults and alarms. ▪ Module Status Reference Data, optional memory for general module status data. In addition, during configuration, optional HART Reference Data, memory can be assigned. Refer to the section “HART Reference Data” later in this chapter for details. 11.4.2.1 Output Value Reference Data: ALG728 The module receives its channel data from its configured output words, beginning at its assigned Outputs Reference Address. Each channel occupies 2 words, whether the channel is used or not: Outputs Reference Address Contains Data for: +0, 1 Channel 1 +2, 3 Channel 2 +4, 5 Channel 3 PACSystems* RX3i System Manual Section 12 GFK-2314T Sept. 2019 Analog Modules with HART Communications 533 +6, 7 Channel 4 +8, 9 Channel 5 +10, 11 Channel 6 +12, 13 Channel 7 +14, 15 Channel 8 Depending on its configured Channel Value Format, each enabled channel output reference location is read as a 32-bit floating-point or 16-bit integer value. In the 16-bit integer mode, low word of the 32-bit channel data area contains the 16-bit integer channel value. The high word (upper 16-bits) of the 32-bits is ignored. The full range of the 16-bit integer is a signed decimal value from +32767 to –32768.