43
43
english
Telegram example
from page 42:
Write to Data carrier
with block check (BCC)
Programming
Read from Data carrier:
-> Read 10 bytes starting at address 50.
The host sends
'R 0 0 5 0 0 0 1 0 V' BCC (56
HEX
)
Address of first byte to read
Number of bytes to read
The BIS processor acknowledges with
<ACK> '0'
The host gives the start command
<STX>
The BIS processor provides the data
from the data carrier
'1 2 3 4 5 6 7 8 9 0 SOH' BCC (01
HEX
)
Write to Data carrier:
-> Write 5 bytes starting at address 500.
The host system sends
'W 0 5 0 0 0 0 0 5 W'
BCC (57
HEX
)
The BIS processor acknowledges with
<ACK> '0'
The host sends the data
<STX> '1 2 3 4 5 3'
BCC (33
HEX
)
The BIS processor acknowledges with
<ACK> '0'
Telegram example
from page 42:
Read from Data
carrier
with block check (BCC)
The 'R' and 'W' commands represent a subtype of the 'L' and 'P' commands.
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
C-6_0-007-00_836905_E_0704.p65
44
english
44
Selecting a
Read/Write Head
Programming
The 'H1' command selects Read/Write Head 1, 'H2' Read/Write Head 2, and 'HT' (Head Twin)
both Read/Write Heads.
If both heads are selected, please note:
1. Only one data carrier is allowed to be in the active zone of a read/write head at a time.
2. The read or write time increases by ca. 40 ms - regardless of the data amount to be read or
written. (This does not apply to the data carrier recognition).
3. The positive acknowledgement for a read or write action is no longer <ACK> '0' but rather
<ACK> '1' or <ACK> '2', depending on at which read/write head there is a data carrier to
be read from or written to.
1) The commands Status and/or Quit are not permitted at this point.
2) Instead of block check BCC, depending on protocol variant either Carriage Return 'CR' or LIne Feed with
Carriage Return may be used.
3) <ACK>'0' is returned as acknowledgement if there is no error, or <NAK> + 'Error No.' if an error occurs.
4) For protocol variants which always require a terminator, either 'CR' or 'LF CR' must be inserted here as a
terminator.
Telegram example:
Selecting a Read/
Write Head
with block check (BCC)
-> Switch to Head 1.
The host sends
'H 1
y' BCC (79
HEX
)
The BIS processor acknowledges with
<ACK> '0'
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
Task
Data Flow
Com-
mand
Head number
End
2)
Acknowledge
3)
Terminator
4)
Select
Read/Write
Head
from host system
to BIS
'H'
'1', '2' or 'T'
BCC or
see 2)
from BIS to host
system
<ACK>'0' resp.
<NAK> + Error-No.
'CR' or
'LF CR'
1)