Omron CP1H-CPU - 05-2006 Operation Manual page 305

Cp1h cpu unit
Table of Contents

Advertisement

Pulse Outputs
SET PULSES: PULS(886)
SPEED OUTPUT:
SPED(885)
274
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: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
T
Pulse type
#0000: Relative pulse output
#0001: 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:
00000000 to 7FFFFFFF hex (0 to 2,147,483,647)
Absolute pulse output:
80000000 to 7FFFFFFF 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
Contents
Contents
#0000: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
Section 5-3

Advertisement

Table of Contents
loading

Table of Contents