4-32
Type B (Setup code 62): Serial reception
This is the transmission/reception mode used by a specific bar code reader.
Simple means of communication are provided.
Data format: data length: 7, 8 bits/parity bit: no, odd, even/stop bit: 1, 2 bits
EXCLUSIVE OR FROM BCC :ASCII DATA PART 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)
Variable format 1 (setting code 6B): Serial transmission/reception
Terminate code indicating the data format and reception completion can be freely selected in parameter settings.
Data that can be sent and received is ASCII codes. It cannot be received without a terminal code.
Data format: data length: 7, 8 bits/parity bit: no, odd, even/stop bit: 1, 2 bits
Termination code: 1, 2 bytes (optional)
Termination code of received data can be specified.
BCC presence/absence of received data and BCC check ,conducted/not conducted, can be set.
Adding/Not adding BCC to the end of the transmitted data, can be set.
However, transmission and reception cannot be performed at the same time. Priority is given to unscheduled transmit
commands. (Half-duplex)
Storage of received data: ASCII data, terminal code 2, terminal code 1, BCC (stored when BCC is enabled)
STS
Meaning
80h
Receiving OK
C0h
Receiving error
E0h
BCC error
F0h
Number of received bytes
exceeded
ASCII data: 128 bytes or less
Terminate code 2
Terminate code 1
Received data
Transmitting
data
ASCII data: 128 bytes or less
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: ......