Download Print this page

Mitsubishi QJ71GP21S-SX Reference Manual page 475

Melsec-q series, cc-link ie controller network

Advertisement

9
DEDICATED INSTRUCTIONS
(c) RIRD instruction settings
(S)+0
(S)+1
(S)+2
(S)+3
(S)+4
(d) Program example
Control data settings for the RIRD instruction are shown below.
Table 9.107 RIRD instruction settings
Device
D400
Completion status
D401
Target station No.
D402
Access code/Attribute code
D403
Device No.
D404
Number of points to read
The following example program is written to the CPU module of station No.1.
Processing program for read completion
Processing program for normal completion
Processing program for error completion
Figure 9.150 Program example
Item
(Set by the system, no setting required)
4
0405
(Data register (D))
H
1000
5
9.19 J(P)/G(P).RIRD
Set value
10
Control data
setting for
RIRD
instruction
Execution of
RIRD instruction
Error code
reading, etc.
9
- 173
9

Advertisement

loading

This manual is also suitable for:

Qj71gp21-sx