Omron CP1E-NA@@D@-@ Computer Hardware User Manual


 
2-325
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
High-speed Counter/Pulse
Output Instructions
2
PLS2
PLS2
Applicable Program Areas
Operands
P: Port Specifier
M: Output Mode
Instruction Mnemonic Variations
Function
code
Function
PULSE OUTPUT PLS2 @PLS2 887
PLS2(887) outputs a specified number of pulses
to the specified port. Pulse output starts at a spec-
ified startup frequency, accelerates to the target
frequency at a specified acceleration rate, decel-
erates at the specified deceleration rate, and stops
at approximately the same frequency as the star-
tup frequency.
Symbol
PLS2
Area Step program areas Subroutines Interrupt tasks
Usage OK OK OK
Operand Description Data type Size
P Port specifier --- 1
M Output mode --- 1
S First word of settings table WORD 6
F First word of starting frequency UDINT 2
P Port
0000 hex Pulse output 0
0001 hex Pulse output 1
P: Port specifier
M: Output mode
S: First word of settings table
F: First word of starting frequency
PLS2(887)
P
M
S
F
03478111215
M
Relative/absolute specifier
0 hex: Relative pulses
1 hex: Absolute pulses
Direction
0 hex: CW
1 hex: CCW
Pulse output method
1 hex: Pulse + direction
Alwa
y
s 0 hex.