Omron SYSMAC CS Series Instruction & Reference Manual page 719

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

S: First Word of Settings Table
15
S
Acceleration/deceleration rate
Specify the increase or decrease in the frequency per pulse control period (4 ms).
S+1
Lower word with target frequency
Upper word with target frequency
S+2
Specify the frequency after acceleration or deceleration in pps.
 Operand Specifications
Word addresses
Area
CIO
WR
HR
P, M
---
---
---
S
OK
OK
OK
Flags
Name
Label
Error Flag
P_ER
Function
ACC(888) starts pulse output on the port specified in P using the mode specified in M using the target
frequency and acceleration/deceleration rate specified in S. The frequency is increased every pulse
control period (4 ms) at the acceleration rate specified in S until the target frequency specified in S+1
and S+2 is reached.
Pulse output is started each time ACC(888) is executed. It is thus normally sufficient to use the
differentiated version (@ACC(888)) of the instruction or an execution condition that is turned ON only
for one scan.
Pulse frequency
Target frequency 1
Target frequency 2
ACC(888) 1 executed.
In continuous mode, pulse output will continue until stopped from the program.
In independent mode, pulse output will stop automatically when the number of pulses set with
PULS(886) in advance have been output.
An error will occur if the mode is changed between independent and continuous mode while pulses are
being output.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CJ1M CPU Units, no unit version
0
1 to 2000 pps (#0001 to 07D0)
CJ1M CPU Unit with unit version 2.0 or later or CJ2M CPU Unit
1 to 65535 pps (#0001 to FFFF)
0 to 100,000 pps
(0000 0000 to 0001 86A0 hex)
AR
T
C
DM
EM
---
---
---
---
---
OK
OK
OK
OK
OK
• ON if the specified range for P, M, or S is exceeded.
• ON if pulses are being output using ORG(889) or IFEED(892) for the specified port.
• ON if ACC(888) is executed to switch between independent and continuous mode for a port that is outputting
pulses for SPED(885), ACC(888), or PLS2(887).
• ON if ACC(888) is executed in an interrupt task when an instruction controlling pulse output is being executed in a
cyclic task.
• ON if ACC(888) is executed for an absolute pulse output in independent mode but the origin has not been estab-
lished.
• ON if bit 14 (parameter change operation compensation) of M is ON to specify not using parameter change opera-
tion compensation and a constant speed cannot be achieved when changing the parameters.
• For a CJ2M CPU Unit, ON for any function that uses I/O on the Pulse I/O Module even if a Pulse I/O Module is not
mounted.
• OFF in all other cases.
ACC(888) 2 executed.
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
OK
OK
---
Operation
Acceleration/deceleration rate
Time
3. Instructions
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
OK
TR
bits
---
---
3
685

Advertisement

Table of Contents
loading

Table of Contents