Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BIS C-6 0 RS 232 Serie Handbuch Seite 65

Elektronische identifikations-systeme
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

C-6_0-007-00_836905_E_0704.p65
51
Status messages
and their meaning:
Telegram examples for
page 50:
Query status
message
with (BCC) blockcheck
52
Initialize CRC_16 data check
This telegram initializes a data carrier located at the active read/write head for use of CRC_16 data checking. This
telegram must also be send again if a CRC error results from a failed write operation, i.e., the data carrier must be
reinitialized in order to use it again.
Please note the table on page 16! The indicated number of usable bytes may not be exceeded, i.e., the sum of start
address plus number of bytes must not exceed the data carrier memory capacity!
Task
Data Flow Com-
from host
'Z'
Initialize
system to
CRC_16
BIS
range
from BIS
to host
system
1) The Status and/or Quit commands are not permitted at this point.
2) Instead of BCC block check, depending on the protocol variant either Carriage Return 'CR' or Line Feed with Carriage Return 'LF CR'
may be used.
3) <ACK> '0" is sent as an acknowledgement if there was no error, or <NAK> + 'Errorno.' if there was an error.
4) For protocol variants which always need a terminator, either 'CR' or 'LF CR' must be inserted here.
The characters between the apostrophes represent the respective ASCII character(s). '_' = Space = ASCII 20
52
english
Programming Information
'S L'
=
Read data carrier with head select and block size
'S P'
=
Write to data carrier with head select and block size
'S R'
=
Read from data carrier
'S W'
=
Write to data carrier
'S H'
=
Select head and block size
'S _'
=
No telegram in process
-> To check the BIS status just after a read telegram has been sent.
Host sends
BIS acknowledges with
-> To check the BIS status just after a write telegram has been sent.
Host sends
BIS processor acknowledges with
-> To check the BIS status just after a Select read/write head telegram has been sent.
Host sends
BIS processor acknowledges with
-> To check the BIS status when no telegram has just been sent.
Host sends
BIS processor acknowledges with
Programming Information
Start address
Number of
Head
Block
mand
of first byte to
bytes to be
No.
size
be sent
sent
A3 A2 A1 A0
L3 L3 L1 L0
K
B
'0 0 0 0'
'0 0 0 1'
'1', '2',
'0' or
to
to
'3', or
'1'
'8 1 9 1'
'8 1 9 2'
'4'
1)
'S
S'
'S L
US'
'S
S'
'S P
ETX'
'S
S'
'S H ESC'
'S
S'
'S
_'
End
Acknow-
Termi-
Start
Data (from start
2)
ledge
nator
trans-
address to start
3)
4)
mission
address
+ no. of bytes)
BCC
<STX>
D1 D2 D3 .... Dn BCC
or
see
2)
<ACK>'0'
'CR' or
or <NAK>
'LF CR'
+ Error-
No.
BCC (53
)
HEX
BCC (1F
)
HEX
BCC (53
)
HEX
BCC (03
)
HEX
BCC (53
)
HEX
BCC (1B
)
HEX
BCC (53
)
HEX
BCC (20
)
HEX
51
english
End
Acknow-
Termi-
2)
ledge
nator
3)
4)
or
see
2)
<ACK>'0'
'CR' or
or <NAK>
'LF CR'
+ Error-
No.
1)
.
HEX

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis c-600 rs 232Bis c-620 rs 232

Inhaltsverzeichnis