User`s manual

30
(4) Controlling data communication in accordance with the external device (
Page 203, CHAPTER 7)
(a) The Q series C24 controls data communication with the external device by turning
ON/OFF the DTR/DSR signal and sending/receiving the DC code.
(b) DTR/DSR signal control
Using the ER (DTR) and DR (DSR) signals, the external device is notified of whether or not data
communication can be performed.
(c) DC code control
By sending/receiving the DC1 and DC3 code data, the external device is notified of whether or not data can be
received. By enclosing the user data with the DC2 and DC4 code data, the external device is notified of the
valid transmission data range.
(5) Converting binary code data to ASCII code data to communicate with the
external device specification ( Page 319, CHAPTER 13)
(a) Binary code data that is processed by the programmable controller CPU can be
converted to ASCII code data for communication.
(b) ASCII-BIN conversion is performed by the Q series C24 according to user settings.
D
C
3
D
C
1
D
C
3
D
C
1
External
device side
Programmable
controller CPU
side
ER(DTR) signal
DR(DSR) signal
Data 1-1
Data 1-2
Data 2-1 Data 2-2
(Interruption)
(Restart)...From the succeeding data
(Interruption)
(Restart)...
External
device side
Data 1-1
Data 1-2
Data 2-1
Data 2-2
(Interruption)
(Interruption)
Programmable
controller CPU
side
From the
succeeding
data
(Restart)... From the succeeding data
(Restart)...From the succeeding data
1234H
(12H) (34H)
LH
33H
34H 31H 32H
(3) (4) (1) (2)
LH
34H
12H
LH
Converts
Buffer memory
Head data
Does not convert
External
device
Q series C24