Mbelanger
Member
Hi everyone,
1st of all sorry for my bad english as you will see english is not my promary language. Im new to this forum and so far im very impress with the amount of usefull information i found.
Right now im stuck with a micrologix 1000 and i need to deal with data that will exceed 32767.
I was wondering is it possible to use Dint cause it would solve my problem if so. I read a lot of thing about enable overflow but i dont understand how to do it exactly.
Here a simple exemple of what im trying to do :
User ask for 120.12 inch via the HMI
12012 is put into an Interger (N7:0)
N7:0 * 10 = (would need a Dint)
then i would divide the Dint by 6.
Unfortunatly i need to make my multiplication before i divide.
thank you for your help.
1st of all sorry for my bad english as you will see english is not my promary language. Im new to this forum and so far im very impress with the amount of usefull information i found.
Right now im stuck with a micrologix 1000 and i need to deal with data that will exceed 32767.
I was wondering is it possible to use Dint cause it would solve my problem if so. I read a lot of thing about enable overflow but i dont understand how to do it exactly.
Here a simple exemple of what im trying to do :
User ask for 120.12 inch via the HMI
12012 is put into an Interger (N7:0)
N7:0 * 10 = (would need a Dint)
then i would divide the Dint by 6.
Unfortunatly i need to make my multiplication before i divide.
thank you for your help.