FP
Σ
User's Manual
7.5 PWM Output Function
151
7.5 PWM Output Function
Use the instruction F173_PulseOutput_PWM. This instruction delivers a pulse width
modulated output signal according to the specified DUT.
The PWM output status is stored in special internal relays. To access special data registers
and special internal relays, use the PLC-independent system variables. You can insert system
variables directly into the POU body: Use the "Variables" dialog without entering a declaration
in the POU header. Please refer to the FPWIN Pro online help for detailed information on
using system variables.
Setting system registers
When using the PWM output function, make sure the high-speed counter function is not
allocated to channel 0 or channel 2.
1.
2.
3.
Procedure
1. Double-click "PLC" in the navigator
2. Double-click "System Registers"
3. Double-click "High-Speed Counter, Pulse-Catch Input, Interrupt Input"
4. Set the high-speed counters allocated to channel 0 and channel 2 to
"Unused"
REFERENCE
Please refer to the FPWIN Pro online help for details and a programming
example.
Output relays and system variables for FP
Σ
Channel and pulse output numbers
Channel no.
Pulse output
0 Y0
2 Y3
System variables for memory areas used
Description
System variable
Address
0
sys_bIsPulseChannel0Active R903A
Pulse output: control flag
for channel
2
sys_bIsPulseChannel2Active R903C
Summary of Contents for AFPG951T34
Page 7: ......
Page 17: ......
Page 18: ...Chapter 1 Safety Measures ...
Page 21: ......
Page 22: ...Chapter 2 Overview ...
Page 32: ...Chapter 3 CPU Types ...
Page 47: ...CPU Types FPΣ User s Manual 30 LD Body ...
Page 51: ...CPU Types FPΣ User s Manual 34 POU Header and LD Body ...
Page 55: ...CPU Types FPΣ User s Manual 38 LD Body ...
Page 57: ......
Page 58: ...Chapter 4 Expansion ...
Page 73: ......
Page 74: ...Chapter 5 I O Allocation ...
Page 81: ......
Page 82: ...Chapter 6 Installation and Wiring ...
Page 115: ......
Page 116: ...Chapter 7 High Speed Counter and Pulse Output ...
Page 169: ......
Page 170: ...Chapter 8 Communication ...
Page 227: ...Communication FPΣ User s Manual 210 LD Body ST Body ...
Page 233: ...Communication FPΣ User s Manual 216 POU Header LD Body ...
Page 236: ...FPΣ User s Manual 8 6 Program Controlled Communication 219 POU Header LD Body 1 2 ...
Page 237: ...Communication FPΣ User s Manual 220 2 2 ST Body ...
Page 266: ...Chapter 9 Security Functions ...
Page 273: ......
Page 274: ...Chapter 10 Other Functions ...
Page 277: ......
Page 278: ...Chapter 11 Troubleshooting ...
Page 289: ......
Page 290: ...Chapter 12 Appendix ...