Programming

Appendix A

Instruction Variations

The following variations are available for instructions to differentiate executing conditions.

Variation

 

Symbol

Description

Differentiation

ON

@

Instruction that differentiates when the input condition turns ON.

 

 

 

 

 

OFF

%

Instruction that differentiates when the input condition turns OFF.

@ MOV

Instruction (mnemonic)

Differentiation variation

Input Conditions

The FQM1 offers the following types of basic and special instructions.

Non-differentiated instructions executed every cycle

Differentiated instructions executed only once

Non-differentiated Instructions

Output instructions that require input conditions are executed once every cycle while the input condition is valid (ON or OFF).

Non-differentiated output instruction

Example

MOV

Input instructions that create logical starts and intermediate instructions that read bit status, make compar- isons, test bits, or perform other types of processing every cycle. If the results are ON, power flow is output (i.e., the input condition is turned ON).

Non-differentiated input instruction

Example

 

 

 

Input-differentiated Instructions

Upwardly Differentiated Instructions (Instructions Preceded by @)

Output Instructions: The instruction is executed only during the cycle in which the input condition turns ON (OFF ON) and are not executed in the following cycles.

Example 0001.02

(@) Upwardly differ

entiated instruction

@MOV

Executes the MOV instruction once when

CIO 0001.02 goes OFF ON.

Input Instructions (Logical Starts and Intermediate Instructions): The instruction reads bit status, makes comparisons, tests bits, or perform other types of processing every cycle and will output an ON execution condition (power flow) when results switch from OFF to ON. The execution condition will turn OFF the next cycle.

Upwardly differentiated input instruction

0001.03

 

Example

ON execution condition created for one cycle only when CIO 0001.03 goes from OFF to ON.

279

Page 302
Image 302
Omron FQM1-MMP21 Instruction Variations, Input Conditions, Non-differentiated Instructions, Variation Symbol Description