
19
9165
201
3-
06
28
OIT***-F113-B12-CB*
Communicating with the OIT system
The data telegram from PLC to OIT is divided into the following 3 blocks:
The length of the data block is variable. For error-free communication between the
OIT system and PLC, a
concrete size
must be defined for the length of the data
block (default: 228 bytes).
Data telegram OIT -> PLC
Block
Description
Data
(0 ... 550 bytes)
The data in this block is transmitted to OITControl for display. (Default: 224 bytes)
ID number
(2 bytes)
This block can transmit an ID number that uniquely identifies the respective data
telegrams.
Control byte
SAL
(1 byte)
the control byte SAL is not currently being used and can be filled in with zeros.
Control byte
SAH
(1 byte)
The following control bits are transmitted from the PLC to the OIT system in the
control byte SAH:
■
0 = Default state to OIT (prompts a reset of the OIT system)
■
1 = Read to OIT (prompts a read operation)
■
2 = Current data to OIT (Info to OIT system that matches a data set in the data sent
to the OIT system. Afterwards the read cycle ends.)
■
3 = No data to OIT (info to OIT system that does not match a data set in the data
sent to the OIT system. Afterwards the read cycle ends.)
■
4 = Not assigned
■
5 = Not assigned
■
6 = Not assigned
■
7 = Not assigned
Byte
0
1
2
3
4 ... 17
18 ... 23
24 ... 27
hex
0xmm
0xmm
Control
byte
Control
byte
Fault
ID number (mirrored by
PLC). If still no telegram
from PLC, then: 0x0000
STL
STH
Manual
entry:
■
6 bytes
ID
■
8 bytes
UID
If not
manually
entered,
for every
byte:"-"
Read ID
number of
the code
carrier
(6 bytes).
If ID/UID
entered
manually,
for every
byte: "x"
Fault
messages
see
chapter
2 bytes
1 byte
1 byte
14 bytes
6 bytes
4 bytes
28 bytes