Omron CP1H CPU Operation Manual page 314

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Pulse Outputs
PULSE OUTPUT:
PLS2(887)
280
Operand
M
Output
Bits 0 to 3
mode
Bits 4 to 7
Bits 8 to 11
Bits 12 to 15 Not used. (Always 0 hex.)
S
First
S
set-
tings
table
word
S+1 and
S+2
Use PLS2(887) to set the startup frequency, acceleration rate, and decelera-
tion rate, and output a specified number of pulses. Only independent mode
positioning is supported.
PLS2(887) can also be executed during pulse output to change the number of
output pulses, target frequency, acceleration rate, or deceleration rate.
PLS2(887)
P: Port specifier
P
M: Output mode
M
S
S: First word of settings table
F
F: First word of starting frequency
Operand
P
Port specifier
Contents
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
Acceleration/deceleration rate:
0001 to FFFF hex (1 to 65,535 Hz)
Specify the increase or decrease in the frequency per
pulse control period (4 ms).
S and S+1 contain the target frequency setting, in units
of 1 Hz. (S+1 contains the rightmost 4 digits and S+2
contains the leftmost 4 digits.)
X/XA CPU Units:
Unit version 1.1 and later:
• Pulse outputs 0 to 3:
00000000 to 000186A0 hex (0 Hz to 100 kHz)
Unit version 1.0 and earlier:
• Pulse outputs 0 and 1:
00000000 to 000186A0 hex (0 Hz to 100 kHz)
• Pulse outputs 2 and 3:
00000000 to 00007530 hex (0 Hz to 30 kHz)
Y CPU Units:
• Pulse outputs 0 and 1:
00000000 to 000F4240 hex (0 Hz to 1 MHz)
• Pulse outputs 2 and 3:
00000000 to 0000186A0 hex (0 Hz to 100 kHz)
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