3. Instructions
766
CS/CJ/NSJ Series Instructions Reference Manual (W474)
ACC
Applicable Program Areas
Operands
P: Port Specifier
M: Output Mode
Note 1 Use the same pulse output mode when using pulse outputs 0 and 1 at the same time and when using 2
and 3 at the same time.
2 If a constant speed cannot be achieved after parameters are changed, operation compensation can be set
to continue operation. (CJ2M Only)
Instruction Mnemonic Variations
Function
code
Function
ACCELERATION CONTROL ACC @ACC 888
ACC(888) outputs pulses to the specified output
port at the specified frequency using the specified
acceleration and deceleration rate.
Symbol
ACC
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
P Port specifier --- 1
M Output mode --- 1
S First word of settings table WORD 3
P Port
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2 (CJ2M only)
0003 hex Pulse output 3 (CJ2M only)
P: Port specifier
M: Output mode
S: First word of settings table
ACC(888)
P
M
S
03478
111215
M
Mode
0 hex: Continuous mode
1 hex: Independent mode
Direction
0 hex: CW
1 hex: CCW
Pulse output method (See note 1.)
0 hex: CW/CCW
1 hex: Pulse + direction
Operation compensation for parameter changes (See note 2.)
0 hex: No operation compensation
4 hex: Operation compensation