Updated data tag structure – Rockwell Automation 1756-IF4FXOF2F ControlLogix High-speed Analog I/O Module User Manual

Page 112

Advertising
background image

112

Rockwell Automation Publication 1756-UM005B-EN-P - January 2013

Appendix B

Tag Definitions

Figure 15 - Tag Editor

Updated Data Tag Structure

The tag structure for the module is different than other ControlLogix I/O
modules released previously. The high-speed analog I/O module tags are listed in
an array format and other I/O modules are not.

In the array format, status and data tags for each channel are grouped
together. For example, the four input channels status and data tags are
listed in a manner similar to the following:

Local:

x:I.In[0].Status

Local:

x:I.In[0].Data

Local:

x:I.In[1].Status

Local:

x:I.In[1].Data

Local:

x:I.In[2].Status

Local:

x:I.In[2].Data

Local:

x:I.In[3].Status

Local:

x:I.In[3].Data

In the non-array format, status and data tags are not listed together for
each channel. Instead, they are listed together according to tag type, in a
manner similar to the following:

Local:

x:I.Ch0.Status

Local:

x:I.Ch1.Status

Local:

x:I.Ch2.Status

Local:

x:I.Ch3.Status

Local:

x:I.Ch0.Data

Local:

x:I.Ch1.Data

Local:

x:I.Ch2.Data

Local:

x:I.Ch3.Data

Using the array format allows easier interrogation of module status. By simply
indexing a pointer, a single instruction can examine status for all four input
channels.

Specify the input range
for channel 0 here.

Advertising