EasyManua.ls Logo

Allen-Bradley PLC-5 series User Manual

Allen-Bradley PLC-5 series
41 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
Allen-Bradley Ethernet Driver
Binary Files
To access Binary files, specify a file number and a word (and optionally, a bit in the word). The default data type
for all syntax is shown in bold.
Syntax Data Type
B<file>:<word> Short, Word, BCD, DWord, Long, LBCD
B<file>:<word> [rows][cols] Short, Word, BCD, DWord, Long, LBCD*
B<file>:<word> [cols] Short, Word, BCD, DWord, Long, LBCD*
B<file>:<word>/<bit> Boolean
B<file>:<word>/<bit> [rows][cols] Boolean*
B<file>:<word>/<bit> [cols] Boolean*
B<file>/bit Boolean
B<file>/bit [rows][cols] Boolean*
B<file>/bit [cols] Boolean*
*Array types
Note: The number of array elements (in bytes) cannot exceed the block request size specified. This means
that array size cannot exceed 16 words given a block request size of 32 bytes. For more information, refer to
Block Request Size.
File Numbers and Word Locations
The following file numbers and word locations are allowed for each model. The maximum word location is one
less when accessing as a 32-bit data type (Long, DWord, or Long BCD).
PLC Model File Number Max. Word
SLC 5/05 Open 3, 9-999 999
PLC-5 Family 3-999 1999
SoftPLC 3-9999 9999
Example Description
B3:0 Word 0
B3/26 Bit 26
B12:4/15 Bit 15 word 4
B3:10 [20] 20 element array starting at word 10
B15:0 [6][6] 6 by 6 element array starting at word 0
B3/7 [8] 8 element Boolean array starting at bit 7
B3/32 [6][9] 6 by 9 element Boolean array starting at bit 32
B3:11/2 [12] 12 element Boolean array starting at bit 2 word 11
B3:23/4 [5][8] 5 by 8 element Boolean array starting at bit 4 word 23
Timer Files
Timer files are a structured type whose data is accessed by specifying a file number, an element and a field.
The default data type depends on the field being accessed. Integer fields receive a default data type of Word.
Syntax Data Type
T<file>:<element>.<field> Depends on field
File Numbers and Elements
The following file numbers and maximum element are allowed for each model.
www. kepware.com
23

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley PLC-5 series and is the answer not in the manual?

Allen-Bradley PLC-5 series Specifications

General IconGeneral
Network TypeEthernet, ControlNet, DeviceNet, DH+
Protocols SupportedEthernet/IP, ControlNet, DeviceNet, DH+
Product LinePLC-5
ControlNetYes
DeviceNetYes
DH+Yes
Communication ProtocolEtherNet/IP, ControlNet, DeviceNet, DH+
Compatible ProcessorsPLC-5 processors
Operating Temperature0°C to 60°C
Relative Humidity5% to 95% non-condensing

Summary

Overview of Allen-Bradley Ethernet Driver

Setup and Configuration

Channel Properties Configuration

Covers general, Ethernet, write optimizations, and advanced channel settings.

Device Properties Configuration

Details identification, operating mode, scan, timing, auto-demotion, comms, and protocol settings.

Slot Configuration and I/O Modules

Configures I/O modules for SLC 500 series devices.

Device Redundancy Settings

Configures redundancy settings for devices, often with plug-ins.

Modular I/O Selection Guide

Optimizing Communications

Data Types Description

Address Descriptions

General Addressing and File Types

Covers general addressing and file types like Output, Input, and Status.

Binary, Timer, Counter Files

Details Binary, Timer, and Counter file addressing syntax.

Control, Integer, Float, ASCII, String Files

Explains Control, Integer, Float, ASCII, and String file addressing.

BCD, PID, Message, Block Transfer Files

Covers BCD, PID, Message, and Block Transfer file addressing.

Event Log Messages

Read Data Errors

Details errors like frame received, tag deactivated, and status codes during reads.

Write Data Errors

Explains errors during write operations, including frame issues and address problems.

Packet and TNS Range Errors

Covers errors related to packet length and TNS range during writes.

Index

Index A-D

Topics starting with A through D.

Index E-M

Topics starting with E through M.

Index N-S

Topics starting with N through S.

Index T-W

Topics starting with T through W.

Related product manuals