User`s manual
6
SIEMENS (S5 COMMUNICATIONS) REFERENCE
The S5 operands listed above can be addressed as bits, words, or bytes
(exception: Timers and Counters are addressed as bits or words). Input
Word 0, for example, would contain Input Bytes 0 and 1. Input Word
1 would contain Input Bytes 1 and 2. To address a word, the IW, QW,
FW, T, C, and DW ID codes are used. To address a byte, the IB, QB,
FY, DL (Data Word Left), and DR (Data Word Right) codes are used.
Supported Data Formats
The data selected for a particular PLC location must reflect the same
format as the data actually stored in that location. This is the only way
you can ensure that correct, consistent information is displayed on the
SOI products.
For example, selecting the Hex (KH) format for one location will
display data in one way. Selecting the Byte (KB) format for the same
location will display the data in another way. It is important to under-
stand each data format and its characteristics.
The following table illustrates all supported S5 data formats for the S5
processor and the ranges applicable to each:
Data Format Definition Range
KM Bits 0000 0000 0000 0000 to 1111 1111 1111 1111
KH Hex Binary 0000 to FFFF, or BCD 0000 to 9999
KF Fixed Point -32768 to 32767
KS ASCII Data 1 ASCII character / byte
KB Unsigned Byte 0 to 255
KC Counter Load Value 000 to 999 BCD
KT Timer Load Value abc.d, abc = count 0-999BCD, d = timebase 0-3
(0= 0.01 sec/count, 1= 0.1 sec/count, 2= 1.0 sec/
count, 3= 10 sec/ count)
Note: See your PLC manual for more detail on the S5 data formats.
The available data formats are described below.










