beautypg.com

Data type conversions – GE Monogram GE Fanuc Automation GFK-1115 User Manual

Page 92

background image

5 - 12

PANELWARE MMI Application Manual for GE Fanuc Genius Protocol -

June 1995

GFK-1115

5

Data Type Conversions

The following basic Panel and PLC data types are supported:

Table 5 - 3. Variable Data Types

Format in the PCS

Panel Data Type

PLC Data Type

Value Range

Bit

BIT

0 ... 1

Byte unsigned

(does not exist)

0 ... + 255

Word unsigned

WORD

0 ... + 65535

Word signed

INT

- 32768 ... + 32767

Long unsigned

DWORD

0 ... + 4294967295

Long signed

DINT

- 2147483648 ... + 2147483647

Float

FLOAT

±

1.401298

Ч

10

-45

...

±

3.402823

Ч

10

+38

*

String

STRING

Byte field (character string)

* A maximum of 7 digits of significance (precision).

The PLC and Panel data types can sometimes differ while reading from the PLC or writing to the
PLC. When this happens, a data type conversion is performed automatically as shown in Table 5-
4.