1. Basic Understanding of Instructions
1-1 Basic Understanding of
Instructions
1
5
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Instruction Variations
The following variations are available for instructions to differentiate executing
conditions and to refresh data when the instruction is executed (immediate
refresh).
Execution Conditions
The following two types of basic and special instructions can be used.
• Non-differentiated instructions: Executed every cycle
• Differentiated instructions: Executed only once
Non-differentiated Instructions
â– Output instructions (Instructions That Require Input Conditions):
These instructions are executed once every cycle while the execution condi-
tions are satisfied (ON or OFF).
â– Input Instructions (Logical Starts and Intermediate Instructions):
These instructions read bit status, make comparisons, test bits, or perform
other types of processing every cycle. If the results are ON, power flow is out-
put (i.e., the execution condition is turned ON).
â– Time Chart
Variation Symbol Description
Differentiation ON @ Instruction that differentiates when the execution
condition turns ON.
OFF % Instruction that differentiates when the execution
condition turns OFF.
Immediate refreshing ! Refreshes data in the I/O area specified by the
operands or the Special I/O Unit words when the
instruction is executed.
MOV
@
Instruction (mnemonic)
Differentiation variation
Immediate refresh variation
MOV
Example
Non-differentiated
output instruction
Example
Non-differentiated input instruction
Bit A
Bit A
Bit B
Bit B