EasyManua.ls Logo

Panasonic FP0R - PWM Output Function

Panasonic FP0R
348 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8-58
8.5 PWM Output Function
8.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
In order to use the PWM output function, it is necessary to set system register numbers no.402.
8.5.2 PWM Output Instruction F173
While X6 is on, a pulse with a period of 1 ms and duty
ratio of 50% is output from Y0 of specified channel
CH0.
When the program runs, the data table will be as
shown below.
Data table
DT100
Control code *1
: K13
DT101
Duty *2 : 50%
*1: Specify the control code by setting the K constant.
K
Frequency (Hz)
Period (ms)
K3
6
166.67
K4
7.5
133.33
K5
12.5
80.00
K6
25
40.00
K7
50
20.00
K8
100
10.00
K9
200
5.00
K10
400
2.50
K11
600
1.67
K12
800
1.25
K13
1.0 k
1.00
K14
1.2 k
0.83
K15
1.6 k
0.63
K16
2.0 k
0.50
K17
3.0 k
0.33
K18
4.8 k
0.21
*2: Specify the duty by setting the K constant.
Duty: K0 to K999(1000 resolutions)
Note:
If a value outside the specified range is written to the duty area while the instruction is being executed,
a frequency corrected to the maximum value is output. If written when instruction execution is started,
an operation error is occurred.

Table of Contents

Related product manuals