Precautions - Mitsubishi Electric Q01UCPU User Manual

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

3.37.4

Precautions

The following describes the precautions for the write-protect function for device data (from outside the CPU module).
(1) Execution of the executional conditioned device test
When specifying and registering the indirect specified/index-modified device or the file register (R) in the
executional conditioned device test, disable the write-protect function for device data (from outside the CPU
module) before execution.
If the function is enabled, an error occurs at registration when the indirect specified/index-modified device or the
file register (R) is specified.
(2) Writing to the index register (Z) and index-modified device
When writing a value to the index register with the SLMP/MC protocol command 1402 (Write Random/Random
write) and changing the access destination to write data by using the index register, disable the write-protect
function for device data (from outside the CPU module) before execution. Alternatively, execute writing to the
index register (Z) and writing to the index-modified device separately and with multiple commands. If they are
specified simultaneously in a single command, an error occurs.
When the index register (Z0) is changed and device data are written to D0, D5, and D10
Ex.
Data register
D0
Write 10.
D5
Write 25.
D10
Write 50.
<SLMP/MC protocol>
When the write-protect function for device data (from outside the CPU module)
D0Z0 (Z0=0)
is disabled
D0Z0 (Z0=5)
Command
1402
D0Z0 (Z0=10)
When the write-protect function for device data (from outside the CPU module)
is enabled
Command
Ò
Command
Ó
Command
Ô
Command
Õ
Command
Ö
Command
×
Device Value Device Value
Device Value
...
Z0
K0 D0Z0 K10
Z0
K5
(D0←10)
Device Value
...
1402
Z0
K0
Z0←0
Device Value
...
1402
D0Z0 K10
D0←10
(D0)
Device Value
...
1402
Z0
K5
Z0←5
Device Value
...
1402
D0Z0 K25
D5←25
(D5)
Device Value
...
1402
Z0 K10
Z0←10
Device
Value
...
1402
D0Z0 K50
D10←50
(D10)
CHAPTER 3 FUNCTIONS
Device Value
Device Value
Device Value
D0Z0
K25
Z0
K10
D0Z0 K50
(D5←25)
(D10←50)
309
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents