GE 9030 Data types

cjh

Member
Join Date
Mar 2003
Location
Cumming, GA
Posts
235
I'm working on a GE 9030 CPU374. I've been using the WORD data type quite frequently and then I noticed that there is also a UINT data type.
They both appear to be an unsigned 16 bit integer data type.
Does anyone know the difference between the two?
 
Davids memory is pretty good.
In the world of IEC compliant software such as GE Fanuc's.
INT = is 16 bits +/- 32767
UINT = is 16 bit 0 - 65534
Word = is 16 bit, you can interprit the bit pattern as whatever, so it could be either.
 
Word = is 16 bit, you can interprit the bit pattern as whatever, so it could be either.

That was my thought at first also.

But... If you use a MOVE WORD function, it does not allow negative values like a MOVE INT function does.

Hmm... still a little perplexed at that one. But no big deal I guess. Acts like a UINT to me.
 
What is confusing is that how you view it may be different to how you use it. If the LSB is 1 the value is negative when used as INT (signed integer) but you could view it as UINT (unsigned integer) or DINT (double integer)
 

Similar Topics

I have lm9030 program on my toughbook CF-29 cannot get my program to hook up with the serial port.
Replies
2
Views
62
how do you load from [A] floppy disk to laptop 9030 program
Replies
3
Views
146
Replies
1
Views
107
We have a customer that has 6 machines running GE Series 90-30 PLCs. In order to support them, they bought a used Dell Full size desktop PC with...
Replies
4
Views
1,239
Back
Top Bottom