Commissioning and configuration
44
RFM - HF RFID Series
Leuze electronic
•
Command ’W’
Write block.
(0x57)
Command syntax
<STX>WB#TagtypeNOBSNRData<CR><LF>
where
B#
= Block number from which writing begins, e.g., ’05’.
Tagtype
is the transponder type, see table 7.1.
NOB
= Number of blocks to write (1 … 9)
SNR
= Serial number of the transponder to be written. Is necessary if
multiple transponders are in the field.
Data
= Data to be written (hexadecimal) for 1 block
Answer:
<STX>yy<CR><LF>
where
yy =
Q4
: Command understood (if precharge activated!)
yy =
Q5
: Write operation successful (after trigger)
yy =
Q0
: Write operation failed (see chapter 7.5)
Notice!
When writing, one or more complete blocks must always be transmitted, i.e., 8 characters
(hex) for 4 bytes/block or 16 characters (hex) for 8 bytes/block.
•
Command ’F’
Antenna (electromagnetic field) ON/OFF.
(0x46)
Command syntax
<STX>Fx<CR><LF>
where
x
= 0x01: Field ON
x
= 0x02: Field OFF
x
= 0x03: RESET field
Answer:
<STX>Q2<CR><LF>
(see chapter 7.5)
Notice!
The device field is generally off; only following activation is it switched on.
The magnetic field is automatically activated following a new trigger.
•
Command ’A’
Set output.
(0x41)
This command permanently sets the output; it is not acknowledged!
Command syntax
<STX>A0xx<CR><LF>
where
xx
= 0xFF: Output activated
xx
= 0x00: Output not activated
Answer:
none
Attention!
This command can only be executed if the switching output is not automatically activated
via the configuration!