Device Access; Commands - Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual

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

Advertisement

4.2

Device Access

This section explains the control procedure specification method and shows a specification example when the device memory
is read and written.

Commands

This section explains commands when the device memory is read or written.
Commands
Function
Device Read
Bit units
(Batch)
Word units
Device Write
Bit units
(Batch)
Word units
Device Read
Word units
Random
Device Write
Bit units
Random
Word units
Device Read Block
Word units
Device Write Block
Word units
: Available, : Unavailable
Command
Processing content
(Subcommand)
0401
Reads bit devices in 1 point units.
(001)
0401
Reads bit devices in 16 point units.
(000)
Reads word devices in 1 point units.
1401
Writes bit devices in 1-point units.
(001)
1401
Writes bit devices in 16-point units.
(000)
Writes word devices in 1-point units.
0403
Reads bit devices specified randomly in 16-point units
(000)
or 32-point units.
Reads word devices specified randomly in 1-point
units or 2-point units.
1402
Sets or resets device memory to bit devices specified
(001)
randomly in 1-point units.
1402
Sets or resets device memory to bit devices specified
(000)
randomly in 16-point units or 32-point units
Writes device memory to word devices specified
randomly in 1-point units or 2-point units.
0406
Sets n point(s) in the word device or bit device (one
(000)
point is specified by 16-bit) as 1 block, specifies
multiple blocks randomly and reads the device
memory.
1406
Sets n point(s) in the word device or bit device (one
(000)
point is specified by 16-bit) as 1 block, specifies
multiple blocks randomly and writes the device
memory.
CPU module status
STOP RUN
Write allow
Write prohibit
setting
setting
4 COMMANDS
4.2 Device Access
4
43

Advertisement

Table of Contents
loading

Table of Contents