Pls2, Applicable program areas operands, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 361: P: port specifier m: output mode
2-325
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
High-speed
Counter/Pulse
Ou
tp
ut I
n
stru
ctio
ns
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
0
3
4
7
8
11
12
15
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
Always 0 hex.