EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Page 395

Omron CP1E CPU UNIT SOFTWARE
450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-41
Appendices
CP1E CPU Unit Software User’s Manual(W480)
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
T: Pulse type
N: Number of pulses
PULSE OUT-
PUT
PLS2 @ Performs trapezoidal positioning control as the following time
chart. Sets the target frequency, starting frequency, acceleration
and deceleration rate and direction.
P: Port Specifier
M: Output Mode
S: First Word of Settings Table
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
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)
P: Port specifier
M: Output mode
S: First word of settings table
F: First word of starting frequency
PLS2(887)
P
M
S
F
Target frequency
Starting frequency
Acceleration
rate
Specified number
of pulses
Deceleration rate
0000 hex Pulse output 0
0001 hex Pulse output 1
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
Always 0 hex.
S1+4
S1+5
S1+2
S1+3
S1
0
15
S1+1
1 to 100,000 Hz
(0000 0000 to 0001 86A0 hex)
Specify the frequency after acceleration/deceleration in Hz.
1 to 65535 Hz (#0001 to FFFF)
Specify the increase or decrease in the
frequency per pulse control period (4 ms).
Lower word with number of output pulses
Upper word with number of output pulses
Lower word with target frequency
Upperword with target frequency
Deceleration rate
Acceleration rate
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)

Table of Contents

Related product manuals