Mitsubishi Electric MELSEC IQ-R series Reference Manual page 455

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Device extension specification example (when do not perform index modification)
Access D100 by specifying the subcommand 0080 and using devices for indirect specification '@D0'.
Store the address of D100 in D0 with a program before executing the command.
Specify by the request data.
The address of the
D0
(Device number)
access destination
D1
(Access destination)
D100
■Data communication in ASCII code
Indirect
Subcommand
specification
0
0
8
0
0
@
0
30
30
38
30
30
40
30
H
H
H
H
H
H
H
■Data communication in binary code
Device modification
Device
Subcommand
Indirect specification
number
80
00
00
08
00
00
00
H
H
H
H
H
H
H
Device extension specification example (Index modification)
Access D100 by specifying subcommand 0080 and specify the index modified device for indirect specification @D0Z2.
Before executing the command, store the D100 address in D4 and '4' in Z2 with the program.
Specify by the request data.
Device number
(Offset value)
Z2
(Stored value)
4
D0
+
(Device number)
0
D4
D5
D100
(Access destination)
■Data communication in ASCII code
Indirect
Subcommand
specification
0
0
8
0
0
0
@
30
30
38
30
30
40
30
H
H
H
H
H
H
H
■Data communication in binary code
Device
Device modification
Subcommand
Indirect specification
number
80
00
02
48
00
00
00
H
H
H
H
H
H
H
(D100)
Device
code
0
0
0
0
0
0
D
30
30
30
30
30
30
44
2A
H
H
H
H
H
H
H
Device
code
A8
00
00
00
00
00
H
H
H
H
H
H
0
+
4
The address of the
access destination
(D100)
Device
code
0
0
0
0
0
0
D
30
30
30
30
30
30
44
2A
H
H
H
H
H
H
H
Device
code
A8
00
00
00
00
00
H
H
H
H
H
H
Specify by the program of the CPU module.
Address of the access destination (D100) can be
stored to D0 and D1 by the following program.
ADRSET D100 D0
Device number
modification
*
0
0
0
0
0
0
0
30
30
30
30
30
30
30
H
H
H
H
H
H
H
H
Z2
=
4
Device number for extension specification
Specify by the program of the CPU module.
Store Z2 to 4 by the following program.
MOVP K4 Z2
Address of the access destination (D100) can be
stored to D4 and D5 by the following program.
ADRSET D100 D4
Device
Device number
modification
*
0
0
0
0
0
0
Z
30
30
30
30
30
30
5A
H
H
H
H
H
H
H
H
Appendix 1 Read/Write by Device Extension Specification
Device
0
0
30
30
H
H
0
2
30
32
H
H
APPENDICES APPENDIX
A
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents