707
High-speed Counter/Pulse Output Instructions Section 3-20
Description INI(880) performs the operation specified in C for the port specified in P. The
possible combinations of operations and ports are shown in the following
table.
■ Starting Comparison (C = 0000 hex)
If C is 0000 hex, INI(880) starts comparison of a high-speed counter’s PV to
the comparison table registered with CTBL(882).
Note A target value comparison table must be registered in advance with
CTBL(882). If INI(880) is executed without registering a table, the Error Flag
will turn ON.
■ Stopping Comparison (C = 0001 hex)
If C is 0001 hex, INI(880) stops comparison of a high-speed counter’s PV to
the comparison table registered with CTBL(882).
Indirect DM addresses
in binary
--- --- @ D0 to @ D32767
Indirect DM addresses
in BCD
--- --- *D0 to *D32767
Constants See descrip-
tion of oper-
and.
See descrip-
tion of oper-
and.
---
Data Registers --- --- ---
Index Registers --- --- ---
Indirect addressing
using Index Registers
--- --- ,IR0 to ,IR15
–2048 to +2047 ,IR0 to
–2048 to +2047 ,IR15
DR0 to DR15, IR0 to
IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area P C NV
P: Port specifier C: Control data
0000 hex:
Start
comparison
0001 hex:
Stop
comparison
0002 hex:
Change PV
0003 hex:
Stop pulse
output
0000 to 0003 hex:
Pulse output
Not allowed. Not allowed. OK OK
0010 to 0013 hex:
High-speed counter
input
OK OK OK Not allowed.
0100 to 0107 hex:
Interrupt input in
counter mode
Not allowed. Not allowed. OK Not allowed.
1000 or 1001 hex:
PWM output
Not allowed. Not allowed. Not allowed. OK