EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #157 background imageLoading...
Page #157 background image
5-65
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-6 Instructions
5
5-6-1 Basic Understanding of Instructions
The following variations are available for instructions to differentiate executing conditions and to refresh
data when the instruction is executed (immediate refresh).
The following two types of basic and special instructions can be used.
• Non-differentiated instructions: Executed every cycle
• Differentiated instructions: Executed only once
z Non-differentiated Instructions
Output instructions (Instructions That Require Input Conditions):
These instructions are executed once every cycle while the execution conditions 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 output (i.e., the execution condition is turned ON).
z Input-differentiated Instructions
Upwardly Differentiated Instructions (Instruction Preceded by @)
Output Instructions:
The instruction is executed only during the cycle in which the execution condition changed from OFF
to ON and are not executed in the following cycles.
Instruction Variations
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.
Execution Conditions
MOV
@
Instruction (mnemonic)
Differentiation variation
Immediate refresh variation
MOV
Example
Non-differentiated
output instruction
Example
Non-differentiated input instruction
1.02
Example
(@) Upwardly differ-
entiated instruction
@MOV
Executes the MOV instruction once when
CIO 1.02 goes OFF → ON.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals