(3)
Transmit and receive modes
Type A (Setup code 61): Serial reception
This is the transmission/reception mode used by a specific bar code reader.
Simple means of communication are provided.
Data format: Bit length: 7, 8 bits/parity bit: no, odd, even/stop bit: 1, 2 bits
BCC: Exclusive OR from STX to ETX
Response to normal reception: Send ACK
Response to Error Reception: Send NAK
Response when BCC mismatch: Send NAK
Received data: ASCII data, ETX, BCC (STX not stored)
Order of Reception: STX, Data1, Data2, Dada3, Data4,...., ETX, BCC
Received data storage register
High order
byte
Low-order
byte
Rn + 0
Data1
STS
Rn + 1
Data3
Data2
:
:
:
:
:
:
Rn + n
BCC
ETX(03)
STS
Meaning
80h
Receiving OK
C0h
Receiving error
E0h
BCC error
F0h
Number of received bytes
exceeded
Received data
Transmitting
data
STX
ASCII data: 127 bytes or less
BCC
ETX
ACK or NAK
Summary of Contents for Kostac SJ-Ether Series
Page 1: ...English version of the KOSTAC SJ Ether series user s manual SJ ETHER USER M...
Page 12: ......
Page 13: ...1...
Page 14: ......
Page 88: ......
Page 89: ......
Page 113: ...3 24 Note Refer to 6 3 3 Module Assembly for connections and locks between modules...
Page 153: ......
Page 156: ...flashing OFF Not sent H W RX Green flashing Receiving H W OFF Not received H W...
Page 161: ...4 8...
Page 221: ......
Page 310: ...Chapter 7 Maintenance...
Page 311: ......