A-43
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-18 High-speed Counter/Pulse
Output Instructions
SET PULSES PULS @ Sets the number of output pulses.Actual output of the pulses is
started later in the program using SPED(885) or ACC(888) in
independent mode.
P: Port specifier
* Can only be used in CP2E-N30/40/60Dîš…-îš….
T: Pulse type
N: Number of pulses
Instruction Mnemonic Variations Symbol/Operand Function
PULS(886)
P
T
N
P: Port specifier
T: Pulse type
N: Number of pulses
0000 hex Pulse output 0
0001 hex Pulse output 1
0002 hex Pulse output 2*
0003 hex Pulse output 3*
0000 hex Relative
0001 hex Absolute
N
N+1
0
15
Lower word with number of pulses
Upper word with number of pulses
Relative pulse output:
0 to 2, 147, 483, 647, (0000 0000 to 7FFF FFFF hex)
Absolute pulse output:
-2, 147, 483, 648 to 2, 147, 483, 647, (8000 0000 to 7FFF FFFF hex)