EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 258

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...
256
13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION
13.1 User Frame Types and Contents During Communication
C24 processing to registered codes FFH+EEH to FFH+F9H
The sum check code that calculates the range for data (message) to be transmitted/received is expressed as the binary code/
ASCII code data listed below, then transmitted and received.
An example of the contents (arrangement) of the transmission and reception of the sum check code is given below.
Ex.
Arrangement of data transmitted and received (one start frame and one final frame)
How to calculate the sum check code and data contents transmitted and received
This is a numeric value obtained by adding data in the above range as binary data.
Ex.
For Range 1: 41H+ 31H + ABH + 12H + 03H = 0132H
For Range 2: 02H + 00H + 3BH + 41H + 31H + ABH + 12H + 03H = 016FH
Registered code Data contents transmitted and received
FFH + EEH or FFH + F4H The lower 2 bytes of the calculated sum check code are transmitted and received as 2-byte binary code data.
FFH + F0H or FFH + F6H The lower byte of the calculated sum check code is transmitted and received as 1-byte binary code data.
FFH + F1H or FFH + F7H The lower byte of the calculated sum check code is converted to 2-digit ASCII code, then transmitted and received.
FFH + F3H or FFH + F9H The lower 4 bits of the calculated sum check code is converted to 1-digit ASCII code, then transmitted and received.
Calculating
range
Registered code Data contents transmitted and received (arrangement)
Range 1 FFH + EEH 01H and 32H are transmitted and received, beginning from 32H.
FFH + F0H 32H is transmitted and received.
FFH + F1H "3" and "2" are transmitted and received, beginning from "3."
FFH + F3H "2" is transmitted and received.
Range 2 FFH + F4H 01H and 6FH are transmitted and received, beginning from 6FH.
FFH + F6H 6FH is transmitted and received.
FFH + F7H "6" and "F" are transmitted and received, beginning from "6".
FFH + F9H "F" is transmitted and received.
02H
3BH
A
31H
1
03H 0DH
03H FFH+F1H 0DH 0AH
32H 01H 0AH
(12ABH)
41H ABH 12H
S
T
X
E
T
X
C
R
L
F
00H 3BH
02H FFH+01H
;
Arbitrary
data
User frame
(first frame)
User frame
(last frame)
User frame register
code
Sum
check
code
Station
No.
Transmission/reception
data code
Range 1
Range 2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals