Pulse + Direction Input - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

Pulse + Direction Input

The Pulse + Direction Input uses a direction signal and a pulse signal. The count is incremented or dec-
remented depending on the status (ON or OFF) of the direction signal.
Pulse
Direction
0
Precautions for Correct Use
Precautions for Correct Use
• Interval of Phase-Z input signal
Do not input the phase-Z signal at a high frequency. The interval of phase-Z input signal must
be longer than 500µs.
If the phase-Z signal is input at a high frequency, cycle time exceeded error may occur.
Phase-Z signal
• Interval of direction changing
If the input setting is set for pulse+direction inputs, do not change the direction at a high fre-
quency. The interval of direction signal ON or OFF must be longer than 3ms plus the sum of
execution time for interrupt tasks that may possibly happen at the same time. (For CPU Unit
version 1.0 or earlier, the interval must be longer than 6 ms plus the sum of execution time for
interrupt tasks that may possibly happen at the same time.)
The sum of execution time for interrupt tasks in one cycle is stored in A442.
If the direction signal is ON or OFF at a high frequency, count values may not agree.
Pulse
Direction
• Interval of pulse input after direction changing
If the input setting is set for pulse+direction inputs, the Interval of pulse input after the direction
changing must be longer than 500µs.
If the pulse is output immediately after the direction changing, count values may not agree.
Pulse
Direction
CP1E CPU Unit Software User's Manual(W480)
1
2
3
4
5
6
7
500µs min.
3ms plus the sum of execution time
for interrupt tasks
500µs min.
8
7
6
5
4
3
2
11 High-speed Counters
Conditions for Incrementing/
Decrementing the Count
Direction
Pulse
Count value
OFF ON
OFF
No change
ON
OFF ON
Increment
No change
ON OFF
ON
1
0
No change
OFF
ON OFF
OFF
OFF ON
Decrement
No change
OFF ON
ON
No change
ON
ON OFF
No change
ON OFF
OFF
· The count is incremented when the
direction signal is ON and
decremented when it is OFF.
· Only rising edges are counted.
11
11-9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?

Table of Contents

Save PDF