EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 314

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

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals