2 posts in this topic

Hi my problem may have a simple solution but i cant work it out.

I need to use the Divide function but it wont let me use a decimal point in either Source A or Source B. Is there a way to use a decimal point in Logix 500 Math instructions? Im using an AB Micrologix 1400 PLC.

Can you only use math instructions with whole numbers? is there a way around this?

Thanks

James

Share this post


Link to post
Share on other sites

I couldn't get it to work dividing an integer by a literal decimal number and storing in a decimal. What does work is dividing an integer by a literal and storing it in a float register or dividing an integer register by a float register and storing the result in a decimal:

ML1400_DecimalDivide.PNG.4ee81b624973944

 

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