Pepperl+Fuchs IC-KP-R2-V1 Manual page 23

Identcontrol interface with serial interface
Table of Contents

Advertisement

IC-KP-R2-V1
Commands
2. Example: Writing two double words from address 7 with R/W head on
channel 1
To write two double words to channel 1 from address 7 with a R/W head, proceed as follows.
1. Position an IPC03 data carrier in front of the R/W head on channel 1.
2. Send the command Single write words.
SW 1 0007 02 ABCDEFGH # <CR>
SW
1
0007
02
ABCDEFGH
#
<CR>
If the data carrier is within the detection range, you will receive the message 01#<CR>.
In any other scenario, 51#<CR> is issued to indicate that writing was not possible because the
data carrier was outside the detection range (status = '5').
LED 1 on the IDENTControl and the LEDs on the R/W head briefly light up green when the
reading command is activated and then yellow if the command is executed successfully.
3. Example: Reading two double words from address 7 with R/W head on
channel 1
To read two double words to channel 1 from address 7 with a R/W head, proceed as follows.
Send the read command Enhanced buffered read words.
ER 1 0007 02 # <CR>
ER
1
0007
02
#
<CR>
If you then move a data carrier into the detection range, the data previously imported is
displayed with the message:
0 1 ABCDEFGH # <CR>
0
1
ABCDEFGH
#
<CR>
Command Single write words
Channel 1
Address (in hexadecimal format)
Number of double words (4-byte words)
Data
End character
End character
Command Enhanced buffered read words
Channel 1
Address (in hexadecimal format)
Number of double words
End character
End character
Status
Channel 1
Data
End character
End character
23

Advertisement

Table of Contents
loading

Table of Contents