7-27
Section
Pulse Output Instructions
490
Output Mode (M)
The value of M determines the output mode.
M
Pulse type
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
Possible values of F
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, 2, 3...
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
Time
General Operation
Operation in Independent
Mode
Содержание SRM1 - PROGRAMING 02-2001
Страница 1: ...Programmable Controllers Cat No W353 E1 06 SYSMAC CPM1 CPM1A CPM2A CPM2C SRM1 V2 PROGRAMMING MANUAL ...
Страница 2: ...CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Programming Manual Revised February 2008 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x ...
Страница 15: ...xvi ...