High
−
speed Counter/Pulse Output/ PWM Output
FP0
9
−
33
9.5 PWM Output Function
9.5
PWM Output Function
9.5.1
Outline of PWM Output Function
PWM output function
With the instruction
F170 (PWM)
, the specified duty ratio and pulse width modulation
is obtained.
Applicable to analog controls such as temperature control and light modulation.
Setting the system register
When using the PWM output function, set the channels corresponding to system
registers 400 to “Do not use high
−
speed counter.”
9.5.2
Instruction Used with PWM Output Function
PWM output instruction (F170)
X6
F0 MV, H5, DT100
F0 MV, K500, DT101
F170 PWM, DT100, K0
While X6 is in the on state, a pulse with a period of 840 ms and duty ratio of 50% is output
from Y0.
X7
F0 MV, H6, DT100
F0 MV, K300, DT101
F170 PWM, DT100, K1
While X7 is in the on state, a pulse with a period of 1.6 s and duty ratio of 30% is output
from Y1.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...