Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 417

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Timer and Counter Instructions
7-15-8 MODE CONTROL – INI(61)
INI(61)
P
C
P1
Limitations
Description
P is not 000 or C is not between 000 and 003.
There is a CTBL(63) instruction using a different comparison format in
the subroutine called by another CTBL(63) instruction.
A CTBL(63) instruction using a different comparison format is executed
during comparison.
CTBL(63) is executed in an interrupt subroutine while a pulse I/O or
high-speed
SPED(64), PULS(65), ACC(––), PWM(––), or SYNC(––)) is being
executed in the main program.
Target Value Comparison Errors:
The number of target values (in TB) is not between 0001 and 0016.
A target value is not between F838 8608 and 0838 8607 (differential
phase mode, pulse + direction input mode, and up/down input mode).
A target value is not between 0000 0001 and 1677 7215 or a subroutine
number is not between 0000 and 0049 (increment mode).
If 0000 0000 is set in increment mode, 25503 (ER) will turn ON and the
instruction will not be executed.
Range Comparison Errors:
A range's upper limit value is less than its lower limit value.
A target value is not between F838 8608 and 0838 8607 (differential
phase mode, pulse + direction input mode, and up/down input mode).
A target value is not between 0000 0000 and 1677 7215 or a subroutine
number is not between 0000 and 0049 (increment mode).
Ladder Symbols
@INI(61)
P
C
P1
This instruction is not supported by SRM1(-V2) PCs.
In the CPM1/CPM1A PCs, P must be 000 and C must be 000 to 003.
In CPM2A/CPM2C PCs, P must be 000, 010, 100, 101, 102, or 103 and C must
be 000 to 005.
P1 must be 000 unless C is 002 or 004.
P1 and P1+1 must be in the same data area.
If a DM address is used for P1, it must be read/write DM.
When the execution condition is OFF, INI(61) is not executed. When the execu-
tion condition is ON, INI(61) is used to control high-speed counter operation and
stop pulse output.
counter
instruction
(INI(61),
Operand Data Areas
000, 010, 100, 101, 102, 103
IR, SR, AR, DM, HR, LR (or 000)
Section
PRV(62),
CTBL(63),
P: Port specifier
C: Control data
000 to 005
P1: First PV word
7-15
399

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents