BIS V-6108 PROFINET
Processor Unit
80
english
7
Device Functions
7. Initializing a data carrier for CRC
The sequence for CRC initialization is similar to a write command. The start address and the
number of bytes must correspond to the maximum amount of data used.
In the example the complete memory area of a data carrier (752 bytes) is used. 658 bytes on the
data carrier are available as data bytes, since 94 bytes are required for the CRC.
Control
Identification System
1.
Process output buffer
(note sequence):
2.
Process Input Buffer
(note sequence):
01
hex
Command designator 12
hex
00
hex
/0F
hex
Set AA bit, invert TO bit
02
hex
Start address 00
hex
03
hex
Start address 00
hex
04
hex
No. of bytes 92
hex
05
hex
No. of bytes 02
hex
00
hex
/0F
hex
Set AV Bit
3.
Process output buffer:
4.
Process output buffer:
01…0E
hex
Enter first 14 bytes
01…0E
hex
Copy first 14 bytes
00
hex
/0F
hex
Invert TI bit
Process input buffer:
00
hex
/0F
hex
Invert TO bit
5.
Process output buffer:
6.
Process output buffer:
01…0E
hex
Enter second 14 bytes
01…0E
hex
Copy second 14 bytes
00
hex
/0F
hex
Invert TI bit
Process input buffer:
00
hex
/0F
hex
Invert TO bit
95.
Process output buffer:
96.
Process output buffer:
01…08
hex
Enter last bytes
01…08
hex
Copy last bytes
00
hex
/0F
hex
Invert TI bit
Process input buffer:
00
hex
/0F
hex
Set AE bit
97.
Process output buffer:
98.
Process input buffer:
00
hex
/0F
hex
Reset AV bit
00
hex
/0F
hex
Reset AA and AE bits
Examples