Appendices
A-44
CP2E CPU Unit Software User’s Manual(W614)
PULSE OUT-
PUT
PLS2 @ Performs trapezoidal positioning control as the following time
chart. Sets the target frequency, starting frequency, acceleration
and deceleration rate and direction.
P: Port Specifier
* Can only be used in CP2E-N30/40/60Dîš…-îš….
M: Output Mode
S: First Word of Settings Table
PULSE OUT-
PUT
PLS2 @ F: First Word of Starting Frequency
The starting frequency is given in F and F+1.
Instruction Mnemonic Variations Symbol/Operand Function
P: Port specifier
M: Output mode
S: First word of settings table
F: First word of starting frequency
PLS2(887)
P
M
S
F
Target frequency
Starting frequency
Acceleration
rate
Specified number
of pulses
Deceleration rate
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2*
0003 hex Pulse output 3*
03478111215
M
Relative/absolute specifier
0 hex: Relative pulses
1 hex: Absolute pulses
Direction
0 hex: CW
1 hex: CCW
Pulse output method
1 hex: Pulse + direction
Always 0 hex.
S1+4
S1+5
S1+2
S1+3
S1
0
15
S1+1
1 to 100,000 Hz
(0000 0000 to 0001 86A0 hex)
Specify the frequency after acceleration/deceleration in Hz.
1 to 65535 Hz (#0001 to FFFF)
Specify the increase or decrease in the
frequency per pulse control period (4 ms).
Lower word with number of output pulses
Upper word with number of output pulses
Lower word with target frequency
Upperword with target frequency
Deceleration rate
Acceleration rate
Relative pulse output: 0 to 2, 147, 483, 647
(0000 0000 to 7FFF FFFF hex)
Absolute pulse output: -2, 147, 483, 648 to 2, 147, 483, 647
(8000 0000 to 7FFF FFFF hex)
P: Port specifier
M: Output mode
S: First word of settings table
F: First word of starting frequency
PLS2(887)
P
M
S
F
F
F+1
0
15
Lower word with starting frequency
Upper word with starting frequency
0 to 100000 Hz
(0000 0000 to 0001 86A0 hex)
Specify the starting frequency in Hz.