Omron CP1H CPU Operation Manual page 680

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Auxiliary Area Allocations by Address
Address
Name
Words
Bits
A275
A275.09 High-speed
Counter 1
Overflow/
Underflow
Flag
A275.10 High-speed
Counter 1
Count Direc-
tion
A276
All
Pulse Output
and
0 PV
A277
A278
All
Pulse Output
and
1 PV
A279
A280
A280.00 Pulse Output
0 Accel/Decel
Flag
A280.01 Pulse Output
0
Overflow/
Underflow
Flag
646
Function
This flag indicates when an overflow
or underflow has occurred in the
high-speed counter 1 PV. (Used with
the linear mode counting range only.)
Cleared when operation starts.
Cleared when the PV is changed.
OFF: Normal
ON: Overflow or underflow
This flag indicates whether the high-
speed counter is currently being
incremented or decremented. The
counter PV for the current cycle is
compared with the PC in last cycle to
determine the direction.
OFF: Decrementing
ON: Incrementing
Contain the number of pulses output
from the corresponding pulse output
port.
PV range: 80000000 to 7FFFFFFF
hex
(-2,147,483,648 to 2,147,483,647)
When pulses are being output in the
CW direction, the PV is incremented
by 1 for each pulse.
When pulses are being output in the
CCW direction, the PV is decre-
mented by 1 for each pulse.
PV after overflow: 7FFFFFFF hex
PV after underflow: 80000000 hex
A277 contains the leftmost 4 digits
and A276 contains the rightmost 4
digits of the pulse output 0 PV.
A279 contains the leftmost 4 digits
and A278 contains the rightmost 4
digits of the pulse output 1 PV.
Cleared when operation starts.
Note
If the coordinate system is
relative coordinates (unde-
fined origin), the PV will be
cleared to 0 when a pulse
output starts, i.e. when a
pulse
output
instruction
(SPED(885), ACC(888), or
PLS2(887)) is executed.
This flag will be ON when pulses are
being output from pulse output 0
according to an ACC(888) or
PLS2(887) instruction and the output
frequency is being changed in steps
(accelerating or decelerating).
Cleared when operation starts or
stops.
OFF: Constant speed
ON: Accelerating or decelerating
This flag indicates when an overflow
or underflow has occurred in the
pulse output 0 PV.
Cleared when operation starts.
OFF: Normal
ON: Overflow or underflow
Settings
Status
Status
after
at star-
mode
change
---
---
Cleared
---
---
Cleared
---
---
Cleared
Cleared
---
---
Cleared
---
---
Cleared
Appendix D
Write
Related
timing
flags, set-
tup
tings
Refreshed
---
when an
overflow or
underflow
occurs.
Setting
---
used for
high-speed
counter,
valid dur-
ing counter
operation.
Refreshed
---
each cycle
during
oversee
---
process.
Refreshed
when the
INI(880)
instruction
is exe-
cuted (PV
change).
Refreshed
---
each cycle
during
oversee
process.
Cleared
---
when the
PV is
changed
by the
INI(880)
instruction.
Refreshed
when an
overflow or
underflow
occurs.

Advertisement

Table of Contents
loading

Table of Contents