shoelesscraig
Member
Ok, I just want to make sure I'm understanding this correctly. I know that in PanelBuilder32 I can select signed or unsigned integers. I have always choose "unsigned" for everything that I do, and I'm strictly an Allen-Bradley PLC guy. But, if I understand correctly, AB PLC's work ONLY with "signed numbers"...??? So, I am wondering...Since the PV's that I have built are always displaying numbers less than 32767, is this why I have never noticed a difference?? I mean, if I'm displaying an integer that will always have a range of 0-100 on my PV screen, and I go back and change the data type from "unsigned" like I have it now, to "signed", it will display the same, right??
I only ask because the next project I do will have to display numbers that may be in the 150,000 to 250,000 range. So, I'm assuming that I need to use a "floating point" number in the SLC (even though there will be no decimal point) and use the "signed" data type on the PV?? Does this sound right? Or does it still not matter whether I use signed or unsigned in the PV with this setup??
I only ask because the next project I do will have to display numbers that may be in the 150,000 to 250,000 range. So, I'm assuming that I need to use a "floating point" number in the SLC (even though there will be no decimal point) and use the "signed" data type on the PV?? Does this sound right? Or does it still not matter whether I use signed or unsigned in the PV with this setup??