
19
9165
201
3-
06
32
OIT***-F113-B12-CB*
Communicating with the OIT system
7.3
TCP/IP Communication with Easy Mode:
The TCP/IP protocol enables communication between the PLC and OIT system.
For communication in Easy Mode, the host system connects to the OIT system via
port address: 10100
. The OIT system initially waits for a trigger signal when
starting communication in Easy Mode. There are two different trigger signals:
Once one of the two trigger signals has been triggered, the OIT system captures
an image. After the image has been successfully captured, the OIT system
decodes the data stored on the read-only tag and sends this data to the PLC. If
the read-only tag was not successfully read, the OIT system sends a "read error"
to the PLC. The OIT system then waits for another trigger signal.
Figure 7.1
Easy Mode flow chart
Telegram structure:
The data telegram has a fixed length. The code read on the read-only tag is sent
to the PLC in ASCII characters. If the code read on the read-only tag has less than
six characters, leading zeros are added to the code. For example, the number 123
is sent as 000123.
Successful Read of the Read-only Tag
Unsuccessful Read of the Read-only Tag
Trigger signal from an external trigger sensor (positive edge)
or
Trigger signal via the PLC telegram.
Trigger
Send data
Byte 0
Bytes 1
–
6
Bytes 7
–
10
Byte 11
Byte 12
Byte 13
Start character
Code number
Status
Checksum
End character
1
End character
2
#(23 hex)
000001 to
999999
See status
table
Value x
CR (0D hex)
LF (0A hex)
Byte 0
Bytes 1
–
6
Bytes 7
–
10
Byte 11
Byte 12
Byte 13
Start character
Code number
Status
Checksum
End character
1
End character
2
#(23 hex)
NOREAD
(ASCII)
See status
table
Value x
CR (0D hex)
LF (0A hex)