Chapter 16 Transparent Codes And Additional Codes; Handling Transparent Code And Additional Code Data - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

16
TRANSPARENT CODES AND ADDITIONAL
CODES
Transparent codes and additional codes are used during data communication with a target device to send/receive one-byte
data for transmission control on the target device side as arbitrary data.
Transparent codes and additional codes are handled in data communication using the nonprocedural or bidirectional protocol.
Type
Transparent code
Additional code
16.1
Handling Transparent Code and Additional Code
Data
The following explains how C24 handles transparent codes and additional codes during data communication using the
nonprocedural or bidirectional protocol.
For the range of additional code data that is added or deleted, refer to the following sections.
Page 328 Handling Transparent and Additional Codes for Nonprocedural Protocol Data Communication
Page 339 Handling Transparent and Additional Codes for Bidirectional Protocol Data Communication
At the time of data transmission
Additional code data is added immediately before the transparent code and additional code data set for transmission.
Ex.
Buffer memory
At the time of data reception
When additional code data set for reception is detected, the additional code data is removed and the immediately succeeding
1-byte data is processed for reception.
Ex.
Buffer memory
16 TRANSPARENT CODES AND ADDITIONAL CODES
326

16.1 Handling Transparent Code and Additional Code Data

Description
One-byte data for transmission control
During transmission, one-byte data added immediately before the transparent code and additional code data
During reception, one-byte data to be deleted (The immediately following one-byte data is processed for reception.)
Transparent
Transparent
code
code
Arbitrary
Additional
code
code
Additional
Send
code
Arbitrary
Receive
code

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents