Access With Indirect Specification Of The Device No. By Using The Values Stored In Word Device - Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

■Direct memory specification (only when communicating in binary code)
Specify the device type when accessing the module access device.
Item
Module access device
Other than the above
Response data
The same as when extension is not specified.
Communication example
Accessing the device of D100 + Z4.
• When communicating data in ASCII code
(Request data)
Subcommand
specification
0
0
8
0
0
0
0
30
30
38
30
30
30
30
H
H
H
H
H
H
H
• When communicating data in binary code
(Request data)
Device
Head device No.
Subcommand
modification
or device No.
80
00
04
40
64
00
00
H
H
H
H
H
H
H
Access with indirect specification of the device No. by using the
values stored in word device
Access the device corresponding to the address stored in word device (for 2 points).
Ex.
When storing the address of D100 in D0, and trying to access D100 from external devices by accessing "@D0"
The ADRSET instruction is used on the CPU module side and the address of D100 is stored in D0.
D100 can be indirectly accessed by specifying "@D0" with the request data.
Extension
Extension
specification
Device
modification
code
0
0
0
0
0
0
D
30
30
30
30
30
30
44
2A
H
H
H
H
H
H
H
Extension
Direct
Extension
specification
memory
Device
specification
specification
modification
code
A8
00
00
00
00
00
H
H
H
H
H
H
Binary code
Specify F8H.
Specify 00H.
Head device No.
or device No.
modification
*
0
0
0
1
0
0
Z
30
30
30
31
30
30
5A
H
H
H
H
H
H
H
H
Appendix 1 Device Memory Extension Specification
Device
0
4
30
34
H
H
APPENDIX
A
101

Advertisement

Table of Contents
loading

Table of Contents