fun139 hs pwm output en


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 HANDOUT
Blaupunkt CR5WH Alarm Clock Radio instrukcja EN i PL
readme en
pgmplatz tast en
en 48
07 kaertchen wortstellung hs
punto de cruz Cross Stitch precious moment puntotek Indios en canoa
Output Section Type
outputformat
wil en aktual wydarz
Fanuc 10T HS [KMT] L759 85
ip output c (3)
en 120

więcej podobnych podstron