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-N
3
0/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(
88
7)
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*
000
3
hex
Pulse output
3
*
0
3
4
7
8
11
12
15
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
8
6A0 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, 4
8
3, 647
(0000 0000 to 7FFF FFFF hex)
Absolute pulse output: -2, 147, 4
8
3, 64
8
to 2, 147, 4
8
3, 647
(
8
000 0000 to 7FFF FFFF hex)
P
: Port specifier
M
: Output mode
S
: First word of settings table
F
: First word of starting frequency
PLS2(
88
7)
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
8
6A0 hex)
Specify the starting frequency in Hz.
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......