Tcp/Ip Communication With Easy Mode - Pepperl+Fuchs OIT500-F113-B12-CB3 Manual

High-temperature identification system
Table of Contents

Advertisement

OIT500-F113-B12-CB3
Communicating with the OIT System
6.2

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: 50100. 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 6.2
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.
Easy Mode byte format:
The outputs specified with 4 bytes are saved in the "little-endian" format and will also be output
as such. For example, the number 0x04030201 is stored in the memory as 0x01 0x02 0x03
0x04 and is also output via Easy Mode as such.
64
Easy Mode flow chart
Send data

Advertisement

Table of Contents
loading

Table of Contents