X hits on this document

522 views

0 shares

4 downloads

0 comments

81 / 133

81

Allen-Bradley ControlLogix Ethernet Driver Help

BCD Files To access BCD files, specify a file number and a word. The default data types are shown in bold.

PLC-5 Syntax Syntax D<file>:<word> D<file>:<word> [rows][cols] D<file>:<word> [cols]

Data Type BCD, LBCD BCD, LBCD (array type) BCD, LBCD (array type)

Access Read/Write Read/Write Read/Write

PLC Model

File Number

Max Word

Micrologix

NA

NA

SLC 500 Fixed I/O

NA

NA

SLC 500 Modular I/O

NA

NA

PLC-5 Series

3-999

999

The number of array elements (in bytes) cannot exceed the block request size specified. This means that array size cannot exceed 16 BCD, given a block request size of 32 bytes.

Ranges

Examples Example D9:0 D27:10 [16] D15:0 [4][8]

Description word 0 16 element array starting at word 10 32 element array starting at word 0

Long Files To access long integer files, specify a file

number and an element. The default data types are shown in bold.

Syntax L<file>:<DWord> L<file>:<DWord> [rows][cols] L<file>:<DWord> [cols]

Data Type Long, DWord, LBCD Long, DWord, LBCD (array type) Long, DWord, LBCD (array type)

Access Read/Write Read/Write Read/Write

File Number

Max Word

9-999

999

NA

NA

NA

NA

NA

NA

The number of array elements (in bytes) size cannot exceed 8 longs given a block

Ranges PLC Model Micrologix SLC 500 Fixed I/O SLC 500 Modular I/O PLC-5 Series

cannot exceed the block request size specified. This means that array request size of 32 bytes.

Examples Example L9:0 L9:10 [8] L15:0 [4] [5]

Description word 0 8 element array starting at word 10 4 by 5 element array starting at word 0

MicroLogix PID Files

PID files are a structured type whose data is accessed by specifying a file number, an element, and a field. The default data types are shown in bold.

Data Type

Access

Depends on field

Depends on field

Syntax PD<file>:<element>.<field>

www. kepware.com

Document info
Document views522
Page views544
Page last viewedWed Dec 07 20:57:55 UTC 2016
Pages133
Paragraphs5515
Words40931

Comments