Sign in to follow this  
Followers 0
denny

Digital Output

2 posts in this topic

Hi All I am trying to calculate and output a digital pulse train for a missing leg (D) of a 4 legged network as below. I have pulse inputs for the total load (T) and 3 of the legs (A B C) I need to calculate what (D) is and output this result in pulse format every minute. T=A+B+C+D D=T-(A+B+C) At the moment I have an FX1N PLC counting the pulses from each of the channels and calculating the difference every minute. The counters then reset and start counting data for the next interval period. My problem is that I can not figure out how to output the result value I am getting in the form of a pulse train. (Please see example below) Example of 1 minute result, D= 160-(40+30+50) = 40 How can I output this result in the form of pulses? Would appreciate any help on this. Regards Denny

Share this post


Link to post
Share on other sites
What about the PLSY instruction? This instruction will output a specified number of pulses at a set freqeuncy. For instance PLSY K1000 D0 Y0 K1000 = 1000Hz D0 = Nr of pulses Hope this helps

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0