![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-units-programming-05-2007/cp1h-cpu-units-programming-05-2007_operation-manual_742081314.webp)
280
Pulse Outputs
Section 5-3
PULSE OUTPUT:
PLS2(887)
Use PLS2(887) to set the startup frequency, acceleration rate, and decelera-
tion rate, and output a specified number of pulses. 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.
M
Output
mode
Bits 0 to 3
Mode
0 hex: Continuous
1 hex: Independent
Bits 4 to 7
Direction
0 hex: CW
1 hex: CCW
Bits 8 to 11
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Bits 12 to 15 Not used. (Always 0 hex.)
S
First
set-
tings
table
word
S
Acceleration/deceleration rate:
0001 to FFFF hex (1 to 65,535 Hz)
Specify the increase or decrease in the frequency per
pulse control period (4 ms).
S+1 and
S+2
S and S+1 contain the target frequency setting, in units
of 1 Hz. (S+1 contains the rightmost 4 digits and S+2
contains the leftmost 4 digits.)
X/XA CPU Units:
Unit version 1.1 and later:
• Pulse outputs 0 to 3:
00000000 to 000186A0 hex (0 Hz to 100 kHz)
Unit version 1.0 and earlier:
• Pulse outputs 0 and 1:
00000000 to 000186A0 hex (0 Hz to 100 kHz)
• Pulse outputs 2 and 3:
00000000 to 00007530 hex (0 Hz to 30 kHz)
Y CPU Units:
• Pulse outputs 0 and 1:
00000000 to 000F4240 hex (0 Hz to 1 MHz)
• Pulse outputs 2 and 3:
00000000 to 0000186A0 hex (0 Hz to 100 kHz)
Operand
Contents
Operand
Contents
P
Port specifier
#0000: Pulse output 0
#0001: Pulse output 1
#0002: Pulse output 2
#0003: Pulse output 3
PLS2(887)
P
M
S
F
P:
Port specifier
M:
Output mode
S:
First word of settings table
F:
First word of starting frequency
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...