EasyManua.ls Logo

Pepperl+Fuchs IC-KP-B17-AIDA1 - Command Examples TCP; IP

Pepperl+Fuchs IC-KP-B17-AIDA1
128 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
IC-KP-B17-AIDA1
Commands
2014-02
27
Response:
7.2.2 Command examples TCP / IP
Example 1: Preset tag type using the change tag command
Command: Change tag type on channel 1 to IPC03.
Confirmation
Response: There is a type IPH-... read/write head on channel 1.
Byte 0 Telegram length, high byte [(N+1) div 256]
Byte 1 Telegram length, low byte [(N+1) mod 256]
Byte 2 Command code (echo)
Byte 3 Channel / Toggle bit = 0
Byte 4 Status
Byte 5 Reply counter
Byte 6 Read data
... ...
Byte N Read data
Note!
The toggle bit is not required for TCP/IP.
00:06:04:02:30:33 (hexadecimal format)
00:06 Telegram length (6 bytes)
04 Command code (CT)
02 Reserved / Channel (l), toggle bit (0)
30:33 Tag t yp e ( I PC 0 3 )
00:06:04:02:FF:01
00:06 Telegram length (5 bytes)
04 Repeat command code (CT)
02 Reserved / Channel (l), toggle bit (0)
FF Status FFh (processing command)
01 Reply counter
00:06:04:02:00:02
00:06 Telegram length (6 bytes)
04 Repeat command code (CT)
02 Reserved / Channel (l), toggle bit (0)
00 Status 0 (command was executed without error)
02 Reply counter

Table of Contents

Related product manuals