Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 779

Table of Contents

Advertisement

PLS2
Instruction
PULSE OUTPUT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
P
Port specifier
M
Output mode
S
First word of settings table
F
First word of starting frequency
P: Port Specifier
P
0000 hex
Pulse output 0
0001 hex
Pulse output 1
M: Output Mode
15
12
11
M
Always 0 hex.
Note Use the same pulse output method when using both pulse outputs 0 and 1.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
PLS2
@PLS2
Block program areas
Step program areas
OK
OK
Description
8
7
4
3
0
Relative/absolute specifier
0 hex: Relative pulses
1 hex: Absolute pulses
Direction
0 hex: CW
1 hex: CCW
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Function
code
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
887
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.
PLS2
PLS2(887)
P: Port specifier
P
M
M: Output mode
S
S: First word of settings table
F
F: First word of starting frequency
Subroutines
OK
Port
3. Instructions
Function
SFC action or transition
Interrupt tasks
programs
OK
OK
Data type
Size
---
1
---
1
WORD
6
UDINT
2
3
741

Advertisement

Table of Contents
loading

Table of Contents