11.1
Control Contents of DTR/DSR (ER/DR) Signal
Control
This control uses the RS-232 interface DTR/DSR signals to inform the target device whether or not the host station is ready to
receive data.
C24 uses the ER (DTR) signal to inform the target device whether or not the host station is ready to receive data, and uses
the DR (DSR) signal to check if the target device is ready to receive data.
Ex.
(Terminate)
Target device
Data 1-1
CPU module
ER(DTR) signal
DR(DSR) signal
C24 DTR control contents and free OS area specification
C24 DTR control contents
C24 uses the ER (DTR) signal to inform the target device whether or not it is ready to receive data.
The data transmitted from the target device using the nonprocedural protocol is stored in the receive data storage area in the
buffer memory through the OS area. (Page 53 Receiving Data from Target Device)
Under the following conditions, the received data is temporarily stored to the OS area and is transferred to the receive data
storage area when the current received data read processing is completed.
• Received data exceeding the size of the receive data storage area on the buffer memory when data, which is "receive data
storage area < receive data length", was received.
• Data received before the program reads the previously received data.
C24 turns the ER (DTR) signal ON/OFF as listed below, depending on the size of the free OS area.
• Free area is 64 bytes (default) or less: OFF
• Free area is 263 bytes (default) or more: ON
OFF
ER(DTR) signal
ON: Ready to receive
OFF: Not ready to receive
Preparation for reception
is completed
(Restart)...Continue
Data 1-2
Data 2-1
ON
OFF
C24(OS area)
(Data storage)
8448
bytes
64 bytes
Free area
or less
(Default)
11 DATA COMMUNICATIONS USING DC CODE TRANSMISSION CONTROL
Data 2-2
(Terminate)
(Restart)...Continue
ON
C24(OS area)
(Data storage)
8448
bytes
263 bytes
Free area
or more
(default)
After completion of
reading from program
11.1 Control Contents of DTR/DSR (ER/DR) Signal Control
11
237