Tcp/Ip Communication With Easy Mode - Pepperl+Fuchs OIT F113-B12-CB Series Manual

Identification system for high temperatures up to 500c
Table of Contents

Advertisement

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:
Trigger signal from an external trigger sensor (positive edge)
or
Trigger signal via the PLC telegram.
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.
Trigger
Figure 7.1
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
Byte 0
Bytes 1–6
Start character
Code number
#(23 hex)
000001 to
999999
Unsuccessful Read of the Read-only Tag
Byte 0
Bytes 1–6
Start character
Code number
#(23 hex)
NOREAD
(ASCII)
32
Send data
Easy Mode flow chart
Bytes 7–10
Byte 11
Status
Checksum
See status
Value x
table
Bytes 7–10
Byte 11
Status
Checksum
See status
Value x
table
Byte 12
Byte 13
End character
End character
1
2
CR (0D hex)
LF (0A hex)
Byte 12
Byte 13
End character
End character
1
2
CR (0D hex)
LF (0A hex)

Advertisement

Table of Contents
loading

Table of Contents