Operation Errors; Execution Conditions; Number Of Steps; Index Modification - Mitsubishi MELSEC-Q series Programming Manual

Process control instructions
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

2.2.5

Operation errors

Operation errors caused by process control instructions are stored in the following remote register.
For errors other than operation errors, refer to the error codes listed in the QCPU User's Manual (Hardware Design,
Maintenance and Inspection). (The error code is stored in SD0.)
Remark
(1)
The following errors (other than operation errors) are also stored in the special register.
• Error code 4002..........The name of the specified instruction is incorrect.
• Error code 4003..........The number of devices used in the process control instruction is incorrect.
• Error code 4004..........A device that cannot be used in the instruction is specified.
• Error code 4100..........The instruction cannot process the data.
(2)
For the error code 4100, the detailed information is stored in special register (SD1502 and SD1503). Values in
SD1502 and SD1503 are set to 0 when other than the process control instruction operation error.
For details, refer to Page 253, CHAPTER 14.
2.2.6

Execution conditions

The process control instructions are instructions that are executed while the input condition is ON.
2.2.7

Number of steps

The number of process control instruction steps differs depending upon the number of instruction characters, the device used,
and whether or not an indirect setting is valid.
The basic number of steps for the extension instruction are as follows.
Number of steps in process control instruction = 2 +
* 1
The number of characters is calculated by adding 1 when the number is odd. (For example when rounding up the results of a
division.)
The "S." of the instruction code is not
included in the number of characters.
For details, refer to the MELSEC-Q/L Structured Programming Manual (Common Instructions).
2.2.8

Index modification

Index modification available for the process control instructions is the same as the one available for the basic instructions of
the CPU module.
number of instruction characters
S.IN
R0
1Step
1Step
2+2/2+4=7Step
*1
+ number of devices
2
R100
R200
R1000
7Step
1Step
1Step
1Step
1
2
3
4
4
6
7
8
21

Advertisement

Table of Contents
loading

Table of Contents