Mitsubishi Electronics 13JW55 ユーザーズマニュアル

ページ / 350
 
 
4 - 27
 
 
 
4.7.2  
CJ  (Conditional jump: instantaneous execution condition jump) 
  
SCJ 
  (S conditional jump: execution condition jump after one scan) 
 
0
3
6
10
Pointer
     P10
X0
X1
X0
X3
X1
CJ
P10
SCJ
P10
Y70
Y71
1
2
FEND
9
 
 
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
SCJ
Executes every scan
One scan
Executes 
every scan
Executes 
every scan
Executes 
every scan
One scan