Allen-Bradley PLC-5 User Manual page 199

Enhanced and ethernet plc-5 programmable controllers
Hide thumbs Also See for PLC-5:
Table of Contents

Advertisement

Referencing Data Table Memory - the Data Table locations in the Custom
Data Table Monitor are referenced by placing custom tags into the ASCII file
of the controller. The format of the custom tag is:
<!ABDTR-file_type{file_number}:{file_element}[,#elements][%forma
t][#expand][!comment]>
The items surrounded with {} are sometimes optional, whereas the
items surrounded by [] are always optional.
You must always specify the basic file reference. Depending on which
file is being referenced, file_number or file_element may be defaulted.
If the file_type is I, O or S, the file_number does not need to be
specified, but the file_element must be specified. If the file_type is not
one of the three special files, the file_number must be specified and the
file_element may default to zero (because the input, output and status
files have fixed numbers).
Other considerations:
#elements - if not specified, this defaults to one. If less than one, also
defaults to one. Each element gets output using the same format
(whether specified with %format or defaulted). Any associated
comment is displayed only for the first element.
%format - legal values are %b for binary, %d for decimal, %0 for octal
and %x for hexadecimal. The following file types allow the format to be
specified:
Input
Output
Status
All other file types are displayed in an appropriate format. If a % format
modifier is present, the format may be changed by clicking on the file
type/number via a web browser.
#expand - legal values are #c and #e. This modifier determines
whether the structure file types are displayed in their expanded or
compacted formats. If a # modifier is present, the format may be
changed by clicking on the [+]/[-] via a web browser. If a #modifier is
not present, the default display of expanded will be used.
!comment - data after the exclamation point and up to the closing >
will be displayed in the Comment column of the monitor.
Communicating with Devices on an Ethernet Network
Integer
BCD
Publication 1785-UM012D-EN-P - July 2005
11-25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents