Omron C200HS Manuel D’Utilisation

Page de 504
443
Appendix B
Programming Instructions
A PC instruction is input either by pressing the corresponding Programming Console key(s) (e.g., LD, AND, OR,
NOT) or by using function codes. To input an instruction with its function code, press FUN, the function code, and
then WRITE. Refer to the pages listed programming and instruction details.
Code
Mnemonic
Name
Function
Page
AND
AND
Logically ANDs status of designated bit with execution
condition.
AND LD
AND LOAD
Logically ANDs results of preceding blocks.
AND NOT
AND NOT
Logically ANDs inverse of designated bit with execution
condition.
CNT
COUNTER
A decrementing counter.
LD
LOAD
Used to start instruction line with the status of the desig-
nated bit or to define a logic block for use with AND LD
and OR LD.
LD NOT
LOAD NOT
Used to start instruction line with inverse of designated bit.
OR
OR
Logically ORs status of designated bit with execution con-
dition.
OR LD
OR LOAD
Logically ORs results of preceding blocks.
OR NOT
OR NOT
Logically ORs inverse of designated bit with execution con-
dition.
OUT
OUTPUT
Turns ON operand bit for ON execution condition; turns
OFF operand bit for OFF execution condition.
OUT NOT
OUTPUT NOT
Turns operand bit OFF for ON execution condition; turns
operand bit ON for OFF execution condition (i.e., inverts
operation).
RSET
RESET
Turns the operand bit OFF when the execution condition is
ON, and does not affect the status of the operand bit when
the execution condition is OFF.
SET
SET
Turns the operand bit ON when the execution condition is
ON, and does not affect the status of the operand bit when
the execution condition is OFF.
TIM
TIMER
ON-delay (decrementing) timer operation.
00
NOP
NO OPERATION
Nothing is executed and program moves to next instruc-
tion.
01
END
END
Required at the end of the program.
02
IL
INTERLOCK
If interlock condition is OFF, all outputs are turned OFF
and all timer PVs reset between this IL(02) and the next
03
ILC
INTERLOCK CLEAR
and all timer PVs reset between this IL(02) and the next
ILC(03). Other instructions are treated as NOP; counter
PVs are maintained.
04
JMP
JUMP
If jump condition is OFF, all instructions between JMP(04)
d th
di
JME(05)
i
d
05
JME
JUMP END
j
,
(
)
and the corresponding JME(05) are ignored.
(@)06
FAL
FAILURE ALARM
AND RESET
Generates a non-fatal error and outputs the designated
FAL number to the Programming Console.
07
FALS
SEVERE FAILURE
ALARM
Generates a fatal error and outputs the designated FALS
number to the Programming Console.
08
STEP
STEP DEFINE
When used with a control bit, defines the start of a new
step and resets the previous step. When used without N,
defines the end of step execution.
09
SNXT
STEP START
Used with a control bit to indicate the end of the step, reset
the step, and start the next step.
10
SFT
SHIFT REGISTER
Creates a bit shift register.
11
KEEP
KEEP
Defines a bit as a latch controlled by set and reset inputs.
12
CNTR
REVERSIBLE
COUNTER
Increases or decreases PV by one whenever the incre-
ment input or decrement input signals, respectively, go
from OFF to ON.