Omron CQM1H - PROGRAM Programming Manual page 228

Programmable controllers; inner boards
Table of Contents

Advertisement

Work Bits (Internal Relays)
00000
00001
00002
00003
21600
00004
21600
00004
21600
00006
00007
Differentiated Conditions
00000
22500
00001
00002
00003
00004
00005
mine output conditions for IR 10000, IR 10001, and IR 10002, i.e., to turn the
outputs allocated to these bits ON or OFF.
21600
00005
10000
00005
10001
10002
Work bits can also be used if differential treatment is necessary for some, but
not all, of the conditions required for execution of an instruction. In this exam-
ple, IR 10000 must be left ON continuously as long as IR 001001 is ON and
both IR 00002 and IR 00003 are OFF, or as long as IR 00004 is ON and IR
00005 is OFF. It must be turned ON for only one cycle each time IR 00000
turns ON (unless one of the preceding conditions is keeping it ON continu-
ously).
This action is easily programmed by using IR 22500 as a work bit as the oper-
and of the DIFFERENTIATE UP instruction (DIFU(13)). When IR 00000 turns
ON, IR 22500 will be turned ON for one cycle and then be turned OFF the
next cycle by DIFU(13). Assuming the other conditions controlling IR 10000
are not keeping it ON, the work bit IR 22500 will turn IR 10000 ON for one
cycle only.
DIFU(13) 22500
Address Instruction
00000
LD
00001
AND NOT
00002
OR
00003
OR NOT
00004
OUT
00005
LD
00006
AND
00007
AND NOT
00008
OUT
00009
LD
00010
OR NOT
00011
AND
00012
OUT
00013
LD NOT
00014
OR
00015
OR
00016
OUT
Address Instruction
00000
LD
00001
DIFU(13)
10000
00002
LD
00003
LD
00004
AND NOT
00005
AND NOT
00006
OR LD
00007
LD
00008
AND NOT
00009
OR LD
00010
OUT
Section 4-5
Operands
00000
00001
00002
00003
21600
21600
00004
00005
10000
21600
00004
00005
10001
21600
00006
00007
10002
Operands
00000
22500
22500
00001
00002
00003
---
00004
00005
---
10000
203

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents