EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 308

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...
306
15 DATA COMMUNICATIONS USING USER FRAMES
15.3 Program for Data Reception with User Frame
When receiving with a combination of the start frame and arbitrary data (reception using
Method 0)
(1234H)
02H41H 3BH30H 31H 32H 33H 02H 41H 42H 43H 34H 12H0DH
0AH
10H 02H
;
012 A3CB
L
F
C
R
EX
S
T
X
S
T
X
A
X3
M0
ON
ON
1H
0H
0H
0H
2H
1H
0H
0H
(LF) (CR)
0AH , 0DH
(1234H)
12H , 34H
(C) (B)
43H , 42H
(A) (STX)
41H , 02H
(3) (2)
33H , 32H
(1) (0)
31H , 30H
00H , 06H
1002H/ 0H
0H
2H
0H
0H
0H
41BH
15H
6H
3E9H
3E8H
2H
6H
D
L
S
T
INPUT
M1
Ò
Ó
Ô
Õ
Additional code (C24 deletes)
Transparent code
When STX is handled
as transparent code.
Receive data count
Word units
Number of received byte excluding frame and additional code (12)/2=6
Head data
Byte units
Number of received byte excluding frame and additional code (12)
The following diagram is for word unit
Target device
Un\G164
Received data count
User frame use enable/
disable designation
Un\G173
First frame (corresponds
to registration No. 3E9H)
Arbitrary data
(Received data count)
CPU module
First frame No. designation
Un\G174
(1st)
Un\G175
(2nd)
Reception data
read request
Un\G176
(3rd)
Un\G177
CPU module
(4th)
Last frame No. designation
Un\G178
(1st)
Completion device
(None)
Un\G179
(2nd)
Abnormal
completion
(Each 2nd designated frame)
Status display device
at completion
(None)
Un\G180
(3rd)
Normal
completion
(None)
Un\G181
(4th)
1 scan
(YES) (NO)
Receive transparent
code designation
Un\G288
(Disable)
ASCII-BIN conversion designation
Un\G289
User frame receiving
format designation
Receive user
frame ( th)
Un\G8224
to D0
Un\G603
(1st = format-0)
Un\G8225
Receive data
count
to D3
Un\G1536
(2nd = format-0)
Received data
(arbitrary data)
Un\G8226
Un\G1537
(3rd = format-1)
Un\G8227
to D10
or after
Un\G1538
(4th = format-1)
Received data count for format 1 only
Un\G1539
Un\G1540
Un\G1541
Un\G1542
Un\G8228
Un\G8229
Un\G8230
Un\G8231
Buffer memory
Buffer memory
(1st)
(2nd)
(3rd)
(4th)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals