New Instruction
FUN139 FUN139
High Speed Pulse Width Modulation Output
HSPWM HSPWM
Pw: PWM output
(0=Y0ÿ 1=Y2ÿ 2=Y4ÿ 3=Y6)
Op:Output polarity; 0=Normal
1=Inverse of output
Rs :Resolution; 0=1/100 (1%)
1=1/1000 (0.1%)
Pn :Setting of output frequency(0~255)
OR: Setting register of output pulse
width (0~100 or 0~1000)
WR:Working register
Y WX WY WM WS TMR CTR HR IR OR SR ROR DR K
Range
Yn of WX0 WY0 WM0 WS0 T0 C0 R0 R3840 R3904 R3968 R5000 D0
main #" #" #" #" #" #" #" #" #" #" #" #"
Operand
unit WX240 WY240 WM1896 WS984 T255 C255 R3839 R3903 R3967 R4167 R8071 D4095
Pw Ë% 003
Op 001
Rs 001
Pn Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% 00255
OR Ë% Ë% Ë% 001000
WR Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë% Ë%
PWM output frequency is 72Hz~18.432KHz while resolution is 1/1000.
PWM output frequency is 720Hz~184.32KHz while resolution is 1/100.
When operation control "EN"=1, the specified digital output will perform the
PWM output, the expression for output frequency as shown bellow:
184320
1. while Rs(Resolution)=1/100
f =
pwm
(Pn + 1)
18432
2. while Rs(Resolution)=1/1000
f =
pwm
(Pn + 1)
Example 1: If Pn(Setting of output frequency)=50, Rs=0 (1/100), then
184320
=3614.117& ..R" 3.6KHz
f
pwm
(50 1)
1
T(Period)= R" 277uS
f
pwm
For Rs=1/100ÿ if OR(Setting of output pulse width)=1, then
ToR" 2.7uS; if OR(Setting of output pulse width)=50, thenToR" 140uS.
9-81
New Instruction
FUN139 FUN139
High Speed Pulse Width Modulation Output
HSPWM HSPWM
.Output wavefrom
(1).Pn (Output frequency)=50, Rs=0 (1/100), OR (Output pulse width)=1 :
R"
R"
(2). Pn (Output frequency)=50, Rs=0 (1/100), OR(Output pulse width)=50 :
R"
R"
Example 2: If Pn(Setting of output frequency)=200,Rs=1(1/1000), then
18432
R" 91.7Hz
f =
pwm
(200 +1)
1
T(Period)= R" 10.9mS
f
pwm
For Rs=1/1000, if OR (Setting of output pulse width)=10, then
ToR" 109uSÿif OR (Setting of output pulse width)=800, then ToR" 8.72mS.
9-82
New Instruction
FUN139 FUN139
High Speed Pulse Width Modulation Output
HSPWM HSPWM
.Output wavefrom
(1).Pn (Output frequency)=200, Rs=1(1/1000), OR (Output pulse width)=10 :
R"
R"
(2).Pn (Output frequency)=200, Rs=1(1/1000), OR(Output pulse width)=800 :
R"
R"
9-83
Wyszukiwarka
Podobne podstrony:
AGH Sed 4 sed transport & deposition EN ver2 HANDOUTBlaupunkt CR5WH Alarm Clock Radio instrukcja EN i PLreadme enpgmplatz tast enen 4807 kaertchen wortstellung hspunto de cruz Cross Stitch precious moment puntotek Indios en canoaOutput Section Typeoutputformatwil en aktual wydarzFanuc 10T HS [KMT] L759 85ip output c (3)en 120więcej podobnych podstron