Let me put it short.
Rslogix5000 V15, Controllogix 5563, and this is what I got just now (in ST):
x := 16#1fffffff;
y := x*(2*1);
z := x*(2**1);
And in the tag monitor window:
y: 16#3fff_fffe (which is what I expected, just shift ONE bit to the left)
z: 16#4000_0000 (I don't know how this comes out!!)
SO, is there any one please give me some hints about this?
Thanks.
Rslogix5000 V15, Controllogix 5563, and this is what I got just now (in ST):
x := 16#1fffffff;
y := x*(2*1);
z := x*(2**1);
And in the tag monitor window:
y: 16#3fff_fffe (which is what I expected, just shift ONE bit to the left)
z: 16#4000_0000 (I don't know how this comes out!!)
SO, is there any one please give me some hints about this?
Thanks.