A-45
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A
-1 In
struction
Fu
nctio
n
s
App
A-1-1
8
High-speed Cou
nter/Pulse
Output In
str
uctions
ACCELERA-
TION CON-
TROL
ACC
@
Outputs pulses to the specified output port at the specified fre-
quency using the specified acceleration and deceleration rate.
P: Port Specifier
* Can only be used in CP2E-N
3
0/40/60D
-
.
M: Output Mode
S: First Word of Settings Table
Instruction
Mnemonic
Variations
Symbol/Operand
Function
P
: Port specifier
M
: Output mode
S
: First word of settings table
ACC(
888
)
P
M
S
Target frequency
Pulse output started
Pulse output stopped
Acceleration
and
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
Mode
0 hex: Continuous mode
1 hex: Independent mode
Direction
0 hex: CW
1 hex: CCW
Pulse output method
1 hex: Pulse + direction
Always 0 hex.
S+1
S+2
S
0
15
Lower word with target frequency
Upper word with target frequency
0 to 100000 Hz
(0000 0000 to 0001
8
6A0 hex)
Specify the frequency after acceleration or deceleration in Hz.
Acceleration/deceleration rate
Specify the increase or decrease in the
frequency per pulse control period (4 ms).
1 to 65535 Hz (#0001 to FFFF)
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......