39
39
english
-> Head 1 is selected. Read 10 bytes starting at address 50 of the data carrier at read/write
Head 2. The data carrier at Head 4 has a block size of 64 bytes.
The host sends
'L 0 0 5 0 0 0 1 0 2 0 J' BCC (4A
HEX
)
Address of first byte to read
Number of bytes to read
Read/write Head No. 2
Block size 0 = 64 bytes
The BIS processor acknowledges with
<ACK> '0'
The host system gives the start command
<STX>
The BIS processor provides the data from the data carrier
'1 2 3 4 5 6 7 8 9 A F' BCC (70
HEX
)
After the telegram sequence, Head 2 remains selected, with 64 byte block size.
-> Head 1 is selected. Write 5 bytes starting at address 500 of the data carrier at read/write
Head 2. The data carrier at Head 2 has a block size of 64 bytes.
The host sends
'P 0 5 0 0 0 0 0 5 2 0 R' BCC (52
HEX
)
Address of first byte to write
Number of bytes to write
Read/write Head No. 2
Block size 0 = 64 Byte
The BIS processor acknowledges with
<ACK> '0'
The host system gives the start command and data
<STX> '1 2 3 4 5 3' BCC (33
HEX
)
The processor acknowledges with
<ACK> '0'
After the telegram sequence, Head 2 remains selected, with 64 byte block size.
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
Telegram example
for page 38:
Write to data carrier
with read/write head
select and block size
with block check (BCC)
Programming
Telegram example
for page 38:
Read from data
carrier with head
select and block size
with block check (BCC)
C-6_0-007-00_836905_E_0704.p65
40
english
40
Programming
Writing a constant value in the data carrier with read/write select and block size
This command can be used to erase a data carrier data. One saves the time for the transmission of the write byte.
Data within angle brackets are control characters.
Values inside apostrophes represent the respective character(s) in ASCII code.
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.
Task
Data Flow
Com-
mand
Start address
of first byte to
be sent
Number of
bytes to be
sent
Head
No.
Block
size
End
2)
Acknow-
ledge
3)
Termi-
nator
4)
Start
trans-
mission
Termi-
nator
4)
Data (from start
address to start
address
+ no. of bytes)
End
2)
Acknow-
ledge
3)
Termi-
nator
4)
Write
from host
system to
BIS
'C'
A3 A2 A1 A0
'0 0 0 0'
to
'8 1 9 1'
L3 L3 L1 L0
'0 0 0 1'
to
'8 1 9 2'
K
'1'
or
'2'
B
'0' or
'1'
BCC
or
see
2)
<STX>
D
BCC
or
see
2)
from BIS
to host
system
<ACK>'0'
or <NAK>
+ Error-
No.
'CR' or
'LF CR'
<ACK>'0'
or <NAK>
+ Error-
No.
'CR' or
'LF CR'
1)
1)