![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268930.webp)
891
High-speed Counter/Pulse Output Instructions
Section 3-21
3-21-7 PULSE OUTPUT: PLS2(887) (CJ1M-CPU21/22/23 Only)
Purpose
PLS2(887) outputs a specified number of pulses to the specified port. Pulse
output starts at a specified startup frequency, accelerates to the target fre-
quency at a specified acceleration rate, decelerates at the specified decelera-
tion rate, and stops at approximately the same frequency as the startup
frequency. Only independent mode positioning is supported.
PLS2(887) can also be executed during pulse output to change the number of
output pulses, target frequency, acceleration rate, or deceleration rate.
PLS2(887) can thus be used for sloped speed changes with different acceler-
ation and deceleration rates, target position changes, target and speed
changes, or direction changes.
This instruction is supported by CJ1M-CPU21/22/23 CPU Units only.
Ladder Symbol
Variations
Applicable Program Areas
Operands
P: Port Specifier
The port specifier indicates the port.
M: Output Mode
The content of M specifies the parameters for the pulse output as follows:
PLS2(887)
P
M
S
F
P:
Port specifier
M:
Output mode
S:
First word of settings table
F:
First word of starting frequency
Variations
Executed Each Cycle for ON Condition
PLS2(887)
Executed Once for Upward Differentiation
@PLS2(887)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
P
Port
0000 hex
Pulse output 0
0001 hex
Pulse output 1
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 (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Always 0 hex.
Note:
Use the same pulse output method when using both pulse outputs 0 and 1.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...