EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Data Reception; Receive Data

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
278
15 DATA COMMUNICATIONS USING USER FRAMES
15.2 Data Reception
15.2 Data Reception
When receiving data using a user frame, the reception method on C24 side includes Method 0 and Method 1.
The following explains data reception for each method.
Receive data
In data reception using a user frame, data arranged as indicated below can be received.
*1 User frames for receiving
The user frame for data reception can be set to a maximum of four combinations of the start frame and the final frame, regardless of
whether there is a specification.
For a combination that specifies the start frame (with a start frame), specifying the start frame is required even in other combinations.
For a combination that does not specify the start frame (without a start frame), the start frame cannot be specified even in other
combinations.
A combination with the start frame and a combination without the start frame cannot be combined.
*2 If data of other than 30H to 39H and 41H to 46H are received as the data code of the arbitrary data area (including the transparent code
data), an error will occur after the C24 ASCII-BIN conversion processing.
*3 Arbitrary data portion of received data
When the arbitrary data portion is stored to the receive area, and the storage byte quantity is an odd number of bytes, the receive data
quantity shown below is stored to the receive data quantity storage area. (When ASCII-BIN conversion is enabled, the receive data
quantity is the storage byte count when the arbitrary data portion is converted to binary code and stored to the receive area.)
Word units: Receive data quantity = Number of bytes stored to receive area 2 (Digits after a decimal points are rounded up.)
Byte units: Receive data quantity = Number of bytes stored to receive area
(00H is stored to the upper byte of the last data storage location of the receive area.)
When "ASCII-BIN conversion" is enabled, make the arbitrary data part of the receive data an even number of bytes excluding the
additional code.
(1-A)
(1-B)
(1-C)
(1-D)
(1-E)
(2-A)
(2-B)
User frame
(first frame)
User frame
(last frame)
Arbitrary data
User frame
(first frame)
User frame
(last frame)
Arbitrary data
Reception
method
Combination Remarks
Format-0
For data
reception,
mixed
settings
are possible.
With the first
frame ( *1)
Format-1
Without the first
frame ( *1)
Format-0
: Specified data exists.
(When ASCII-BIN conversion is set to "Disable")
Codes stored to
reception area*3
Codes that can
be received
00H to FFH
(Not stored)
00H to FFH 00H to FFH
(When ASCII-BIN conversion is set to "Enable")
Codes stored to
reception area*3
Codes that can
be received
00H to FFH
(Not stored)
*2
30H to 39H,
0H to 9H, AH to FH
41H to 46H

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals