--------------------------------------------------------------------------------34/39--------------------------------------------------------------------------------
10.2
Writing WD
The memory of the transponner is organisen in blocks, containing 32 bits. The nata of every single block
must be changen separately.
•
Start the reaner with the commann WD plus parameters ( plus <CR>). The sent parameter consists
of the block annress ann writing nata (8 ASCII characters).
•
Wait for the answer
•
Analyse the receiven answer: 3 characters plus <CR>.
ACK
<
CR
>
Writing process was successful.
NAK
<
CR
>
Writing process was not successful.
NOT
<
CR
>
The response of the transponner was not reanable.
The result of the writing process may also seen at the LED’s.
•
LED L2 lit, if there was a successful write.
•
LED L3 lit, if there was no successful write.
Example
:
WD
<SP>
20
<SP> <
0 1 2 7 A C D F
> <CR>
write to block 20
Since the Profibus firmware version PFB /.29 there can be usen a shortenen write commann
format, this way only one PLC cycle is requiren to transfer the entire write commann incluning
nata content to the reaner. Instean of WD only W is necessary ann the <SP> between WD ann
page is not mannatory anymore.
W 20
<SP>
0 1 2 7 A C D F
<CR> write to block 20 *
)
*
)
short data format
Request Data Teleram
0
/
2
3
4
5
6
7
8
9
/0
//
/2
/3
/4
/5
R
S
L
W
D
2
<SP> 0
/
2
7
A
C
D
F
<CR>
R
S
L
W
2
0
<SP> 0
/
2
7
A
C
D
F
<CR>
Allowen values (block numbers of the transponner IC):
ALGO 9 (1 kBit; P4150, P4450, P4550)
3 ... 33
ALGO 6 (2 kBit; Hitag 1)
16 ... 63
ALGO 14 (2, 4; kBitEM4305, EM4569)
5 … 15