Bradley Smoker PLC-5 user manual Output Timer, Status Counter Control

Models: PLC-5

1 388
Download 388 pages 13.97 Kb
Page 197
Image 197

Communicating with Devices on an Ethernet Network

11-23

 

 

you can reference other WWW servers and display images from other sources without affecting your usage of data table memory (except for the size of the HTTP reference)

Referencing Data Table Memory - reference data table memory locations by placing custom tags into your HTML source which specify the data table location and optional formatting information. Use the following format for the custom tag:

<!ABDTR-file_type{file_number}:{file_element}[,#elements] [%format]>

The items surrounded by {} are sometimes optional. 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 (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).

%format - legal values are %d for decimal and %x for hexadecimal. The following file types allow the format to be specified:

Input

Integer

MSG

BCD

Output

Timer

BT

PID

Status

Counter

Control

SFC

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, 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.

Publication 1785-UM012D-EN-P - July 2005

Page 197
Image 197
Bradley Smoker PLC-5 user manual Output Timer, Status Counter Control