PWM and HSC

Jozir

Member
Join Date
May 2018
Location
Vlaams-Brabant
Posts
55
Hey guys,

I have to configure a HSC with PWM (1000Hz) for a speed measurement but I have no Idea on how to configure this, any advice? already using 8 inputs for my sensor ( 4 normal ones 4 interrupt).
I want to sent a signal every 1 millisecond for a precise measurement.

PLC: s7-1200

Thanks!
 
Last edited:
HSCs don't read a PWM signal, they just read pulses. Sorry I can't help otherwise with your S7 application.
 
HSCs don't read a PWM signal, they just read pulses. Sorry I can't help otherwise with your S7 application.


I'm sorry I wrote it wrong.
The PWM starts sending a pulse every millisecond when my input 0.1 is high and the HSC then reads/counts those pulses. I'm planning on stopping the PWM ( and HSC if possible) when my input I0.2 gets high
 
Your request is still unclear to get exact help but yes you can use HSC input to process a PWM signal yet 1Khz is going to be difficult. You may have to add a pull down resistor. It sounds to me like you're using the same CPU to generate a PWM signal and feeding it back to an input.
If so are you using PWM or PTO? Try with lower frequency, around 20 Hz, to get things working and then experiment with higher frequency and a resistor.

Which version of S7-1200? Which firmware? Which TIA?
 
Your request is still unclear to get exact help but yes you can use HSC input to process a PWM signal yet 1Khz is going to be difficult. You may have to add a pull down resistor. It sounds to me like you're using the same CPU to generate a PWM signal and feeding it back to an input.
If so are you using PWM or PTO? Try with lower frequency, around 20 Hz, to get things working and then experiment with higher frequency and a resistor.

Which version of S7-1200? Which firmware? Which TIA?

I'm using PWM, TIA v13
 

Similar Topics

Software RSLogix 5000 V20 Hello, I am trying to use a 1769-HSC behind a SSR to control flow of a pump. The pump speed can be controlled by a PMW...
Replies
0
Views
2,325
I have a project to control the speed of motor DC using PWM Output on PLC and when im on working i have a several trouble and of of them is the...
Replies
6
Views
168
Hi All, I came up with this for ramping the PWM pin on the micro 820. I'm new to ladder logic so I am not sure if this will even work? Once...
Replies
6
Views
323
Hi, I am trying to have my PLC start a heating fan in a linear manner. A certain percentage at a certain received setpoint. To do this, I use a...
Replies
8
Views
1,521
Hi guys, i have never had to do a PWM Output or input before i have a Device that to dimm the lamp output from the ballast, the ballast has a 24V...
Replies
6
Views
937
Back
Top Bottom