Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 199

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

Communicating with Devices on an Ethernet Network 11-25

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:

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.

Input

Integer

Output

BCD

Status

Advertising