User`s manual
303
CHAPTER 12 TRANSPARENT CODES AND ADDITIONAL CODES
12
12.3 Handling Transparent Codes and Additional Codes during Non Procedure Protocol Data
Communication
(b) Communication using user frames
• Receiving
• Reception check of user frames (first frame, last frame) is performed.
• If a receive transparent code is designated, the additional code designation data is deleted (removed) from
the arbitrary data section.
• If a sum check code is designated in a user frame (last frame), the sum check code is calculated.
• The arbitrary data section is stored in the reception area of the buffer memory. If the ASCII-BIN conversion
is designated, the data section is stored in the buffer memory after it is converted to binary code data.
• During reception of an arbitrary data section, if the reception complete code or the entire count of received
data has been stored, or when a user frame (last frame) has been received, a receive data read is
requested of the programmable controller CPU.
• Sending
• The transmission data designated by a user frame or the programmable controller CPU (arbitrary data
section of the transmission message) is sent in the order designated by the user.
• If the ASCII-BIN conversion is designated, the applicable range of data is sent after data is converted to
ASCII code data. Also, if a send transparent code is designated, the applicable range of data is sent after
adding additional code data before the transparent code/additional code data.
Explained above is how the Q series C24 processes communication data when enabling and disabling the communication
via the user-frame function, ASCII-BIN conversion function, and/or transparent code-designation communication function.
When communicating data to an external device, use this information as a reference in the selection of a communication
method.
External
device
Q series C24
Data
transmission
Data
reception
(Transparent code designation)
Adding
additional
code
No
Delete
additional
code
Calculate and check
sum check code
using user frames
Calculating sum
check code using
user frames
ASCII-BIN
conversion of
transmission
data
ASCII-BIN
conversion of
arbitrary data
section
(Sum check code designation) (ASCII-BIN conversion designation)
Buffer memory
Data designated
in the transmission
frame No.
designation area
Data stored in the
reception area
(Arbitrary data section only)
Check and
delete user
frames
Check reception
complete code
and received
data count
For Output count designation
Yes
No No
Yes Yes
No
Yes Yes Yes
No No