282
Pulse Outputs
Section 7-2
MODE CONTROL: INI(880)
In addition to the various interrupt and high-speed counter functions, INI(880)
can be used to change the pulse output PV or stop the pulse output.
Note
This section explains the functions related to pulse outputs only. For details on
the INI(880) instruction’s high-speed counter or interrupt functions, refer to 8-
1 Interrupt Functions or 7-1 High-speed Counters.
HIGH-SPEED COUNTER
PV READ: PRV(881)
In addition to its interrupt and high-speed counter functions, PRV(881) can be
used to read the pulse output PV or pulse output status information.
The status of the following flags is read as status information:
• Pulse Output Status Flag
• PV Underflow/Overflow Flag
• Pulse Output Amount Set Flag
• Pulse Output Completed Flag
• Pulse Output Flag
• No-origin Flag
• At Origin Flag
• Pulse Output Stopped Error Flag
Operand
Contents
P
Port specifier
0000 hex: Pulse output 0
0001 hex: Pulse output 1
C
Con-
trol
data
Bits 0 to 3
Not used. (Always 0 hex.)
Bits 4 to 7
Not used. (Always 0 hex.)
Bits 8 to 11
Pulse output method (See note.)
0 hex: CW/CCW
1 hex: Pulse + direction
Bits 12 to 15 Mode
0 hex: Origin search
1 hex: Origin return
Operand
Contents
P
Port specifier
0000 hex: Pulse output 0
0001 hex: Pulse output 1
1000 hex: PWM output 0
1001 hex: PWM output 1
C
Control data
0002 hex: Change the PV.
0003 hex: Stop pulse output.
NV
First word of new PV
NV and NV+1 contain the new PV when changing the
PV. (N contains the rightmost 4 digits and N+1 con-
tains the leftmost 4 digits.)
0000 0000 to FFFFFFFF hex
INI(880)
P
C
NV
P:
Port specifier
C:
Control data
NV:
First word of new PV
PRV(881)
P
C
D
P:
Port specifier
C:
Control data
D:
First destination word
Содержание CP1L-EL20DR-D
Страница 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Страница 4: ...iv...
Страница 10: ...x...
Страница 22: ...xxii...
Страница 34: ...xxxiv Software Licenses and Copyrights 7...
Страница 178: ...144 Connecting the CX Programmer Section 5 1 Click the Connect button to connect and then connection online is completed...
Страница 192: ...158 Trial Operation and Debugging Section 5 3...
Страница 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Страница 666: ...632 Trouble Shooting Section 11 7...
Страница 696: ...662 Standard Models Appendix A...
Страница 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Страница 836: ...802 PLC Setup Appendix G...
Страница 838: ...804 TCP Status Transitions Appendix H...
Страница 840: ...806 Ethernet Network Parameters Appendix I...
Страница 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Страница 844: ...810 Ethernet Specifications Appendix K...
Страница 851: ...Index 817 work words 118 write protection 447...
Страница 852: ...818 Index...
Страница 854: ...820 Revision History...
Страница 855: ......