Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 781

Table of Contents

Advertisement

Operation
Purpose
Application
Stopping
To stop pulse
Immediate stop
pulse output
output
(Number of
pulses setting
is not
preserved.)
Stop pulse
Immediate stop
output
(Number of
pulses setting
is not
preserved.)
Sample program
When CIO 0.00 turns ON in the following programming example, PULS(886) sets the number of output
pulses for pulse output 0. An absolute value of 5,000 pulses is set. SPED(885) is executed next to start
pulse output using the CW/CCW method in the clockwise direction in independent mode at a target
frequency of 500 Hz. .
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Frequency changes
Pulse frequency
Present
frequency
Execution of
SPED(885)
Pulse frequency
Present
frequency
Execution of
SPED(885)
@PULS
Pulse output: 0
#0000
Pulse type: Relative
#0000
D100
@SPED
Pulse output: 0
#0000
Direction:
#0001
CW in independent mode
D110
Stops the pulse output
immediately and clears
the number of output
pulses setting.
Time
Execution
of INI(880)
Stops the pulse output
immediately and clears
the number of output
pulses setting.
Time
Execution of
SPED(885)
D100
1388
Number of output pulses: 5,000
D101
0000
D110
01F4
Target frequency: 500 Hz
0000
D111
Pulse frequency
Target frequency:
500 Hz
5,000 pulses
PULS(881) and the
SPED(885) executed.
3. Instructions
Procedure/
Description
instruction
PULS(886)
SPED(885)
(Independent)
INI(880)
PULS(886)
SPED(885)
(Independent)
SPED(885),
(Independent,
Target
frequency of
0 Hz)
Time
745
3

Advertisement

Table of Contents
loading

Table of Contents