dbh6
Lifetime Supporting Member
Hello All,
Quick question, in Logix 5000 i noticed that you cannot specify a UINT data type (Integer that cannot accept negative numbers) only option from what i know are INT, DINT, SINT, reason why i'am asking this is because i'am currently writing logic for error codes for a Yaskawa V1000 drive, I correctly mapped the Input and Output Assembly instances through implicit messaging, however the error code tag which is an INT is displaying -28672 decimal which i believe is a signed decimal value alas the negative number, but i could be wrong. I know you can change the style to hex, which i did and tested to have a hex value of 16#9000 which equates to 36864 decimal, so basically what i'm trying to get at is, be able to display 36864 as a decimal value instead of -28672. Once more i know changing the style can solve the issue but i just want to know how to do it the other way for reference purposes. Thanks.
Quick question, in Logix 5000 i noticed that you cannot specify a UINT data type (Integer that cannot accept negative numbers) only option from what i know are INT, DINT, SINT, reason why i'am asking this is because i'am currently writing logic for error codes for a Yaskawa V1000 drive, I correctly mapped the Input and Output Assembly instances through implicit messaging, however the error code tag which is an INT is displaying -28672 decimal which i believe is a signed decimal value alas the negative number, but i could be wrong. I know you can change the style to hex, which i did and tested to have a hex value of 16#9000 which equates to 36864 decimal, so basically what i'm trying to get at is, be able to display 36864 as a decimal value instead of -28672. Once more i know changing the style can solve the issue but i just want to know how to do it the other way for reference purposes. Thanks.