Is there any way to force Wonderware to see a number as an unsigned integer?
I have Wonderware 9.5, getting numbers from an AB PLC5/80E, and we're using RSLing Classic for communications. We are using the PLC to transfer data between various computers, and a couple fo the numbers we have need to be able to go up to 65535. The PLC only seems to be able to handle -322767 to 32767. When i set all the bits, I get -1 instead of 65535. Thats not really a big deal because we are not manipulating those numbers in the PLC at all, we're just storing them to be viewed on the MMI. But, I cannot figure out how to tell wonderware that the number is supposed to be unsigned. I remember in the past using some special syntax to control the datatype. For instance N7:0 as UINT (or maybe N7:0U?) in the item name field. That doesn't seem to be working, and I'm not sure if I simply have the wrong syntax, or if it only worked in the past because I had a driver that supported it. I doesn't make sense that the driver should have to 'support' different datatypes, I mean its all just a set of 16 1's and 0's. No real reason ww shouldn't be able to treat it however you want it treated.
Any suggestions?
-jeff
I have Wonderware 9.5, getting numbers from an AB PLC5/80E, and we're using RSLing Classic for communications. We are using the PLC to transfer data between various computers, and a couple fo the numbers we have need to be able to go up to 65535. The PLC only seems to be able to handle -322767 to 32767. When i set all the bits, I get -1 instead of 65535. Thats not really a big deal because we are not manipulating those numbers in the PLC at all, we're just storing them to be viewed on the MMI. But, I cannot figure out how to tell wonderware that the number is supposed to be unsigned. I remember in the past using some special syntax to control the datatype. For instance N7:0 as UINT (or maybe N7:0U?) in the item name field. That doesn't seem to be working, and I'm not sure if I simply have the wrong syntax, or if it only worked in the past because I had a driver that supported it. I doesn't make sense that the driver should have to 'support' different datatypes, I mean its all just a set of 16 1's and 0's. No real reason ww shouldn't be able to treat it however you want it treated.
Any suggestions?
-jeff