X hits on this document

609 views

0 shares

4 downloads

0 comments

62 / 133

Allen-Bradley ControlLogix Ethernet Driver Help

Bit

Float Array** *** Boolean

,

1. The range is limited from 0 to 7. 2. If the Controller Tag is an array, the bit class reference must be prefixed by an array element class reference. Example: tag_1 [2,2,3].0.

String

String

1. If accessing a single element, the Controller Tag need not be an array.

Note: The value of the string will be the ASCII equivalent of the SINT value. Example: SINT = 65dec = "A".

2. If accessing more than a single element, the Controller Tag must be an array. The value of the string will be the null- terminated ASCII equivalent of all the SINTs in the string.

1 character in string = 1 SINT

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

Server Tag Address

Format

Data Type

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

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

Boolean Byte Word DWord Float Boolean Byte Byte Byte Boolean

sinttag [3] {1} sinttag . 3 sinttag . 0 {8}

Array w/ Offset Bit Array w/o Offset

Byte Boolean Boolean

Examples Examples highlighted in yellow signify common use cases.

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

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

Value = "z" Invalid: Tag not an array.

sinttag / 1

String

String

sinttag / 4

String

String

SINT Controller Tag - sinttag = 122 (decimal)

Server Tag Address

Format

Data Type

Notes

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

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

Boolean Byte Word DWord Float Byte Boolean Byte Byte

Invalid: Tag cannot be an array. Invalid: Tag cannot be an array. Invalid: Tag cannot be an array. Invalid: Tag cannot be an array. Invalid: Tag cannot be an array. Invalid: Server Tag missing dimension 2 address. Invalid: Boolean not allowed for array elements. Value = 8 Value = [83,73,78,84,5,6,7,8,9,10]

SINT Array Controller Tag - sintarraytag [4,4] = [[83,73,78,84],[5,6,7,8],[9,10,11,12],

[13,14,15,16]]

www. kepware.com

62

Document info
Document views609
Page views631
Page last viewedTue Jan 17 07:11:35 UTC 2017
Pages133
Paragraphs5515
Words40931

Comments