Programming Instructions - Omron CPM1A Datasheet

Smallest plc in the sysmac c series
Hide thumbs Also See for CPM1A:
Table of Contents

Advertisement

Programming Instructions

Summary of Programming Instructions
Function Code Chart
Table
Details
sym-
bols
f
Allocated to instruction
keys on the Program-
ming Console. These
need not be specified
with function codes.
Code
Special instructions
specified with function
codes.
Differentiated Instructions
Differentiated instructions can sometimes be used for CPM1A
special instructions. Instructions marked with (@) in the mne-
monics can also be used as differentiated instructions. Here the
input rise time (shift from OFF to ON) is used to execute the
instruction in just one cycle.
To specify an instruction, press the NOT Key after the function
code.
Example: Specifying the @MOV (21) instruction
FUN
2
Sequence Instructions
Sequence Input Instructions
Instruction
Mnemonic
Code
f
LOAD
LD
f
LOAD NOT
LD NOT
f
AND
AND
f
AND NOT
AND NOT
f
OR
OR
f
OR NOT
OR NOT
f
AND LOAD
AND LD
f
OR LOAD
OR LD
Note: f: Instruction keys allocated to the Programming Con-
sole.
22
Key operations for
specifying program-
ming instructions
---
Code
FUN
WRITE
1
NOT
WRITE
Function
Connects an NO condition to
the left bus bar.
Connects an NC condition to
the left bus bar.
Connects an NO condition in
series with the previous condi-
tion.
Connects an NC condition in
series with the previous condi-
tion.
Connects an NO condition in
parallel with the previous
condition.
Connects an NC condition in
parallel with the previous
condition.
Connects two instruction
blocks in series.
Connects two instruction
blocks in parallel.
Sequence Output Instructions
Instruction
Mnemonic
Code
f
OUTPUT
OUT
f
OUT NOT
OUT NOT
f
SET
SET
f
RESET
RSET
KEEP
KEEP
11
DIFFER-
DIFU
13
ENTIATE
UP
DIFFER-
DIFD
14
ENTIATE
DOWN
Note: f: Instruction keys allocated to the Programming Con-
sole.
Sequence Control Instructions
Instruction
Mnemonic
Code
NO
NOP
00
OPERA-
TION
END
END
01
INTER-
IL
02
LOCK
INTER-
ILC
03
LOCK
CLEAR
JUMP
JMP
04
JUMP END
JME
05
Timer/Counter Instructions
Instruction
Mnemonic
Code
f
TIMER
TIM
f
COUNTER
CNT
RE-
CNTR
12
VERSIBLE
COUNTER
HIGH-
TIMH
15
SPEED
TIMER
Note: f: Instruction keys allocated to the Programming Con-
sole.
Function
Outputs the result of logic to a
bit.
Reverses and outputs the re-
sult of logic to a bit.
Force sets (ON) a bit.
Force resets (OFF) a bit.
Maintains the status of the
designated bit.
Turns ON a bit for one cycle
when the execution condition
goes from OFF to ON.
Turns ON a bit for one cycle
when the execution condition
goes from ON to OFF.
Function
---
Required at the end of the pro-
gram.
If the execution condition for
IL(02) is OFF, all outputs are
turned OFF and all timer PVs
reset between IL(02) and the
next ILC(03).
ILC(03) indicates the end of an
interlock (beginning at IL(02)).
If the execution condition for
JMP(04) is ON, all instructions
between JMP(04) and
JME(05) are treated as
NOP(00).
JME(05) indicates the end of a
jump (beginning at JMP(04)).
Function
An ON-delay (decrementing)
timer.
A decrementing counter.
Increases or decreases PV by
one.
A high-speed, ON-delay
(decrementing) timer.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents