EasyManua.ls Logo

Omron SYSMAC CV Series - Page 164

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
!
(122)
MTIM 0050 D02000 0002
0000
00
152
If D
1
is in the CIO, G, or A Area, the reset bit and pause bit can be controlled with
SET(016) and RSET(017). If D
1
is in the DM or EM Area, these bits can be con-
trolled with the ANDW(130) and ORW(131) instructions. The pause bit and the
reset bit are effective only when the instruction execution condition is ON.
When fewer than eight outputs are needed, set the SV that follows the last one to
0000. SVs following the one set to 0000 are not compared to the PV.
The following figure shows the functions of bits in D
1
.
15 to 10 not used 09 08 07 06 05 04 03 02 01 00
Completion Flags for
SVs in S through S+7
(Bit 0n contains the
Flag for the SV in
S+n.)
Pause Bit
Reset Bit
D
1
:
Precautions S cannot be one of the last seven addresses in a data area because this operand
designates the first of eight words.
The set value must be BCD between 000.0 and 999.9. The decimal point is not
entered.
Caution A50003 (Error Flag) will not turn ON and execution will continue even if the SV is
not BCD.
The MTIM(122) PV is inaccurate when the time between instruction executions
exceeds 1.6 s. The same MTIM(122) instruction can be input into the program
several times so the instruction is executed more frequently, but only as many as
necessary should be added to minimize the program execution time.
The set values in S through S+7 must be BCD, but the ER (A50003) Flag will not
be turned ON, and the instruction will be executed even if the contents are not
BCD.
Note: Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
Example Timing will start in the following example when CIO 000000 is ON and
CIO 000508 changes from OFF to ON. The PV will be output to D02000
Comparisons will be made between the value in D02000 and the SV in CIO 0002
through CIO 0009 (S to S+7) and the corresponding bits in CIO 0050 will be
turned on whenever the PV is greater than or equal to an SV, for example, CIO
005000 will be turned ON when the PV reaches 0155 (15.5 s).
The timer will restart from 0000 when the PV reaches 9999.
If CIO 005008 turns ON, the PV will be reset to 0000 and all Completion Flags
will be turned OFF and then counting will restart when CIO 005008 turns OFF
again.
If CIO 005009 turns ON, timing will stop until CIO 005009 turns OFF again.
CIO 005008 and CIO 005009 are effective only while CIO 00000 is ON.
Address Instruction Operands
00000 LD 000000
00001 MTIM(122)
0050
D02000
0002
Timer and Counter Instructions Section 5-13

Table of Contents

Related product manuals