Mitsubishi Q00JCPU User Manual page 151

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(3) Precautions for programming
(a) Device turned ON/OFF by PLS or similar instruction
(b) EI/DI instruction
(c) Timer (T) and counter(C)
(d) Instructions not available in fixed scan execution type programs
When using an instruction such as PLS, by which an execution condition turns ON
from OFF in the next step and it turns the operation device ON, the device
remains ON until the same instruction is executed.
When using an instruction such as PLF, by which an execution condition turns
OFF from ON in the next step and it turns the operation device ON, the device
remains ON until the same instruction is executed.
Fixed scan execution
type program
END 0
0 ENDEND 0
ON
OFF
X0
ON
OFF
M0
Figure 3.48 Device turned ON by PLS instruction in fixed scan execution type program
During execution of a fixed scan execution type program, interrupts are disabled
(DI) so that any other interrupt is not enabled.
Do not execute the EI/DI instruction during a fixed scan execution type program
execution.
Timer (T) and counter (C) cannot be used in fixed scan execution type programs.
Timer (T) cannot perform measurement normally when executing fixed scan
execution type program multiple times during one scan.
Counter (C) in a fixed scan execution type program cannot perform measurement
normally when executing fixed scan execution type program multiple times during
one scan or due to the OUT C
For instruction not available in fixed scan exection type programs, refer to each
instruction of programming manual.
3.3 Settings for Creation and Execution of Multiple Sequence Programs
X0
X0
PLS M0
END 0 0 END END 0
Turned OFF when PLS M0
instruction is executed.
Turned ON when PLS M0 instruction is executed on
leading edge (OFF
ON) of X0.
instruction status at execution.
3.3.5 Fixed scan execution type program
PLS M0
3
- 53
1
2
3
4
5
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents