Omron CQM1H Replacement Manual page 47

Programmable controllers
Hide thumbs Also See for CQM1H:
Table of Contents

Advertisement

Appendix
Conversion: **= Support software converts the instruction./*= Support software converts the instruction, but it is necessary to manually modify it. /- = There is no corresponding instruction.
Blank cells: Support software converts the instructions, though there are some difference in CQM1H/CJ1M/CJ1G and CJ2M.
Instructions
Conversion instructions
BCD-TO-BINARY
DOUBLE BCD-TO-DOUBLE BINARY
BINARY TO BCD
DOUBLE BINARY-TO-DOUBLE BCD
2'S COMPLEMENT
DOUBLE 2'S COMPLEMENT
4-TO-16 DECODER
16-TO-4 ENCODER
ASCII CONVERT
ASCII-TO-HEXADECIMAL
LINE
LINE TO COLUMN
Logic instructions
LOGICAL AND
LOGICAL OR
EXCLUSIVE OR
EXCLUSIVE NOR
COMPLEMENT
Special math instructions
BSQUARE ROOT
ARITHMETIC PROCESS
BIT COUNTER
Floating point math instructions
FLOATING TO 16-BIT
FLOATING TO 32-BIT
16-BIT TO FLOATING
32-BIT TO FLOATING
FLOATING-POINT ADD
FLOATING-POINT SUBTRACT
FLOATING-POINT MULTIPLY
FLOATING-POINT DIVIDE
DEGREES TO RADIANS
RADIANS TO DEGREES
SINE
COSINE
TANGENT
ARC SINE
ARC COSINE
ARC TANGENT
SQUARE ROOT
EXPONENT
LOGARITHM
Table data processing instructions
DATA SEARCH
FIND MAXIMUM
FIND MINIMUM
SUM
FCS CALCULATE
Data control instructions
PID CONTROL
SCALING
SIGNED BINARY TO BCD SCALING
BCD TO SIGNED BINARY SCALING
AVERAGE VALUE
Subroutines instructions
SUBROUTINE ENTRY
MACRO
SUBROUTINE DEFINE
SUBROUTINE RETURN
Interrupt control instructions
INTERRUPT CONTROL
INTERVAL TIMER
Step instructions
STEP DEFINE
STEP START
CJ1M/CJ1
G
CQM1H
Conversion
Nemonic
BIN
BIN
**
BINL
BINL
**
BCD
BCD
**
BCDL
BCDL
**
NEG
NEG
**
NEGL
NEGL
**
MLPX
MLPX
**
DMPX
DMPX
**
ASC
ASC
**
HEX
HEX
**
LINE
LINE
*
COLM
COLM
*
ANDW
ANDW
**
ORW
ORW
**
XORW
XORW
**
XNRW
XNRW
**
COM
COM
**
ROOT
ROOT
**
APR
APR
**
BCNT
BCNT
*
BCNTC
**
[Ver.3.0 or
later]
FIX
FIX
**
FIXL
FIXL
**
FLT
FLT
**
FLTL
FLTL
**
+F
+F
**
-F
-F
**
*F
*F
**
/F
/F
**
RAD
RAD
**
DEG
DEG
**
SIN
SIN
**
COS
COS
**
TAN
TAN
**
ASIN
ASIN
**
ACOS
ACOS
**
ATAN
ATAN
**
SQRT
SQRT
**
EXP
EXP
**
LOG
LOG
**
SRCH
SRCH
*
MAX
MAX
*
MIN
MIN
*
SUM
SUM
*
FCS
FCS
*
PID
PID
*
SCL
SCL
*
SCL2
SCL2
**
SCL3
SCL3
**
AVG
AVG
*
SBS
SBS
**
MCRO
MCRO
**
SBN
SBN
**
RET
RET
**
INT
MSKS
*
INT000->MSKS
MSKR
INT001->CLI
CLI
INT002->MSKR
DI
INT003->MSKS/INI
EI
(CJ1M built-in input
only) INT100->DI
INT200->EI
STIM
MSKS
* (Partly "-")
STIM003 to 005-
Instruction
MSKR
>MSKS
will not be
STIM006 to 008-
converted if
>MSKR
timer
start/stop
time is
specified.
STEP
STEP
**
SNXT
SNXT
**
Difference between CQM1H and CJ1M/CJ1G/CJ2M (CQM1H->CJ1M/CJ1G/CJ2M)
FUN No.
Number of operand
Expansion ->160
3 (None)->2
Expansion ->161
3 (None)->2
Expansion ->162
Expansion ->63
Expansion ->64
Expansion ->69
67->621
Expansion ->450
3 (None)->2
Expansion ->451
3 (None)->2
Expansion ->452
3 (None)->2
Expansion ->453
3 (None)->2
Expansion ->454
Expansion ->455
Expansion ->456
Expansion ->457
Expansion ->458
3 (None)->2
Expansion ->459
3 (None)->2
Expansion ->460
3 (None)->2
Expansion ->461
3 (None)->2
Expansion ->462
3 (None)->2
Expansion ->463
3 (None)->2
Expansion ->464
3 (None)->2
Expansion ->465
3 (None)->2
Expansion ->466
3 (None)->2
Expansion ->467
3 (None)->2
Expansion ->468
3 (None)->2
Expansion ->181
Expansion ->182
Expansion ->183
Expansion ->184
Expansion ->180
Expansion ->190
66->194
Expansion ->486
Expansion ->487
Expansion ->195
89->690
89->691
89->692
89->690/880
89->693
89->694
69->690
69->692
A-1 Instruction operations
BCD => BIN
Settings
Bit number set in
words: BCD -> BIN
Bit number set in
words: BCD -> BIN
Number of words set
in words: BCD -> BIN
Output selection to
Number of words set
enable or disable the
in words: BCD -> BIN
Outputs number of
matches.
Number of words in
Select signed or
range: BCD -> BIN,
unsigned/Outputs
Settings 12 bits -> 15
address to IR or not.
bits
Number of words in
Select signed or
range: BCD -> BIN,
unsigned/Outputs
Settings 12 bits -> 15
address to IR or not.
bits
table length: BCD ->
Set the Starting
BIN, Settings 12 bits -
byte/Units/Data
> 15 bits
type/signed or not in
C+1.
table length: BCD ->
Set the Starting
BIN, Settings 12 bits -
byte/Units in C+1.
> 15 bits
Set value: BCD -> BIN Check setting items
and set value.
Number of cycles set
in words: BCD -> BIN
Interrupt unit/CJ1M
built-in interrupt input:
newly configure the
settings.
Newly configure the
Set the operands in
settings again.
BCD ->BIN.
Remarks
Operand1: 1 word -> 2
words
Comparison data,
result word: C+1 ->
Control data: 1word ->
2 word
Output address: D+1 -
> IR00
Control data: 1word ->
2 word
Output address: D+1 -
> IR00
Control data: 1word ->
2 word
Control data: 1word ->
2 word
PID parameter area:
33ch -> 39ch
Acaled value: variable
accepted -> variable
not accepted
Average Valid Flag:
None -> Processing
information D15 bit
Macro area input
words: 96 to 99 ->
A600 to A603, 196 to
199 -> A604 to A607
(No influence on the
ladder program).
Interrupt program:
interrupt subroutine ->
interrupt task (Also
change the number
again).
One-shot interrupt
start: None
Stopping timer
function: None
Set the unit of 0.1ms
in PLC settings.
Interrupt program:
interrupt subroutine ->
interrupt task (Newly
set the task No.)
2

Advertisement

Table of Contents
loading

Table of Contents