2 Instructions
2-308 CP1E CPU Unit Instructions Reference Manual(W483)
High-speed Counter/Pulse Output Instructions

INI

Applicable Program Areas
Operands
P: Port Specifier
Instruction Mne-
monic
Varia-
tions
Function
code Function
MODE CONTROL INI @INI 880
INI(880) can be used to execute the following operations
To start comparison with the high-speed counter comparison table
To stop comparison with the high-speed counter comparison table
To change the PV of the high-speed counter.
To change the PV of interrupt inputs in counter mode.
To change the PV of the pulse output (origin fixed at 0).
To stop pulse output.
Symbol
INI
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
P Port specifier WORD 1
C Control data UINT 1
NV First word with new PV DWORD 2
PPort
0000 hex Pulse output 0
0001 hex Pulse output 1
0010 hex High-speed counter 0
0011 hex High-speed counter 1
0012 hex High-speed counter 2
0013 hex High-speed counter 3
0014 hex High-speed counter 4
0015 hex High-speed counter 5 (Cannot be used in CP1E-E10D-)
1000 hex PWM(891) output 0
NV: First word with new PV
INI(880)
P
C
NV
P: Port specifier
C: Control data