Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-CM001 Operation Manual page 213

Fqm1 series flexible motion controller
Table of Contents

Advertisement

Pulse Outputs
Changing the Frequency in Steps
Note
Accelerating the Frequency at a Fixed Rate
190
In this example, the SPED(885) instruction is used to change the speed of a
pulse output from port 2 from a frequency of 3,000 Hz to 50,000 Hz. In this
case, the pulse output is a CCW continuous mode output.
Frequency
Target frequency
50,000 Hz
Present frequency
3,000 Hz
SPED executed.
0002.00
0002.01
D00000
D00001
Speed control timing will be accurate when frequency changes are executed
by SPED(885) instructions in interrupt tasks called by input interrupts.
In this example, the ACC(888) instruction is used to accelerate the pulse out-
put from port 2 from a frequency of 3,000 Hz to 50,000 Hz at an acceleration
rate of 500 Hz/2 ms.
Frequency
Target frequency
50,000 Hz
Acceleration rate
500 Hz/2 ms
Present frequency
3,000 Hz
SPED executed.
0002.00
0002.01
D00000
0
D00001
C
D00002
SPED executed.
When CIO 0002.00 turns ON,
@SPED
SPED starts a pulse output from
#2
#1
port 2 at 3,000 Hz (3 kHz) in
#00000BB8
CCW continuous mode.
When CIO 0002.01 turns ON,
@SPED
#2
SPED changes the frequency
#1
to 50,000 Hz (50 kHz) in CCW
D00000
continuous mode.
C
3
5
0
Target frequency
0
0
0
0
ACC executed.
@SPED
When CIO 0002.00 turns ON,
#2
SPED starts a pulse output from
#1
port 2 at 3,000 Hz (3 kHz) in
#00000BB8
CCW continuous mode.
When CIO 0002.01 turns ON, ACC is
@ACC
#2
executed in mode 1 (CCW direction,
#1
acceleration, and continuous mode) to
D00000
accelerate the frequency at 500 Hz/2 ms
to 50,000 Hz (50 kHz).
1
F
4
Acceleration rate
3
5
0
Target frequency
0
0
0
0
Section 7-6
Time
Time

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fqm1-mma21Fqm1-mmp21

Table of Contents