




330003-03-06
注意:如果使用A系列模块,请勿使用配置选择
全范围位设置为0。单个通道恢复为4…20
位选择为全零的mA。这可能会导致不必要的或不必要的后果
这是一个错误的操作。
出版物1794-UM062B-EN-P-2020年3月
将配置写入模块39并从模块39读取状态
模块的映射数据、读写字和位/字描述描述了信息
写入模拟模块和从模拟模块读取。每个字由16位组成。
有关特定模块的完整数据列表,请参阅53页的数据表。
章节摘要:在本章中,您了解了配置和映射的数据和说明
您的FLEX I/O是高密度模拟模块。
出版物1794-UM062B-EN-P-2020年3月
40向模块写入配置并从模块读取状态
笔记:
41出版物1794-UM062B-EN-P-2020年3月
四章
与您的模块通信
概述:阅读本章以熟悉输入上的可配置功能
和输出模拟模块
关于DeviceNet Manager DeviceNet Manager™ 是用于配置FLEX I/O的软件工具
DeviceNet®适配器及其相关模块。此软件工具可以连接
通过DeviceNet网络连接到适配器。
您必须了解DeviceNetManager的工作原理,才能添加
将设备连接到网络。有关详细信息,请参阅DeviceNetManager软件联机帮助
有关使用DeviceNetManager软件的更多信息。
网络通信
I/O背板
FLEX I/O适配器通过网络与其他网络系统组件通信
网络。适配器通过网络与其I/O模块通信
背板。
模块的I/O映射分为读字和写字。阅读
字由输入和状态字组成,写字由输出和状态字构成
配置字。读字数或写字数可以是0或更多。
每个I/O模块的读字和写字的长度大小不同
取决于模块复杂度。每个I/O模块将支持至少1个输入
字或1个输出字。状态和配置是可选的,具体取决于
单元
例如,一个16点离散输入模块多有2个读字和1个读字
写一个单词。
检查每个模块的I/O映射以获得确映射。
有关详细信息,请参见页
关于DeviceNetManager 41
I/O背板41上的通信
轮询I/O结构42
默认值43
延迟
时间
延迟
时间1123
16点离散输入模块
出版物1794-UM062B-EN-P-2020年3月
42.与您的模块通信
适配器按照已安装I/O模块的顺序接收轮询I/O结构输出数据。
首先接收时隙0的输出数据,然后接收时隙的输出数据
直到槽7。
适配器发送的输入数据的一个字是适配器状态字。这
之后是来自每个插槽的输入数据,按安装的I/O顺序排列
模块。插槽0的输入数据首先位于状态字之后,然后是
从插槽2输入数据,依此类推到插槽7。
适配器输入状态字
输入状态字包括:
•输入/输出模块故障位-每个插槽1个状态位
•节点地址已更改-1位
•I/O状态-1位
适配器状态
插槽0输入数据
插槽1输入数据
插槽7输入数据
插槽0输出数据
插槽1输出数据
插槽7输出数据
读取数据
写入数据
网络阅读
网络写入
FLEX I/O适配器
插槽0
I/O模块读取
写入插槽1
输入/输出模块
插槽7
I/O模块。。。
...
...
...
...
46062
比特:15 10到15 8 7 6 5 4 3 2 1 0
I/O模块故障位
节点地址已更改位
插槽7
插槽6
插槽5
插槽4
插槽3
插槽2
插槽1
插槽0
9
I/O状态位
不用
46063
出版物1794-UM062B-EN-P-2020年3月
与您的模块43通信
适配器输入状态字位描述如表“字位”所示
43页的说明。
I/O模块故障的可能原因有:
•FLEX I/O背板上的传输错误
•出现故障的模块
•从其端子底座上拆下的模块
•插槽位置中插入的模块不正确
•插槽为空
节点地址更改位是在节点地址切换设置已更改时设置的
自通电后已更改。新节点地址直到
适配器已断电,然后重新通电。直到该功率
循环发生时,节点地址开关将与实际节点地址不匹配。
默认值每个I/O模块都有与其关联的默认值。默认情况下,每个模块
生成输入/状态,并期望输出/配置。
字位描述
位描述位解释
I/O模块故障0当在插槽位置0检测到错误时,此位被设置(1)。
1当在时隙位置1中检测到错误时,设置(1)该位。
2当在时隙位置2中检测到错误时,设置(1)该位。
3当在时隙位置3中检测到错误时,设置(1)该位。
4当在时隙位置4中检测到错误时,设置(1)该位。
5当在时隙位置5中检测到错误时,设置(1)该位。
6.当出现错误时,设置(1)该位
330003-03-06

330003-03-06
ATTENTION: If using Series A modules, do not use configure select and full range bit settings of 0. Individual channels revert to 4…20 mA with bit selections of all zeroes. This could result in unwanted or incorrect action. Publication 1794-UM062B-EN-P - March 2020 Write Configuration to and Read Status from Your Module 39 Map Data for the Module Read and write words and bit/word descriptions describe the information written to and read from the analog modules. Each word is composed of 16 bits. For a complete list of data for your specific module, see Data Tables on page 53. Chapter Summary In this chapter you learned about data and instructions to configure and map your FLEX I/O High-Density Analog Modules. Publication 1794-UM062B-EN-P - March 2020 40 Write Configuration to and Read Status from Your Module Notes: 41 Publication 1794-UM062B-EN-P - March 2020 Chapter 4 Communicate With Your Module Overview Read this chapter to familiarize yourself with configurable features on the input and output analog modules About DeviceNetManager DeviceNetManager™ is a software tool used to configure your FLEX I/O DeviceNet® adapter and its related modules. This software tool can be connected to the adapter via the DeviceNet network. You must know and understand how DeviceNetManager works in order to add a device to the network. Refer to the DeviceNetManager software online help for more information on using DeviceNetManager software. Communication Over the I/O Backplane A FLEX I/O adapter communicates to other network system components over the network. The adapter communicates with its I/O modules over the backplane. The I/O map for a module is divided into read words and write words. Read words consist of input and status words, and write words consist of output and configuration words. The number of read words or write words can be 0 or more. The length of each I/O module’s read words and write words vary in size depending on module complexity. Each I/O module will support at least 1 input word or 1 output word. Status and configuration are optional, depending on the module. For example, a 16 point discrete input module will have up to 2 read words and 1 write word. Check the I/O map for each module for the exact mapping. For Information About See Page About DeviceNetManager 41 Communication Over the I/O Backplane 41 Polled I/O Structure 42 Defaults 43 Delay Time Delay Time 1123 16-point Discrete Input Module Publication 1794-UM062B-EN-P - March 2020 42 Communicate With Your Module Polled I/O Structure Output data is received by the adapter in the order of the installed I/O modules. The Output data for Slot 0 is received first, followed by the Output data for Slot 1, and so on up to slot 7. The first word of input data sent by the adapter is the Adapter Status Word. This is followed by the input data from each slot, in the order of installed I/O modules. The Input data from Slot 0 is first after the status word, followed by Input data from Slot 2, and so on to slot 7. Adapter Input Status Word The input status word consists of: • I/O module fault bits — 1 status bit for each slot • node address changed — 1 bit • I/O status — 1 bit Adapter status Slot 0 input data Slot 1 input data Slot 7 input data Slot 0 output data Slot 1 output data Slot 7 output data Read data Write data Network READ Network WRITE FLEX I/O adapter slot 0 I/O module Read Write slot 1 I/O module slot 7 I/O module ... ... ... ... ... 46062 Bit: 15 10 through 15 8 7 6 5 4 3 2 1 0 I/O Module Fault Bits Node Address Changed Bit Slot 7 Slot 6 Slot 5 Slot 4 Slot 3 Slot 2 Slot 1 Slot 0 9 I/O State Bit Not Used 46063 Publication 1794-UM062B-EN-P - March 2020 Communicate With Your Module 43 The adapter input status word bit descriptions are shown in table Word Bit Description on page 43. Possible causes for an I/O module fault are: • transmission errors on the FLEX I/O backplane • a failed module • a module removed from its terminal base • incorrect module inserted in a slot position • the slot is empty The node address changed bit is set when the node address switch setting has been changed since power up. The new node address does not take effect until the adapter has been powered down and then powered back up. Until this power cycling occurs, the node address switches will not match the actual node address. Defaults Each I/O module has default values associated with it. At default, each module generates inputs/status and expects outputs/configuration. Word Bit Description Bit Description Bit Explanation I/O module fault 0 This bit is set (1) when an error is detected in slot position 0. 1 This bit is set (1) when an error is detected in slot position 1. 2 This bit is set (1) when an error is detected in slot position 2. 3 This bit is set (1) when an error is detected in slot position 3. 4 This bit is set (1) when an error is detected in slot position 4. 5 This bit is set (1) when an error is detected in slot position 5. 6 This bit is set (1) when an error is detected in slot position 6. 7 This bit is set (1) when an error is detected in slot position 7. Node address changed 8 This bit is set (1) when the node address switch setting has been changed since power up. I/O state 9 Bit = 0 – idle Bit = 1 – run 10…15 Not used – sent as zeroes. Module Default Values Module Defaults for: Factory Defaults Real Time Size Catalog Number Description Input Default Output Default Input Default Output Default 1794-IE8/B 8-pt Analog Input 9 6 8 0 1794-IE8XT 8-pt Analog Input 9 6 8 0 1794-IE12 12-pt Analog Input 13 2 12 1 1794-OE4/B 4-pt Analog Output 1 14 0 4 Publication 1794-UM062B-EN-P - March 2020 44 Communicate With Your Module Factory defaults are the values assigned by the adapter when you: • first power up the system, and • no previous stored settings have been applied. For analog modules, the defaults reflect the actual number of input words/output words. For example, for the 8 input analog module, you have 9 input words, and 6 output words. You can change the I/O data size for a module by reducing the number of words mapped into the adapter module, as shown in real time size. Real time size is the setting that provides optimal real time data to
Copyright ©2019-2022 瑞昌明盛自动化设备有限公司 版权所有 赣ICP备2021006016号