Data Communications Precautions - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

7
DATA COMMUNICATION USING THE BIDIRECTIONAL PROTOCOL

7.4 Data Communications Precautions

7 - 27
The following are the precautions when performing data communications using the
bidirectional protocol.
(1) When the transmission sequence is in the initial status, it indicates that data
transmission and reception processing has not been started.
The Q series C24 transmission sequence is initialized in the following cases.
• The power is turned on, the CPU is reset.
• When operating, or the mode is switched.
• When a response message (ACK, NAK, etc.) was received in reply to data
transmission.
• When a response message (ACK, NAK, etc.) was transmitted in reply to data
reception.
• When the CD(DCD) signal was turned off during data communications using
Check CD terminal in full-duplex communications through the RS-232 interface.
(2) As a data transmission procedure, data transmission from the external device or
the Q series C24 should be performed after a response for the immediately
preceding data transmission has been received.
(3) The external device and programmable controller CPU must agree so that the units
of the data length (word count/byte count) in the message to be transmitted and
received is the same.
The programmable controller CPU units can be set using the GX Configurator-SC
word/byte units designation.
Make the length of the data area in the message to be transmitted and received
the size of the Q series C24 buffer memory transmission data designation area
and receive data storage area, or less.
(4) NAK code response
1) Response from the Q series C24 to external device
After the error detection message reception complete, it transmits the NAK
code to the external device.
2) Response from external device to the Q series C24
Transmit the error code (0022
to 005F
) immediately after the NAK response.
H
H
MELSEC-Q
7 - 27

Advertisement

Table of Contents
loading

Table of Contents