X hits on this document

471 views

0 shares

4 downloads

0 comments

66 / 133

Allen-Bradley ControlLogix Ethernet Driver Help

66

greater efficiency, use SINT strings or the STRING structure instead.

Server Tag Address

Format

Data Type

Notes

dinttag dinttag dinttag dinttag dinttag dinttag [3] dinttag [3] dinttag {3}

Standard Standard Standard Standard Standard Array Element Array Element

Boolean Byte Word DWord Float Boolean DWord DWord

Value = true Value = 255 Value = 65535 Value = 70000 Value = 70000.0 Invalid: Tag not an array. Also, Boolean is invalid. Invalid: Tag not an array. Invalid: Tag not an array.

Array w/o Offset

dinttag {1}

Array w/o Offset

DWord

Value = [70000]

dinttag {1}

Array w/o Offset

Boolean

Invalid: Bad data type

dintag [3] {1} dinttag . 3

Array w/ Offset Bit

DWord Boolean Boolean

Invalid: Tag not an array. Value = false

dinttag . 0 {32}

Array w/o Offset

Value = [0,0,0,0,1,1,1,0,1,0,0,0,1,0,0,0,1,0,...0] Bit value for 70000

dinttag / 1 dinttag / 4

String String

String String

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

*non-zero values will be clamped to true. **Values exceeding 255 will be clamped to 255. ***Values exceeding 65535 will be clamped to 65535. ****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.

DINT Controller Tag - dinttag = 70000 (decimal)

Server Tag Address

Format

Data Type

Notes

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

Standard Standard Standard Standard Standard Array Element Array Element Array Element

Boolean Byte Word DWord Float DWord Boolean DWord 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 = 259 Value = [68,73,78,84,255,255,255,255,9,10]

Array w/o Offset

dintarraytag {2}{5}

Array w/o Offset

DWord

Value = [68,73,78,84,256] [257,258,259,9,10]

dintarraytag {1}

Array w/o Offset

DWord

Value = 68

dintarraytag {1}

Array w/o Offset

Boolean

Invalid: Bad data type.

dintarraytag [1,3]{4} dintarraytag . 3 dintarraytag [1,3] . 3

Array w/ Offset Bit Bit

DWord Boolean Boolean Boolean

Value = [259,9,10,11] Invalid: Tag must reference atomic location. Value = 0

dintarraytag [1,3] .0 {32}

Array w/o Offset

Value = [1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0] Bit value for 259

DINT Array Controller Tag - dintarraytag [4,4] = [[68,73,78,84],[256,257,258,259],[9,10,11,12],

[13,14,15,16]]

www. kepware.com

Document info
Document views471
Page views493
Page last viewedSat Dec 03 07:09:11 UTC 2016
Pages133
Paragraphs5515
Words40931

Comments