Set Pulses: Puls(886); Speed Output: Sped(885) - Omron CP1L-EL20DR-D Operation Manual

Sysmac cp series cp1l-el/em cpu unit
Table of Contents

Advertisement

Pulse Outputs

SET PULSES: PULS(886)

SPEED OUTPUT:
SPED(885)
PULS(886) is used to set the pulse output amount (number of output pulses)
for pulse outputs that are started later in the program using SPED(885) or
ACC(888) in independent mode.
PULS(886)
P
P: Port specifier
T
T: Pulse type
N
N: Number of pulses
Operand
P
Port specifier
0000 hex: Pulse output 0
0001 hex: Pulse output 1
T
Pulse type
0000 hex: Relative pulse output
0001 hex: Absolute pulse output
N
First number
N and N+1 contain the number of pulses setting. (N contains
of pulses word
the rightmost 4 digits and N+1 contains the leftmost 4 digits.)
Relative pulse output:
0000 0000 to 7FFF FFFF hex (0 to 2,147,483,647)
Absolute pulse output:
8000 0000 to 7FFF FFFF hex (-2,147,483,648 to
2,147,483,647)
SPED(885) can be used to perform pulse output without acceleration or
deceleration. Either independent mode positioning or continuous mode speed
control is possible. For independent mode positioning, the number of pulses is
set using PULS(886).
SPED(885) can also be executed during pulse output to change the output
frequency, creating stepwise changes in the speed.
SPED(885)
P
P: Port specifier
T
T: Output mode
F
F: First pulse frequency word
Operand
P
Port specifier
T
Output
Bits 0 to 3
mode
Bits 4 to 7
Bits 8 to 11
Bits 12 to 15 Not used. (Always 0 hex.)
F
First pulse frequency
word
Contents
Contents
0000 hex: Pulse output 0
0001 hex: Pulse output 1
Mode
0 hex: Continuous
1 hex: Independent
Direction
0 hex: CW
1 hex: CCW
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
F and F+1 contain the pulse frequency setting, in units of
1 Hz. (F contains the rightmost 4 digits and F+1 contains
the leftmost 4 digits.)
0000 0000 to 000186A0 hex (0 Hz to 100 kHz)
Section 7-2
279

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents