X hits on this document

470 views

0 shares

4 downloads

0 comments

63 / 133

3. .bit + array size cannot exceed 16 bits. Example: tag_1.1{16} exceeds an INT, tag_1.0{16} does not.

Array w/o Offset

Byte Array, Char Array** Word Array, Short Array, BCD Array DWord Array, Long Array, LBCD Array***Float Array***,****

If accessing more than a single element, the Controller Tag must be an array.

Array w/ Offset

Byte Array, Char Array** Word Array, Short Array, BCD Array DWord Array, Long Array, LBCD Array*** Float Array*** ****

,

The Controller Tag must be an array.

Bit

Boolean

1. The range is limited from 0 to 15. 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.

sintarraytag {2} {5}

Array w/o Offset

Word

Value = [83,73,78,84,5] [6,7,8,9,10]

sintarraytag {1}

Array w/o Offset

Byte

Value = 83

sintarraytag {1}

Array w/o Offset

Boolean

Invalid: Bad data type.

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

Array w/ Offset Bit Bit

Byte Boolean Boolean Boolean

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

sintarraytag [1,3] . 0 {8}

Array w/o Offset

sintarraytag / 1 sintarraytag / 4

String String

String String

Value = "S" Value = "SINT"

www. kepware.com

Format Standard

Supported Data Types

Boolean* Byte, Char** Word, Short, BCD DWord, Long, LBCD Float****

Array Element

Byte, Char** Word, Short, BCD DWord, Long, LBCD Float****

Array w/o Offset

Boolean Array

Note: The value of the string will be the ASCII equivalent of the INT value (clamped to 255). Example: INT = 65dec = "A".

2. If accessing more than a single element,

63

Advanced Addressing: INT

Notes None.

The Controller Tag must be an array.

Offset

Allen-Bradley ControlLogix Ethernet Driver Help

2. Applies to bit-within-INT only. Example: tag_1.0{16}.

1. Use this case to have the bits within an INT in array form.

Note: This is not an array of INTs in Boolean notation.

Document info
Document views470
Page views492
Page last viewedFri Dec 02 23:04:40 UTC 2016
Pages133
Paragraphs5515
Words40931

Comments