
95
Program Control Instructions
Mnemonic
Name
Word ladder
symbol
Double word
ladder symbol
Description
FOR
(DFOR)
For Loop
Execute instructions in the block
between FOR and corresponding
NEXT. Repeat execution D times.
NEXT
Next
Decrement D of FOR instruction by 1.
If it is not zero, repeat execution
from FOR instruction.
JMP
Jump
Jump to the position marked LBL L
(label number).
(L: 0 to 63)
LBL
Label
Position jumped to by the
corresponding JMP instruction.
(L:0 to 63)
JMPS
Jump Start
Jump to the JMPE instruction.
JMPE
Jump End
Position jumped to by the
corresponding JMPS instruction.
CALL
Call Subroutine
Call subroutine Sb.
(Sb = 0 to 63)
SBR
Subroutine Start
Start subroutine Sb.
(Sb = 0 to 63)
RET
Subroutine Return
End of subroutine. Return execution
to the instruction after CALL.
INT
Begin Interrupt
Begin the block of constant cycle
scan instructions.
Ni = 1 to 999 (20 msec to 10 sec)
Constant cycle time = (Ni+1) x 0.01
sec
RETI
Return Interrupt
End the block of constant cycle scan
instructions.
Summary of Contents for Samsung NX-CPU700p
Page 1: ...NX700 Series Controller NX CPU700p User Manual ...
Page 78: ...78 Power check flow chart ...
Page 79: ...79 Run check flow chart ...
Page 80: ...80 Error check flow chart ...
Page 82: ...82 External environment check flow chart ...
Page 86: ...86 ...
Page 98: ...98 ...
Page 102: ...102 Decimal Bin Hex BCD Gray Code Cross reference Table ...
Page 104: ...104 ...
Page 121: ......