1. sayfa (Toplam 1 sayfa)

PWM ile Nanosaniye İşlemi

Gönderilme zamanı: 19 Kas 2019, 11:59
gönderen kuka92
Uğur Bey,

Yapmak istediğimiz birşey daha var.

20 us ON
199ms OFF

Bunu nasıl sağlayabiliriz. Saniyede 5 kere 20us çıkış vermek istiyoruz. Bunun için hangi komutu kullanmak gerekli?

Re: PWM ile Nanosaniye İşlemi

Gönderilme zamanı: 19 Kas 2019, 13:28
gönderen Uğur
PWM.PNG

Kod: Tümünü seç

When M1112 = ON, the unit of Y0 output pulse is 10μs, when M1112 = OFF, the unit is 100μs.
When M1070 = ON, the unit of Y1 output pulse is 100μs, when M1070 = OFF, the unit is 1ms.
When M1113 = ON, the unit of Y2 output pulse is 10μs, when M1113 = OFF, the unit is 100μs.
When M1113 = ON, the unit of Y2 output pulse is 100μs, when M1113 = OFF, the unit is 1ms. 
When M1071 = ON, the unit of Y3 output pulse is 100μs, when M1071 = OFF, the unit is 1ms.

Yukarıda göreceğiniz üzere PLC içerisinde 10 microsaniye birinin altına malesef inilememektedir.

Re: PWM ile Nanosaniye İşlemi

Gönderilme zamanı: 07 Ara 2019, 11:41
gönderen kuka92
Uğur Bey,

Yapmak istediğimiz birşey daha var.

20 us ON
199ms OFF

Bunu nasıl sağlayabiliriz. Saniyede 5 kere 20us çıkış vermek istiyoruz. Bunun için hangi komutu kullanmak gerekli?

Re: PWM ile Nanosaniye İşlemi

Gönderilme zamanı: 09 Ara 2019, 09:21
gönderen Uğur
M1113 ON ise göreceğiniz üzere Y2 zaman birimi 10us dir. Siz ON peryoduna 2 girerseniz 20 us aktif olur. Yine 199 ms = 199000 us yapar ve sizin tam peryoda girebileceğiniz zaman değeride max. 32767 x 10us ve buda 327670 us den yaklaşık 327.67 ms yapar.