Coding Right-Hand Instructions - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Coding Right-hand Instructions

Mnemonic
Code
BCMP
68
STIM
69
DSW
87
7SEG
88
INT
89
!Caution If pin 4 of the CQM1H's DIP switch is OFF, the default function codes will be
5-6

Coding Right-hand Instructions

Mnemonic
Code
DBSL
---
DEG
---
EXP
---
FCS
---
FIX
---
The expansion instruction assignments can be stored on Memory Cassettes
when they are used. Exercise care when using a Memory Cassette that has
been used with another CQM1H and be sure the proper expansion instruction
assignments are being used.
used and user-set expansion instruction assignments will be ignored. The
default function code assignments will also be set whenever power is turned
on, deleting any previous settings.
Make sure that pin 4 of the CPU Unit DIP switch is ON when reading a pro-
gram from the Memory Cassette that has user-set expansion instruction
assignments. If pin 4 is OFF, the default function code assignments will be
used for expansion instructions in programs read from a Memory Cassette. (In
this case, the program read from the Memory Cassette and the program on
the Memory Cassette will not match when the two are compared.)
Writing mnemonic code for ladder instructions is described in SECTION 4
Ladder-diagram Programming. Converting the information in the ladder dia-
gram symbol for all other instructions follows the same pattern, as described
below, and is not specified for each instruction individually.
The first word of any instruction defines the instruction and provides any defin-
ers. If the instruction requires only a signal bit operand with no definer, the bit
operand is also placed on the same line as the mnemonic. All other operands
are placed on lines after the instruction line, one operand per line and in the
same order as they appear in the ladder symbol for the instruction.
The address and instruction columns of the mnemonic code table are filled in
for the instruction word only. For all other lines, the left two columns are left
blank. If the instruction requires no definer or bit operand, the data column is
left blank for first line. It is a good idea to cross through any blank data column
spaces (for all instruction words that do not require data) so that the data col-
umn can be quickly scanned to see if any addresses have been left out.
If an IR or SR address is used in the data column, the left side of the column
is left blank. If any other data area is used, the data area abbreviation is
placed on the left side and the address is placed on the right side. If a con-
stant is to be input, the number symbol (#) is placed on the left side of the data
column and the number to be input is placed on the right side. Any numbers
input as definers in the instruction word do not require the number symbol on
the right side. TIM/CNT bits, once defined as a timer or counter, take a TIM
(timer) or CNT (counter) prefix.
When coding an instruction that has a function code, be sure to write in the
function code, which will be necessary when inputting the instruction via the
Programming Console. Also be sure to designate the differentiated instruction
with the @ symbol.
Mnemonic
Code
NEG
---
NEGL
---
PID
---
PLS2
---
PMCR
---
PWM
---
Section 5-6
Mnemonic
Code
ZCP
---
ZCPL
---
+F
---
–F
---
*F
---
/F
---
215

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents