![background image](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493190.webp)
161
Built-in Outputs
Section 6-2
Pulse Output with Trapezoidal Acceleration/Deceleration (Using PLS2(887))
Using CW/CCW Limit Inputs for Pulse Output Functions Other than Origin Searches
(CJ1M CPU Unit Ver. 2.0 Only)
Pulse outputs will stop when either of the CW/CCW limit input signals
(A54008, A54009, A54108, and A54109) turns ON. With the previous version
of the CJ1M CPU Units, the CW/CCW limit input signals could be used only
with origin searches. With the CJ1M CPU Unit Ver. 2.0, these signals can be
used with other pulse output functions. It is also possible to set whether to
undefine the origin when a CW/CCW limit input signal turns ON for an origin
search or other pulse output function.
Procedure
1,2,3...
1.
Specify in the following PLC Setup settings whether to use the CW/CCW
limit input signals (A54008, A54009, A54108, and A54109) only for origin
searches or for all pulse output functions.
Pulse Output 0 Limit Input Signal Operation
(CJ1M CPU Unit Ver. 2.0 Only)
Determine the pulse output
method and port.
•
CW/CCW method
Pulse output 0 uses OUT0 (CIO 296100) and
OUT1 (CIO 296101).
Pulse output 1 uses OUT2 (CIO 296102) and
OUT3 (CIO 296103).
•
Pulse + direction method
Pulse output 0 uses OUT0 (CIO 296100) and
OUT2 (CIO 296102).
Pulse output 1 uses OUT1 (CIO 296101) and
OUT3 (CIO 296103).
The same pulse output method must be set for
both pulse output 0 and pulse output 1.
Wire the outputs.
Power supply for outputs: 24 V DC
PC Setup settings
•
Enable/disable the origin search function. Set the
various origin search parameters if the origin
search function is enabled.
The Origin Search Function Enable/Disable
setting for pulse outputs 0 and 1 is in the
rightmost digit (bits 00 to 03) of Programming
Console addresses 256 and 274, respectively.
Ladder program
•
PLS2(887): Specify port number and set the
output method (CW/CCW method or Pulse +
direction method) and pulse output control with
trapezoidal acceleration/deceleration (different
rates can be set for acceleration and
deceleration).
•
INI(880): Specify port number and stop pulse
output when necessary.
•
PRV(881): Specify port number and read pulse
output PV when necessary.
Programming
Console setting
address
Settings
Default
Function
Related
Auxiliary
Area flags/
bits
Time when
setting is read
by CPU Unit
Word
Bits
256
04 to 07 0 hex: Search
only
1 hex: Always
0 hex
Specifies whether to use the CW/
CCW limit input signals (reflected in
A54008, A54009, A54108, and
A54109) only for origin searches or
for all pulse output functions.
---
When power is
turned ON
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...