Panasonic FP0H User Manual page 139

Control unit positioning/pwm output/high-speed counter
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

 Control code
Frequency
S
(Hz)
K0
1.5
K1
2.0
K2
4.0
K3
6.0
K4
8.0
K5
10.0
K6
20.0
K7
50.0
K8
100.0
K9
200.0
K10
400.0
K11
500.0
K12
700.0
K13
1000.0
K14
1300.0
K15
1600.0
 Example of program
The following sample shows the program for performing the PWM output with 1kHz and the
duty ratio of 50% from CH0 (Y0).
R0
DF
R1
REFERENCE
For details of the allocations of I/O and flags, refer to "12.2.3 When Using
PWM Output Function".
For details of the FPΣ mode, refer to "11. FPΣ Mode".
Cycle (ms)
Resolution
666.67
500.00
250.00
166.67
125.00
100.00
50.00
20.00
1000
10.00
5.00
2.50
2.00
1.48
1.00
0.77
0.625
F0 MV
K13
F0 MV
K500
F173 PWMH
DT0
Frequency
S
(Hz)
K16
2000.0
K17
3000.0
K18
6000.0
K19
12500.0
K20
15000.0
K21
20000.0
K22
25000.0
K23
30000.0
K24
40000.0
K25
50000.0
K26
60000.0
K27
70000.0
K28
80000.0
K29
90000.0
K30
100000.0
DT0
FPΣ PWM
K13: f=1KHz
T=1ms
DT1
K500:50.0%
K0
CH No.0 PWM
9.1 PWM Output Function
Cycle
Resolution
(ms)
0.50
0.33
0.17
0.08
0.067
0.050
1000
0.040
0.033
0.025
0.020
0.017
0.0143
0.0125
0.0111
100
0.010
9-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents