Instruction Tables; Instructions With Fixed Function Codes - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Instruction Tables

Multiple Instruction Lines
00000
00001
00002
00100
00200
01001 01002
LR 6300
HR 0015
5-7

Instruction Tables

5-7-1

Instructions with Fixed Function Codes

Left
digit
0
1
0
NOP
END
NO
END
OPERATION
1
SFT
KEEP
SHIFT
KEEP
REGISTER
2
CMP
(@) MOV
COMPARE
MOVE
3
(@) ADD
(@) SUB
BCD ADD
BCD
SUBTRACT
4
(@) STC
(@) CLC
SET CARRY
CLEAR
CARRY
If a right-hand instruction requires multiple instruction lines (such as
KEEP(11)), all of the lines for the instruction are entered before the right-hand
instruction. Each of the lines for the instruction is coded, starting with LD or
LD NOT, to form `logic blocks' that are combined by the right-hand instruction.
An example of this for SFT(10) is shown below.
21600
This section provides tables of the instructions available in the CQM1H. The
first two tables can be used to find instructions by function code. The last table
can be used to find instructions by mnemonic.
The following table lists the instructions that have fixed function codes. Each
instruction is listed by mnemonic and by instruction name. Use the numbers in
the leftmost column as the left digit and the number in the column heading as
the right digit of the function code. The @ symbol indicates instructions with
differentiated forms.
Expansion instructions without default function codes must be allocated func-
tion codes to enable using them. Even the expansion instructions with default
function codes have been omitted from the following table and space has
been provided so that you can write in the ones you will be using. Refer to the
next page for details on expansion instructions.
2
3
IL
ILC
JMP
INTERLOCK
INTERLOCK
JUMP
CLEAR
CNTR
DIFU
DIFD
REVERSIBLE
DIFFERENTI-
DIFFERENTI-
COUNTER
ATE UP
ATE DOWN
(@) MVN
(@) BIN
(@) BCD
MOVE NOT
BCD TO
BINARY TO
BINARY
BCD
(@) MUL
(@) DIV
(@) ANDW
BCD
BCD
LOGICAL
MULTIPLY
DIVIDE
AND
---
---
---
I
SFT(10)
P
HR 00
R
HR 00
00500
Right digit
4
5
6
JME
(@) FAL
JUMP END
FAILURE
ALARM AND
RESET
TIMH
(@) WSFT
HIGH-
WORD SHIFT
SPEED
TIMER
(@) ASL
(@) ASR
SHIFT LEFT
SHIFT RIGHT
(@) ORW
(@) XORW
LOGICAL OR
EXCLUSIVE
OR
TRSM
(@) MSG
TRACE MEM-
MESSAGE
ORY SAMPLE
DISPLAY
Section 5-7
Address Instruction
Data
00000
LD
00001
AND
00002
LD
00003
LD
00004
AND NOT
00005
LD
00006
AND NOT
00007
AND NOT
LR
00008
OR LD
00009
AND
00010
SFT(10)
HR
HR
00011
LD
HR
00012
OUT NOT
7
8
FALS
STEP
SNXT
SEVERE
STEP
STEP START
FAILURE
DEFINE
ALARM
(Expansion
(Expansion
(Expansion
Instruction)
Instruction)
(@) ROL
(@) ROR
(@) COM
ROTATE LEFT
ROTATE
COMPLE-
RIGHT
MENT
(@) XNRW
(@) INC
(@) DEC
EXCLUSIVE
INCREMENT
DECREMENT
NOR
---
(Expansion
(Expansion
Instruction)
Instruction)
00000
00001
00002
00100
00200
01001
01002
6300
−−
21600
00
00
0015
00500
9
Instruction)
217

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents