X hits on this document

715 views

0 shares

4 downloads

0 comments

64 / 133

Allen-Bradley ControlLogix Ethernet Driver Help

the Controller Tag must be an array. The value of the string will be the null- terminated ASCII equivalent of all the INTs (clamped to 255) in the string.

1 character in string = 1 INT, clamped to 255

INT strings are not packed. For greater efficiency, use SINT strings or the STRING structure instead.

*non-zero values will be clamped to true. **Values exceeding 255 will be clamped to 255. ***Each element of the array corresponds to an element in the INT array. Arrays are not packed. ****Float value will equal face value of Controller Tag in Float form (non-IEEE Floating point number).

Examples Examples highlighted in yellow signify common use cases.

INT Controller Tag - inttag = 65534 (decimal)

Server Tag Address Class

inttag inttag inttag inttag inttag inttag inttag inttag inttag inttag

[3] [3] {3} {1} {1}

Standard Standard Standard Standard Standard Array Element Array Element Array w/o Offset Array w/o Offset Array w/o Offset

inttag [3] {1} inttag . 3 inttag . 0 {16}

Array w/ Offset Bit Array w/o Offset

Data Type

Boolean Byte Word DWord Float Boolean Word Word Word Boolean

Word Boolean Boolean

Notes Value = true Value = 255 Value = 65534 Value = 65534 Value = 65534.0 Invalid: Tag not an array. Also, Boolean is invalid. Invalid: Tag not an array. Invalid: Tag not an array. Value = [65534] Invalid: Bad data type. Invalid: Tag not an array. Value = true

Value = [0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1] Bit value of 65534

inttag / 1 inttag / 4

String String

String String

Value = unprintable character = 255 decimal. Invalid: Tag not an array.

INT Array Controller Tag - intarraytag [4,4] = [[73,78,84,255],[256,257,258,259],[9,10,11,12], [13,14,15,16]]

Server Tag Address

Class

Data Type

intarraytag intarraytag intarraytag intarraytag intarraytag intarraytag [3] intarraytag [1,3] intarraytag [1,3] intarraytag {10}

Standard Standard Standard Standard Standard Array Element Array Element Array Element

Boolean Byte Word DWord Float Word Boolean Word Byte

Array w/o Offset

Notes

Invalid: Tag cannot be an ar Invalid: Tag cannot be an ar Invalid: Tag cannot be an ar Invalid: Tag cannot be an ar Invalid: Tag cannot be an ar Invalid: Server Tag missing Invalid: Boolean not allowed Value = 259 Value = [73,78,84,255,255

ray. ray. ray. ray. ray. dimension 2 address. for array elements.

,255,255,255,9,10]

intarraytag {2} {5}

Array w/o Offset

intarraytag {1}

Array w/o Offset

Word

Word

Value = [73,78,84,255,256

Value = 73

] [257,258,259,9,10]

intarraytag {1}

Array w/o Offset

Boolean

Invalid: Bad data type.

www. kepware.com

64

Document info
Document views715
Page views737
Page last viewedTue Jan 24 21:59:32 UTC 2017
Pages133
Paragraphs5515
Words40931

Comments