Yaskawa YASNAC PC NC PLC Programming Manual User Manual
Page 40

6 - 4
YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions
Note: Symbol in the column of “RR” after Operation”
Ù the content of RR changes before and after the operation of an instruction.
— The content of RR does not change before or after the operation of an instruction.
(2) List of Timer Instructions
The list of timer instruction is indicated below.
(3) List of Register Instructions
The list of register instruction is indicated below.
AND-STR
Executes AND between RR and the stack resister and sets
the result to RR.
Ù
OR-STR
Executes OR between RR and the stack resister and sets the
result to RR.
Ù
OUT
Writes the result of operation (RR) to the rely (address)
—
Instruction
Description
RR after
Operation
Reference
Page
TIM
Timer processing (fixed timer)
time up = 1
TMR
Timer processing (variable timer)
time up = 1
Instruction
Description
RR after
Operation
Reference
Page
INR
Adds “+1” to the register content.
—
DCR
Adds “-1” to the register content.
—
CLR
Clears the content of the register.
—
CMR
Inverts the content of the register.
—
ADI
Adds a numeric value to the content of the register.
—
SBI
Subtracts a numeric value from the content of the register.
—
ANI
AND operation between a numeric value and the content
of the register.
—
ORI
OR operation between a numeric value and the content of
the register.
—
XRI
XOR operation between a numeric value and the content
of the register.
—
DEC
Coincidence between a numeric value and the content of
the register.
—
COI
Coincidence between a numeric value and the content of
the register.
—
CMP
Compares a numeric value to the content of the register.
—