Mitsubishi Electric L02SCPU User's Manual And Reference page 140

Melsec-l series, cpu module
Table of Contents

Advertisement

• Instructions that do not change device values
A device value is not changed by executing the executional conditioned device test when the execution
timing has been set to "After executing instruction", specifying the step for instructions that do not execute
the next step, such as branch instructions.
Stop
Jump
Repeated (Loop)
Subroutine program call
End
Jump
Return from subroutine program
Return from interrupt program
• FOR and NEXT instructions
When the executional conditioned device test setting is registered specifying the step for the FOR or NEXT
instruction, timing of device value change is different from the timing when steps for other instructions are
specified.
Instruction
FOR
NEXT
• END instruction
If "After executing instruction" is set, the CPU module returns a registration error to the programming tool.
(d) Number of settings that can be simultaneously registered in one scan
Eight executional conditioned device test settings can be simultaneously registered into the CPU module in
one scan. When nine or more executional conditioned device test settings are to be simultaneously registered,
they are registered over multiple scans.
138
Classification
Before Executing Instruction
Executed once before the start of loop processing.
Executed every loop processing. (Executed after the
operation of the program between the FOR and NEXT
instructions.)
Instruction
STOP
CJ
SCJ
GOEND
• When the execution condition for an instruction is satisfied, a
device value is not changed even when the specified step is
BREAK(P)
executed.
CALL(P)
• When execution condition for an instruction is not satisfied, a
device value is changed after the specified step is executed.
FCALL(P)
ECALL(P)
EFCALL(P)
XCALL
FEND
JMP
A device value is not changed even when the specified step is
executed.
RET
IRET
Execution timing setting
Executed once after the start of loop processing. (Executed
before the operation of the program between the FOR and
NEXT instructions.)
Executed once after the start of loop processing.
Operation
After Executing Instruction

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents