![background image](http://html1.mh-extra.com/html/omron/cj1m-cpu21/cj1m-cpu21_operation-manual_742493188.webp)
159
Built-in Outputs
Section 6-2
Movement Direction when
Using Absolute Pulse
Specification
When operating with the absolute pulse specification, the movement direction
is selected automatically based on the relationship between the pulse output
PV when the instruction is executed and the specified target position. The
direction (CW/CCW) specified in an ACC(888) or SPED(885) instruction is not
effective.
Procedure
Single-phase Pulse Output without Acceleration/Deceleration
The number of output pulses setting cannot be changed during positioning.
■
PULS(886) and SPED(885)
Instruc-
tion exe-
cution
Origin search
performed by
ORG(889)
---
---
Status
changes to
“Origin
established.”
Status
changes to
“Origin
established.”
PV changed
by INI(880)
---
---
“Origin
established”
status contin-
ues.
Status
changes to
“Origin
established.”
The Pulse Output Reset
Bit (A54000 or A54100)
goes from OFF to ON.
Status
changes to
“Origin not
established.”
“Origin not
established”
status contin-
ues.
Status
changes to
“Origin not
established.”
“Origin not
established”
status contin-
ues.
Current status
PROGRAM mode
RUN mode or MONITOR
mode
Operation
Origin
established
Origin not
established
Origin
established
Origin not
established
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
PLC 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
•
PULS(886): Specify port number and set the number of
output pulses.
•
SPED(885): Specify port number and set the output
method (CW/CCW method or Pulse + direction method)
and pulse output control without acceleration/deceleration.
•
INI(880): Specify port number and stop pulse output when
necessary.
•
PRV(881): Specify port number and read pulse output PV
when necessary.
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...