24
Pulse Output Function (CQM1 Only) Section 1-3
2. The total number of pulses that will be output can be set with PULS(65) be-
fore execution of SPED(64). In this case, SPED(64) must be executed in
independent mode. The pulse output stops automatically when the num-
ber of pulses set by PULS(65) have been output.
Note Refer to the sections on SPED(64) and PULS(65) for more details on these
instructions.
PC Setup Settings Before executing SPED(64) to output pulses from an Output Unit, set the PC
to PROGRAM mode and make the following settings in the PC Setup.
In DM 6615, specify the output word that will be used for SPED(64) pulse out-
put to Output Units. (The bit is specified in the first operand in SPED(64).)
The content of DM 6615 (0000 to 0011) specifies output words IR 100 to
IR 111. For example, if DM 6615 is set to 0002, pulses will be output to
IR 102.
In the CQM1-CPU11/21-E CPUs, set direct output refreshing in DM 6639, as
shown below. (In CQM1-CPU4@-EV1 CPU Units the output refresh method
can be set to either direct or cyclic.)
Continuous Pulse Output Pulses will begin to be output at the specified output bit when SPED(64) is
executed. Set the output bit from 00 to 15 (D=000 to 150) and the frequency
from 20 Hz to 1000 Hz (F=0002 to 0100). Set the mode to continuous mode
(M=001).
The pulse output can be stopped by executing INI(61) with C=003 or execut-
ing SPED(64) again with the frequency set to 0. The frequency can be
changed by executing SPED(64) again with a different frequency setting.
Setting the Number of
Pulses
The total number of pulses that will be output can be set with PULS(65) before
executing SPED(64) in independent mode. The pulse output will stop auto-
matically when the number of pulses set by PULS(65) have been output.
15 0
0 0
Bit
DM6615
Output word (rightmost 2 digits, BCD): 00 to 11
Default: Pulse out