Omron CP1E-NA@@D@-@ Computer Hardware User Manual


 
1-3
1 Summary of Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
1-1 Summary of Instructions
1
Sequence
Output
Instructions
OUTPUT OUT
-
Outputs the result (execution condition) of the logical processing to the speci-
fied bit.
2-18
!OUT
-
OUTPUT NOT OUT NOT
-
Reverses the result (execution condition) of the logical processing, and outputs
it to the specified bit.
2-18
!OUT NOT
-
TR Bits TR
-
TR bits are used to temporarily retain the ON/OFF status of execution condi-
tions in a program when programming in mnemonic code.
2-20
KEEP KEEP 011 Operates as a latching relay. 2-21
!KEEP
DIFFERENTIATE
UP
DIFU 013 DIFU(013) turns the designated bit ON for one cycle when the execution condi-
tion goes from OFF to ON (rising edge).
2-25
!DIFU
DIFFERENTIATE
DOWN
DIFD 014 DIFD(014) turns the designated bit ON for one cycle when the execution condi-
tion goes from ON to OFF (falling edge).
2-27
!DIFD
SET SET
-
SET turns the operand bit ON when the execution condition is ON. 2-29
@SET
-
%SET
-
!SET
-
!@SET
-
!%SET
-
RESET RSET
-
RSET turns the operand bit OFF when the execution condition is ON. 2-29
@RSET
-
%RSET
-
!RSET
-
!@RSET
-
!%RSET
-
MULTIPLE BIT SET SETA 530 SETA(530) turns ON the specified number of consecutive bits. 2-31
@SETA
MULTIPLE BIT
RESET
RSTA 531 RSTA(531) turns OFF the specified number of consecutive bits. 2-31
@RSTA
SINGLE BIT SET SETB 532 SETB(532) turns ON the specified bit in the specified word when the execution
condition is ON.
Unlike the SET instruction, SETB(532) can be used to set a bit in a DM word.
2-33
@SETB
!SETB
!@SETB
SINGLE BIT RESET RSTB 533 RSTB(533) turns OFF the specified bit in the specified word when the execu-
tion condition is ON.
Unlike the RSET instruction, RSTB(533) can be used to reset a bit in a DM
word.
2-33
@RSTB
!RSTB
!@RSTB
Instrucion
Type
Instruction Mnemonic
FUN
No.
Function Page