Pwm Output Function; Overview; Pwm Output Instruction F173 - Panasonic FP E Series User Manual

Table of Contents

Advertisement

6.5 PWM Output Function

6.5.1 Overview

PWM output function
With the F173 (PWMH) instruction, the pulse width modulation output of the specified duty ratio is
obtained.
System register setting
When using the PWM output function, set the channel CH0 and CH2 with system registers 400 and 401
to "High-speed counter not used".

6.5.2 PWM Output Instruction F173

Data table
DT100
Control code *1
DT101
Duty *2
*1: Specify the control code by setting the K constant.
Resolution of 1000
K
Frequency (Hz)
K0
1.5
K1
2.0
K2
4.1
K3
6.1
K4
8.1
K5
9.8
K6
19.5
K7
48.8
K8
97.7
K9
201.6
K10
403.2
K11
500.0
K12
694.4
K13
1.0 k
K14
1.3 k
K15
1.6 k
K16
2.1 k
K17
3.1 k
K18
6.3 k
K19
12.5 k
: K1
: 50%
Period (ms)
666.67
502.51
245.70
163.93
122.85
102.35
51.20
20.48
10.24
4.96
2.48
2.00
1.44
0.96
0.80
0.64
0.48
0.32
0.16
0.08
Resolution of 100
K
Frequency (Hz)
K20
15.6 k
K21
20.8 k
K22
25.0 k
K23
31.3 k
K24
41.7 k
Period (ms)
0.06
0.05
0.04
0.03
0.02
6-59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents