3
Select the Use high speed counter 0 Check Box for high-speed counter 0.
4
Select Linear Mode for the counting mode.
5
Select Software reset (comparing) for the reset method.
6
Select Differential phase input for the input setting.
7
Close the PLC Settings Dialog Box.
8
Restart the PLC.
The changes made to the PLC Setup is applied.
Programming Example 1
In this example, the CTBL (COMPARISON TABLE LOAD) instruction is used to create an interrupt
when the target value is reached. Slowing and stopping are executed as interrupt tasks, allowing
high-speed processes to be executed without affecting the cycle time.
Ladder Program
Use the CTBL instruction to execute interrupt tasks when the target positions are reached.
Motor start
After motor stops, the stop position is checked.
Motor stopped
CP1E CPU Unit Software User's Manual(W480)
&3500
&3550
&3550
11 High-speed Counters
Reset with motor stopped
The High-speed Counter Reset
Bit 0 is turned ON and the reset
process is performed
Specifies high-speed counter 0
Specifies comparision with target
values and starts comparison
First word of comparision table
Turns ON motor run output
The stop position is normal if the
present value of the high-speed
counter (A270) is between 3500
(0DAC hex) and 3550 (0DDE hex).
Normal stop
position
The stop position is in error if
the present value of the high-
speed counter (A270) is
Error stop
greater than 3550 (0DDE hex).
position
11
11-29
Need help?
Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?
Questions and answers