Command Examples - Pepperl+Fuchs IC-KP-B7-V95 Manual

Identcontrol interface with devicenet interface
Table of Contents

Advertisement

IC-KP-B7-V95
Commands
7.2.1

Command examples

Example: Define tag type
Command: Change tag type on channel 1 to IPC03
04:02:30:33 (hexadecimal format)
04
02
30:33
Confirmation
04:02:FF:01
04
02
FF
01
Response: Type IPH-... read/write head on channel 1
04:02:00:02
04
02
00
02
Alternative response: No read/write head on channel 1
04:02:06:02
04
02
06
02
Example: Read tag
Prerequisites:
Command: Read two double words starting from address 0 on channel 1
10:22:00:00
10
22
00:00
Command code CT (change tag)
Reserved/Channel (1), toggle bit 0b
tag type (IPC03)
Repeat command code CT (change tag)
Reserved/Channel (1), toggle bit 0b
Status FFh (processing command)
Reply counter
Repeat command code CT (change tag)
Reserved/Channel (1), toggle bit 0b
Status 0 (command executed without error)
Reply counter
Repeat command code CT (change tag)
Reserved/Channel (1), toggle bit 0b
Status 6 (hardware error)
Reply counter
The tag type IPC03 is set.
One type IPH-... read/write head is connected to channel 1.
Command code SR (single read words)
Number of double words (2) / channel (1), toggle bit
Address of double words (0000)
29

Advertisement

Table of Contents
loading

Table of Contents