X hits on this document

657 views

0 shares

4 downloads

0 comments

55 / 133

55

Allen-Bradley ControlLogix Ethernet Driver Help

elements to Read/Write equals # of rows times # of columns. If no rows are specified, # of rows will default to 1.

Array w/ Offset*

Bit

The array begins at a zero offset (array index equals 0 for all dimensions).

tag_1 [2, 3] {10} tag_1 [2, 3] 2}{5}

The array begins at an offset specified by the dimensions in the array element tag. The array always covers the highest dimension. Thus, tag_1 [2,3]{10} would produce an array of elements tag_1 [2,3] -> tag_1 [2,13]

tag_1.0 tag_1.[0]

Bit Range = 0 to 31

<logix array element tag> {# columns} <logix array element tag> {# rows}{# columns}

<logix tag name>.bit <logix tag name>.[bit]

If tag is an array, it must be a BOOL array, otherwise tag cannot be an array.

String

<logix tag name>/<Maximum string length>

tag_1.Data/4 Stringtag_1.Data SINTarraytag_1/16

Length Range = 1 to 65535

The maximum number of characters that can Read/Write to the string.

*Since this format may request more than one element, the order in which array data is passed depends on the dimension of the Logix Array Tag. For example, if rows times cols = 4 and the Controller Tag is a 3X3 element array, then the elements that are being referenced are array_tag [0,0], array_tag [0,1], array_tag [0,2], and array_tag [1,0] in that exact order. The results would be different if the Controller Tag were a 2X10 element

array.

Note: For more information on how elements are referenced for 1, 2 and 3 dimensional arrays, refer to Ordering of Array Data.

Tag Scope Global Tags

www. kepware.com

Document info
Document views657
Page views679
Page last viewedFri Jan 20 14:17:29 UTC 2017
Pages133
Paragraphs5515
Words40931

Comments