Variable format type 70: Serial transmission/reception
You can freely select the data format with parameter settings.
Data that can be sent and received is ASCII codes. There is no flow control.
Data format: Bit length: 7, 8 bits/parity bit: no, odd, even/stop bit: 1, 2 bits
However, transmission and reception cannot be performed at the same time. Priority is given to unscheduled transmit
commands. (Half-duplex)
Storing received data: ASCII data
(4)
Details of Transmitting/Receiving Mode
A)Serial reception: Type A and Type B
This is the transmission/reception mode used by a specific bar code reader.
Simple means of communication are provided.
Data format: Data length: 7 bits/parity bits: even/stop bits: 1 bit
Data length 7 bits + no parity bit: unsupported
Response at normal reception: ACK is sent even if the reception status of the first register is not cleared to 0.
Response at the time of abnormal reception: NAK is sent even if the reception status of the first register is not cleared to 0.
Differences between types A and B are the range of BCC calculations
Type A: BCC: Exclusive OR from STX to ETX
Type B: BCC: Exclusive logical sum of ASCII data portion to ETX
Setup Content List (for Port2):
Set the data format to R7651.
Set type A or type B as the receiving mode for R7652.
Sets the top register number for storing data received in R7654.
Set the transmission speed and response delay time to R7656.
Set completion code "A55A(h)" to R7650.
If A55Ah is set to R7650, R7650 is 555h when no procedure is set.
Set the nonprocedural protocol: 10h to R7655.
Set the value of 00500h to R7657.
When the setting is OK, the R7657 value changes to 0A00h.
For setting NG, the R7657 value changes to 0E00h.
The received data is stored in the register specified in the following contents.
Write "00" and clear the reception status after the reception process in the user program.
If a value other than "00" is present, the received data is judged to be outstanding, and the data is not received even if the next
data is sent.
Received data is stored in the order in which it is received, at the lower order and the higher order of the younger number of
the register.
Received data
Transmitting
data
STX
ASCII data: 127 bytes or less
BCC
ETX
ACK or NAK
ASCII data: 128 bytes or less
Received data
Transmitting
data
ASCII data: 128 bytes or less
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: ......