GE Monogram GFK-1115 manual Data Type Conversions Panel Data Type/PLC

Models: GFK-1115

1 175
Download 175 pages 2.33 Kb
Page 93
Image 93

5

Table 5 - 4. Data Type Conversions (Panel Data Type/PLC)

Legend:

 

 

 

Byte u

Byte unsigned

MSB

.................... Most Significant Bit

Word u

Word unsigned

 

(Upper Bit)

 

 

Word s

Word signed

LOB

Low Order Byte

 

(Lower Byte)

 

 

 

Long u

Long unsigned

HOB

High Order Byte

 

 

LSB

Least Significant Bit

 

(Upper Byte)

 

(Lower Bit)

PDT

Panel Data Type

 

 

PDT

Bit

Bit

Byte u.

Byte u.

Byte u.

Data Type Conversion

No conversion.

No conversion.

The value of Bit is copied to the LSB of WORD. The rest of the bits of WORD are set to 0.

Values higher than 1 are limited to 1.

The LSB of Byte u. is copied to BIT.

The value of BIT is copied to the LSB of Byte u. The rest of the bits of Byte u. are set to 0.

Byte u. is copied to the LOB of WORD. The HOB of WORD is set to 00.

Values higher than 255 are limited to 255.

Byte u. is copied to the LOB of INT. The HOB of INT is set to 0.

Values higher than 255 are limited to 255. Negative values are limited to 0.

PLC

BIT

WORD *

BIT

WORD *

INT *

PDT

Word u.

Word u.

Word u.

Word u.

Data Type Conversion

The LSB of Word u. is copied to BIT.

The value of Bit is copied to the LSB of Word u. The rest of the bits of Word u. are set to 0.

No conversion.

No conversion.

Values higher than 32767 are limited to 32767.

Negative values are limited to 0.

Word u. is copied to the lower word of DWORD. The upper word is set to 0.

Values higher than 65535 are limited to 65535.

PLC

BIT

WORD *

INT *

DWORD

GFK-1115

Chapter 5 PCS Connection Editor

5 - 13

Page 93
Image 93
GE Monogram GFK-1115 manual Data Type Conversions Panel Data Type/PLC