Changing The Frequency; Stopping Pulse Output - Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM1A Pulse Output Functions
Beginning Pulse Output

2-6-4 Changing the Frequency

2-6-5 Stopping Pulse Output

Using SPED(64)
Using INI(61)
With SPED(64), set the bit location for pulse outputs (IR 01000 or IR 01001), the
output mode (independent, continuous), and the pulse frequency to begin the
pulse output.
@SPED(64)
P
M
F
P (3 digits BCD)
M (3 digits BCD)
F (4 digits BCD)
Note
1. Pulses can be output from only one bit at a time.
2. When pulse output is begun in independent mode, the number of pulses is
read when SPED(64) is executed. PULS(65) cannot be used to change the
number of pulses while pulses are being output.
To change the frequency during pulse output, change the frequency setting with
SPED(64). At that time, set the operands other than the frequency to the same
settings as at the beginning of pulse output.
@SPED(64)
P
M
F
P (3 digits BCD)
M (3 digits BCD)
F (4 digits BCD)
When pulses are output in the independent mode, the pulse output will automati-
cally stop after the number of pulses specified with PULS(65) has been output.
When pulses are output in the continuous mode, either of the following two
methods can be used to stop the pulse output.
1. Use SPED(64) to set the frequency to 0.
2. Use INI(61) to stop the pulse output.
The first method is to use SPED(64) to stop the pulse output by setting the fre-
quency to 0. For details, refer to 2-6-4 Changing the Frequency.
The second method is to use INI(61) to stop the pulse output, as follows:
@INI(61)
000
003
000
000: Outputs to IR 01000
010: Outputs to IR 01001
000: Independent mode
001 Continuous mode
For the beginning pulse output frequency, specify a
constant or word contents. The specified value and set
frequency are as follows:
Specified value:
Set frequency:
Same as at beginning of pulse output.
Same as at beginning of pulse output.
For the changed pulse output frequency, specify a
constant or word contents. The specified value and set
frequency are as follows:
Specified value:
Set frequency:
Section
0002 to 0200
20 to 2,000 Hz
0002 to 0200
20 to 2,000 Hz
2-6
133

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents