Expansion Instructions; Sqrt; Srch; Stup - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Expansion Instructions

5-5

Expansion Instructions

Example
Function Codes for
Expansion Instructions
Mnemonic
Code
ASFT
17
TKY
18
MCMP
19
RXD
47
TXD
48
CMPL
60
INI
61
PRV
62
CTBL
63
SPED
64
PULS
65
SCL
66
BCNT
67
214
A set of expansion instructions to aid in special programming needs. Function
codes can be assigned to up to 18 of the expansion instructions to enable
using them in programs. This allows the user to pick the instructions needed
by each program to more effectively use the function codes required to input
instructions.
The mnemonics of expansion instructions are followed by "(––)" as the func-
tion code to indicate that they must be assigned function codes by the user in
the instructions table before they can be used in programming (unless they
are used under their default settings).
Any of the instructions not assigned function codes will need to be assigned
function codes by the Programming Device and the CQM1H before they can
be used in programming. Changing the function codes assigned to expansion
instructions will change the meaning of instructions and operands, so be sure
to assign the function codes before programming and transfer the proper
expansion instruction settings to the CQM1H before program execution.
The following example shows how default function code settings can be
changed.
Function code 61
Function code 64
Function code 65
At the time of shipping, the function codes are
assigned as shown above. (In this example,
the instructions all relate to pulse outputs.)
The following 18 function codes can be used for expansion instructions:
17, 18, 19, 47, 48, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 87, 88, and 89
The 74 expansion instructions that can be used are listed below, along with
the default function codes that are assigned when the CQM1H is shipped.
Mnemonic
Code
ACC
---
ACOS
---
ADBL
---
APR
---
ASIN
---
ATAN
---
AVG
---
CMND
---
COLM
---
COS
---
CPS
---
CPSL
---
DBS
---
INI
Function code 61
SPED
PULS
Function code 64
MAX
Function code 65
MIN

SUM

If pulse outputs are not being used, and if
maximum values, minimum values, and
sums are required, then the Set Instructions
operation can be used as shown above to re-
assign instructions in the instruction table.
Mnemonic
Code
FIXL
---
FLT
---
FLTL
---
FPD
---
HEX
---
HKY
---
HMS
---
LINE
---
LOG
---
MAX
---
MBS
---
MBSL
---
MIN
---
Section 5-5
INI
SPED
PULS
MAX
MIN
SUM
Mnemonic
Code
RAD
---
SBBL
---
SCL2
---
SCL3
---
SEC
---
SIN
---

SQRT

---

SRCH

---

STUP

---
SUM
---

TAN

---
TTIM
---

XFRB

---

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents