Expansion Instructions (Cqm1/Srm1 Only) - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Expansion Instructions (CQM1/SRM1 Only)

2-1

Expansion Instructions (CQM1/SRM1 Only)

118
A set of expansion instructions is available for the CQM1/SRM1 to aid in spe-
cial 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 CQM1 or SRM1 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 in the instructions table used by the Programming Device and
the CQM1 or SRM1 before they can be used in programming. The assign-
ments of expansion instructions in the instructions table will change the mean-
ing of instructions and operands, so be sure to set the instructions table
before programming and transfer the proper instructions table to the CQM1 or
SRM1 before program execution.
Example: CQM1 PCs
The specific instructions used in the following example are for the CQM1. The
concepts are the same for the SRM1.
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.)
Note Set the PC model to "CQM1" when setting the expansion instructions for the
SRM1 or CQM1 from the SSS.
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.
Section 2-1
INI
SPED
PULS
MAX
MIN
SUM

Advertisement

Table of Contents
loading

Table of Contents