OBID
®
System-Manual
ID RW40.30-USB
FEIG ELECTRONIC GmbH
Page 13 of 57
H80701-2e-ID-B.doc
2.4.3. Protocol Elements
LENGTH (n = 6...255):
Number of protocol bytes including LENGTH and CRC16.
COM-ADR:
0..253 address of device in bus mode
NOTICE:
The Reader can be addressed via COM-ADR 255 at any time!
COMMAND-BYTE:
Defines the Command which the Reader should operate.
STATUS
1
:
Includes the status message or protocol data from or to the Reader.
DATA:
Is a optional data field with variable length. The number of DATA byte depends on the
command. The data will be sent always as MSB first if the Reader is in the ISO-Host
Command Mode.
CSUM:
XOR operation on the protocol bytes from 1 to n-1
CRC16:
Cyclic redundancy check of the protocol bytes from 1 to n-2, as specified by CCITT-CRC16
Polynom
x
16
+ x
12
+ x
5
+ 1
Start Value
0xFFFF
STX:
The STX sign (0x02) at the start of protocol indicates an Advanced Protocol-Frame.
ALENGTH (n = 8...65535):
Number of protocol bytes including STX, ALENGTH and CRC16
Data format:
Start bits:
1
Data bits:
8
Stop bits:
1
Parity:
even (default)
none
1
see
Fehler! Verweisquelle konnte nicht gefunden werden.