Command Examples Tcp/Ip - Pepperl+Fuchs IC-KP2-2HB17-2V1D Manual

Identcontrol compact unit with ethernet interface
Hide thumbs Also See for IC-KP2-2HB17-2V1D:
Table of Contents

Advertisement

IC-KP2-2HB17-2V1D
Commands
Confirmation
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Response
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
...
Byte N
Note!
The toggle bit is not required for communication via TCP/IP.
7.6.2

Command examples TCP/IP

1st example: Preset data carrier type using the change tag command
(see "Change tag (CT)" on page 58)
Command: Change data carrier type on channel 1 to IPC03.
00:06:04:02:30:33 (hexadecimal format)
00:06
04
02
30:33
Confirmation
00:06:04:02:FF:01
00:06
04
02
FF
01
Telegram length, high byte 0
Telegram length, low byte 6
Command code (Echo)
Channel / Toggle bit (echo) = 0
Status FFh
Reply counter
Telegram length, high byte [(N+1) div 256]
Telegram length, low byte [(N+1) mod 256]
Command code (Echo)
Channel / Toggle bit = 0
Status
Reply counter
Read data
...
Read data
Telegram length (6 bytes)
Command code (CT)
Reserved/Channel (l), toggle bit (0)
Data carrier type (IPC03)
Telegram length (5 bytes)
Repeat command code (CT)
Reserved/Channel (l), toggle bit (0)
Status FFh (processing command)
Reply counter
29

Advertisement

Table of Contents
loading

Table of Contents