Sign in to follow this  
Followers 0
SufferingCitectNewbie

Micrologix 1762 if2-of2 clarification

4 posts in this topic

Good day, I'm currently working with an micrologix 1762 if2-of2 expansion card in slot 2 that is connected to a grundfos DME 375 L/Hr and a grundfos DME 60 L/Hr dosing pumps and I am having problems with the exact values for the analog output that I'll be using to control the pumps.  According to the 1762 if2-of2 manual the values for a 4-20 mA range is at at 0~32760 while the there is a small note in the 1766 manual that says that the range of a 1762 expansion card if2-of2 for 4-20 mA is between 6240 and 31200. I'm also not sure about the implementation of the program that will feed the 4~20 mA signal to the pumps. I'm basically using F8:6 as a value from 0~100% that scales to 4-20 mA that is then scaled to raw/proportional data form that is then fed to the pump.  

Share this post


Link to post
Share on other sites
0-32760 is the full scale raw value for the full scale input which is 0-21ma. ( see spec for the 1762-IF2OF2 module,page 21). https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwj4qpzA89zJAhVGwWMKHWRmBPMQFggcMAA&url=http%3A%2F%2Fliterature.rockwellautomation.com%2Fidc%2Fgroups%2Fliterature%2Fdocuments%2Fin%2F1762-in005_-en-p.pdf&usg=AFQjCNE4APohPAhEftjxGcBtAJenx8Qk3Q&sig2=PLZv9UaKBR5iDTwb-MuA-Q&bvm=bv.110151844,d.cGc 20/21=.9523 .9523*32760=31200 4/21=.1904 .1904*32760=6240 For the output why not just scale your 0-100 to 6240-31200 with a destination of the output address (O:2.0) Input Min = 0 Input Max = 100 Scaled Min = 6240 Scaled Max = 31200 Output = O:2.0 Edited by Mickey

Share this post


Link to post
Share on other sites
Thanks for the answer. As for why I did it like that, I was thinking along the line of "How do I translate 0~100% to a value that the dosing pump can understand but I don't know the exact decimal value of 4~20 mA so I'll just go 0~ 100% -> 4~20 mA -> <minimum decimal value>~<maximum decimal value> that I do not know alright time to go home and finish this tomorrow and get the exact value!". That and it tells me all the steps. Basically finish the entire program first THEN start doing optimizations of the code. Edited by SufferingCitectNewbie

Share this post


Link to post
Share on other sites
You're welcome.   Let us know how it works out.

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