Access For Index Modification - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Access for index modification

Index modification is the indirect specification using index registers.
Accesses shown below are available by setting the subcommand in a request data to 008 or 00C0.
Target data
Network No. or start input/output number
Device number
The following device access commands can be used for access.
Function
Random read
Random write
Register monitor data
Access to index the network No. and start input/output number
When accessing a link direct device, the access target network No. can be specified by the index register with indirect
specification. Also, when accessing a module access device or a CPU buffer memory access device, the access target start
input/output number can be specified by the index register with indirect specification.
Extension specification,
Direct memory specification
J
\
+
Z
Extension specification modification
The access target can be switched with one message, by changing the value of the index register in CPU module programs.
Ex.
The access target can be switched by changing the value of 'Z0', when multiple network modules are mounted onto the
access target.
Specify this on the program of the CPU module.
Module on
network number 1
SW0
(Access destination)
SW5
By changing the "Z0" value, the access destination can be changed.
APPENDICES APPENDIX
446
Appendix 1 Read/Write by Device Extension Specification
Reference
Page 446 Access to index the network No. and start input/output number
Page 447 Access to index the device number
Command
0403
1402
0801
Device
code
Device number
Specify this in request data.
Network number
(offset value)
0
+
Module on
network number 2
SW0
(Access destination)
SW5
Extension specification,
Device
Direct memory specification
code
U
\
+
Z
Extension specification modification
Z0
1 to 3
Network number to access
=
Module on
network number 3
SW0
(Access destination)
SW5
Subcommand
0080, 0082, 00C0
0080, 0081, 0082, 0083
0080, 0082, 00C0
Device number
Specify access destination
device in request data.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents