Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 942

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

High-speed Counter/Pulse Output Instructions
Flags
Example
000000
000001
Pulse frequency
Target frequency
1000 Hz
500 Hz
ACC(888) executed. ACC(888) executed.
902
and deceleration only.) An error will not occur.
Specified number
of pulses
Pulse frequency
(Specified with
PLS2(887).)
Target
frequency
Execution of
PLS2(887)
Name
Label
Error Flag
ER
When CIO 000000 turns ON in the following programming example,
ACC(888) starts pulse output from pulse output 0 in continuous mode in the
clockwise direction using the CW/CCW method. Pulse output is accelerated
at a rate of 20 Hz every 4 ms until the target frequency of 500 Hz is reached.
When CIO 000001 turns ON, ACC(888) changes to an acceleration rate of
10 Hz every 4 ms until the target frequency of 1,000 Hz is reached.
@ACC
#0000
#0000
D00100
@ACC
#0000
#0000
D00105
10 Hz/4 ms
20 Hz/4 ms
Time
Operation
ON if the specified range for P, M, or S is exceeded.
ON if pulses are being output using ORG(889) for the
specified port.
ON if ACC(888) is executed to switch between indepen-
dent 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.
D00100
Acceleration/deceleration rate: 20 Hz
0014
D00101
01F4
Target frequency: 500 Hz
0000
D00102
D00105
000A
Acceleration/deceleration rate: 10 Hz
D00106
03E8
Target frequency: 1,000 Hz
D00107
0000
Time
Section 3-21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents