72
Auxiliary Area Data Allocation
Section 4-3
4-3-2
Auxiliary Area Flags and Bits for Built-in Outputs
The following tables show the Auxiliary Area words and bits that are related to
the CJ1M CPU Unit's built-in outputs. These allocations apply to CPU Units
equipped with the built-in I/O functions only.
Name
Address
Description
Read/Write Times when data is
accessed
Pulse Output 0 PV
A276 to
A277
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 direc-
tion, the PV is incremented by 1 for each pulse.
When pulses are being output in the CCW direc-
tion, the PV is decremented 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 out-
put 0 PV.
A279 contains the leftmost 4 digits and A278
contains the rightmost 4 digits of the pulse out-
put 1 PV.
Note
If the coordinate system is relative coor-
dinates (undefined 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.
Read only
• Cleared when
power is turned
ON.
• Cleared when
operation starts.
• Refreshed each
cycle during over-
see process.
• Refreshed when
the INI(880)
instruction is exe-
cuted for the cor-
responding pulse
output.
Pulse Output 1 PV
A278 to
A279
Pulse Output 0
Accel/Decel Flag
A28000
This flag will be ON when pulses are being out-
put from pulse output 0 according to an
ACC(888) or PLS2(887) instruction and the out-
put frequency is being changed in steps (accel-
erating or decelerating).
0: Constant speed
1: Accelerating or decelerating
Read only
• Cleared when
power is turned
ON.
• Cleared when
operation starts or
stops.
• Refreshed each
cycle during over-
see process.
Pulse Output 0
Overflow/Underflow
Flag
A28001
This flag indicates when an overflow or under-
flow has occurred in the pulse output 0 PV.
0: Normal
1: Overflow or underflow
Read only
• Cleared when
power is turned
ON.
• Cleared when
operation starts.
• Cleared when the
PV is changed by
the INI(880)
instruction.
• Refreshed when
an overflow or
underflow occurs.
Pulse Output 0 Out-
put Amount Set Flag
A28002
ON when the number of output pulses for pulse
output 0 has been set with the PULS instruction.
0: No setting
1: Setting made
Read only
• Cleared when
power is turned
ON.
• Cleared when
operation starts or
stops.
• Refreshed when
the PULS instruc-
tion is executed.
• Refreshed when
pulse output
stops.
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...