Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 508

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

Advertisement

Pulse Output Instructions
General Operation
1, 2, 3...
Operation in Independent
Mode
490
Output Mode (M)
The value of M determines the output mode.
M
000 Independent mode
001 Continuous mode
Operation in independent mode and continuous mode is described below.
Target Frequency (F)
The 4-digit BCD value of F sets the pulse frequency in units of 10 Hz, as shown
below. Setting F to 0000 will stop the pulse output from the specified output bit.
PC
CPM1A
0000 (stops pulse output) or 0002 to 0200 (20 Hz to 2 kHz)
CPM2A/CPM2C
0000 (stops pulse output) or 0001 to 1000 (10 Hz to 10 kHz)
The pulse output started by SPED(64) will continue until one of the following oc-
curs:
1. The INI(61) instruction is executed with C=003.
2. In independent mode, the number of output pulses specified by PULS(65) is
reached. (Execute PULS(65) before SPED(64).)
3. SPED(64) is executed again with the target frequency, F, set to #0000.
4. The PC is switched to PROGRAM mode.
Pulses can be output simultaneously and independently from two output bits.
When outputting pulses in independent mode, specify the number of pulses be-
forehand by executing PULS(65). The number of output pulses must be speci-
fied again with PULS(65) each time that the pulse output has been stopped.
The frequency cannot be changed with SPED(64) when pulses are already be-
ing output from the specified output bit by ACC(––) or PWM(––). An error will
occur and SR 25503 will be turned ON if SPED(64) is executed under these cir-
cumstances.
In independent mode, just the number of output pulses set by PULS(65) will be
output. The number of output pulses must be specified by executing PULS(65)
before executing SPED(64). (Pulses won't be output if the number of output
pulses has not been specified in advance.)
When the calculated number of movement pulses is negative, the absolute val-
ue of the number of movement pulses will be used. (For example, if the number
of movement pulses is –500, a value of 500 will be used.)
Pulse frequency
Section
Pulse type
Possible values of F
Time
7-27

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Table of Contents