Rockwell Automation 1785-ENET PLC-5 Ethernet Interface Module Installation Instructions User Manual

Page 36

Advertising
background image

36 PLC-5 Ethernet Interface Module

Publication 1785-IN019B-EN-P - January 2007

%format - legal values are %d for decimal and %x for hexadecimal. The following

file types allow the format to be specified:

Display format defaults - Input and Output file elements are output in octal format.

Status and BCD file elements are output in hexadecimal format with a leading 0x.
Integer file elements are output in decimal format. Complex data types (Timer,
Counter, MSG, BT, Control, PID, and SCF) are output as a table with bits and
important words specified.

Fixed display formats - float files are always output in floating-point format

(“C”%g format). ASCII and string files are always output as a null-terminated text
string. Binary files are always output as two binary bytes.

HTML Examples

The following examples show an HTML code segment in bold with a short description of
what you would see on a Web browser:

The input image word is I:0 is <b><!ABDTR-I:0></b>.
This segment displays the value of the first word of the input image table in the
default format of octal with bold type.

The time values in T4:0 are<!ABDTR-T4:0>.
This segment will display the values of the timer in T4:0 in the default format of a
table.

I:0 is <,b><!ABDTR-I:0%d></b>.
This segment displays the value of the first word of the input image table in decimal
with bold type.

T4:0 is <b><!ABDTR-T4:0%d></B>.
This segment displays the values of the three words comprising timer T4:0 in decimal
with bold type.

N24:0 to n24:3 are <b><!ABDTR-N24:0,4></b>.
This segment displays the values of the four words in N24:0 through N24:3 in
decimal with bold type.

S:21-S:23 are <b><!ABDTR-S:21, 3%d></b>.
This segment displays the values of the three words in S:21 through S:23 in decimal
with bold type.

• Input

• Integer

• MSG

• BCD

• Output

• Timer

• BT

• PID

• Status

• Counter

• Control

• SFC

Advertising