Generating PWM with 1769-HSC

seino

Member
Join Date
Jun 2014
Location
fremont
Posts
1
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 signal with a frequency of 2Hz and 5VDC.

I'm having a hard time configuring the block to obtain a PWM signal. I have been able to turn the outputs on by doing the following:

Taking a signal from my flow sensor into a PID block to obtain a sufficient duty cycle based on a set point. Then I am taking the duty cycle into a scaling block and writing the scaling blocks output into Range12To15[0].HiLimOrDirWr. Meanwhile having a handler that one shots the Range12To15[0].LoadDirectWrite every time the input changes which allows me to write the input value of the hiLimOrDirWr to my currentCount which enables my ranges and turns on my output.

However, I still dont know how to turn a direct output into a pulse. This may be just a simple timer issue, but I am very new to PLC's and ladder logic, and I'm not sure if the things I've done so far are correct.

Thank you in advance for helping.


PS. I'm starting to think a simple digital output block would have worked easier and better since the frequency is so low. However, I already purchased the HSC and believe there is a way of making it work.
 

Similar Topics

Hey all, I'm trying to use a OB16IEF to generate a 24V PWM signal. According to the manual all i have to do is set... Local:#:C.Pt[#].PWMEnable...
Replies
7
Views
2,891
I need to drive a stepper motor with a PWM signal. I want to use a PLC to create the signal. Is there any documentation and/or sample code to...
Replies
8
Views
5,559
Hi! First time posting here. New to AB PLC family and working on this new project. Using Micro850 PLC and PV800 HMI and CCW. The project is to...
Replies
1
Views
1,420
Im using studio 5000, in my software, Im using E300 overload protection relay to control a motor. Studio 5000 Version 32.12 E300 Version 7...
Replies
5
Views
2,794
Hi, I have a new PCS7 project with a 6ES7 417-4XT07-0AB0 CPU. When compiling the System/module CFCs are generated from the hardware. But in my...
Replies
1
Views
1,243
Back
Top Bottom