Omron CP1E CPU UNIT SOFTWARE User Manual page 180

Cp1e cpu unit software
Table of Contents

Advertisement

12 Pulse Outputs
Relationship between the Coordinate System and Pulse Specification
The following table shows the pulse output operation for the four possible combinations of the coor-
dinate systems (absolute or relative) and the pulse output (absolute or relative) specified when the
PULS or PLS2 instruction is executed.
Pulse output
specified in PULS
or PLS2
Relative pulse
specification
Absolute pulse
specification
12-12
Relative coordinate system
Origin undefined:
The No-origin Flag will be ON.
Positions the system to another position relative to the present position.
Number of movement pulses = Number of pulses setting
The pulse output PV after instruction execution =
Number of movement pulses = Number of
pulses setting
The pulse output PV is reset to 0 just before
pulses are output. After that, the specified
number of pulses is output.
The following example shows the number of
pulses setting = 100 counterclockwise.
Number of pulses setting
Number of
movement pulses
100
Pulse output PV
Target position
Present position=0
Pulse output PV range:
8000 0000 to 7FFF FFFF hex
Number of pulses setting range:
0000 0000 to 7FFF FFFF hex
The absolute pulse specification cannot be
used when the origin location is undefined, i.e.,
when the system is operating in the relative
coordinate system. An instruction execution
error will occur.
Absolute coordinate system
Origin defined:
The No-origin Flag will be OFF.
The pulse output PV after instruction
execution = PV + Number of movement
pulses.
The following example shows the num-
ber of pulses setting = 100 counterclock-
wise.
Number of pulses setting
Number of movement
pulses
100
0
Target position
Present position
Origin
Pulse output PV range:
8000 0000 to 7FFF FFFF hex
Number of pulses setting range:
0000 0000 to 7FFF FFFF hex
Positions the system to an absolute
position relative to the origin.The num-
ber of movement pulses and movement
direction are calculated automatically
from the present position (pulse output
PV) and target position.
The following example shows the num-
ber of pulses setting = +100.
+ 100
+ 200
0
Target position=
Present position
Number of pulses setting
Origin
Number of movement pulses = Number
of pulses setting − Pulse output PV
when instruction is executed. The move-
ment direction is determined automati-
cally.
Pulse output PV when instruction is exe-
cuted = Number of pulses setting
Pulse output PV range:
8000 0000 to 7FFF FFFF hex
Number of pulses setting range:
8000 0000 to 7FFF FFFF hex
CP1E CPU Unit Software User's Manual(W480)
Pulse output
PV
Pulse output
PV

Advertisement

Table of Contents
loading

Table of Contents