Download Mitsubishi Q62DAN Specifications

Transcript
4.7.2
CJ
SCJ
(Conditional jump: instantaneous execution condition jump)
(S conditional jump: execution condition jump after one scan)
1
X0
CJ
0
P10
2
X1
SCJ
3
X0
P10
X1
6
Y70
FEND
9
Pointer
P10
X3
10
Y71
1
• The CJ instruction instantaneously executes a program jumping it to the specified
address (pointer number) when the execution command is on.
When the command is off, the program is not jumped.
2
• The SCJ instruction executes a program without jumping it for the scan when the
execution command is turned on. From the next scan, the instruction executes the
program jumping it to the specified address (pointer number).
When the command is off, the program is not jumped.
• The SCJ instruction is used when some operations must be executed before
jumping the program.
For example, when the output needs to be on or reset in advance.
[Timing chart]
Input condition
(X0, X1)
CJ
Executes every scan
Executes
every scan
SCJ
One scan
Executes
every scan
Executes
every scan
One scan
4 - 27