Data Transmission; Send 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

15.4

Data Transmission

This section explains the arrangement of the data to be transmitted and transmission procedure when transmitting data using
a user frame.

Send data

The order of data, codes, and handling of send data by C24 for data transmission using a user frame are shown below.
Send data arrangement
The combination shown below are only allowed as the order of data to be transmitted using a user frame.
User frame
(first n frames)
Data name
User frame
(first n frames)
Combination
(1)
(2)
(3)
(4)
*1 0H to FH data for four bits are converted to 30H to 39H and 41H to 46H ASCII code data and transmitted as the data codes of the data
to be transmitted (including the transparent code data).
*2 Arbitrary data portion of send data
 When the send data quantity designated by the CPU module during transmission in byte units is an odd number of bytes, the data of
the lower byte of the last transmitted data storage location in the send data storage area is transmitted.
 When ASCII-BIN conversion is enabled, the data to be transmitted is transmitted as 2 characters per byte.
Handling of send data by C24
• The data of the user frame and the data in the send area designated from the CPU module is transmitted in
accordance with the contents and order designated to the send user frame designation area in the buffer
memory.
• For the user frame portion and arbitrary data portion, the data can be transmitted as ASCII code data using
the ASCII-BIN conversion. (Page 347 COMMUNICATING WITH ASCII CODE (ASCII-BIN
CONVERSION))
• If a transparent code for sending is specified, the additional code data is added in front of the transparent
code/additional code in the data of the designated area and transmitted.
Arbitrary data
(Send data designation area data)
User frame
Arbitrary data
(last m frames)
: Specified data exists.
*2
(When ASCII-BIN conversion disabled)
Codes that can be designated Codes when transmitting
(When ASCII-BIN conversion enabled)
Codes that can be designated Codes when transmitting
0H to 9H,
AH to FH
*1
0H to 9H,
AH to FH
15 DATA COMMUNICATIONS USING USER FRAMES
User frame
(last m frames)
Remarks
Total 99 frames
Total 100 frames
00H to FFH
Added by the C24.
00H to FFH
Transmission area data.
30H to 39H,
Added by the C24.
The codes shown at the left are 4-bit codes.
41H to 46H
30H to 39H,
Transmission area data.
The codes shown at the left at are 4-bit codes.
41H to 46H
15.4 Data Transmission
15
Remarks
Remarks
313

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents