FieldServer FS-8704-12 instruction manual Appendix A.2. Data Types

Page 21

FS-8704-12_GE-EGD Manual

Page 21 of 26

Appendix A.2. Data Types

Each produced data packet contains up to 1400 bytes of unstructured data. The specification of the ge_data_type in the Map Descriptor tells the driver how to interpret these raw data bytes.

The minimum data unit processed is a byte. This is the case even when the data type is specified as bit. This is because EGD producers cannot produce a single bit. When bits are produced the producer determines the closes byte boundary and sends a minimum of 8 bits.

The following data types are recognized by the driver

Byte

 

Bit

(translated as 8bits aligned with a byte boundary)

Word

(unsigned 16bit integer)

Dword

(unsigned 32bit integer)

Int

(signed 16bit integer)

Long

(signed 32bit integer)

Float

(translated as an IEEE 4 byte real number)

Double

(translated as an IEEE 8 byte real number)

The following GE Specific data types are also recognized.

Type

Description P-ProducerC-Consumer

%R

Register memory in word mode P/C

%AI

Analog input memory in word mode P/C

%AQ

Analog output memory in word mode P/C

%I

Discrete input memory in byte mode P/C

%Q

Discrete output memory in byte mode P/C

%T

Discrete temporary memory in byte mode P/C

%M

Discrete momentary memory in byte mode P/C

%SA

Discrete system memory group A in byte mode P/C

%SB

Discrete system memory group B in byte mode P/C

%SC

Discrete system memory group C in byte mode P/C

%S

Discrete system memory in byte mode P

%G

Discrete global data table in byte mode P/C

If you use the RUI editor and view the Map Descriptors online it may appear that the driver changed the data type but in fact all that it has done is changed the display to a synonym.

FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldserver.com Tel: (408) 262-2299 Fax: (408) 262-9042 Toll_Free: 888-509-1970 email: support@fieldserver.com

Image 21
Contents FS-8704-12 GE-EGD Ethernet Global Data Table of Contents FS-8704-12GE-EGD Manual GE-EGD Ethernet Global Data DescriptionFieldServer Technologies Description Provided by the Supplier of 3rd Party EquipmentHardware Connections Data Arrays Configuring the FieldServer as a GE-EGD ClientSection Title Column Title Function Legal ValuesClient Side Connection Descriptors Client Side Node DescriptorsFS-8704-12GE-EGD Manual Example Driver Specific Map Descriptor Parameters FS-8704-12GE-EGD Manual Column Title Function Legal Values Map Descriptor Example a Simple Consumer Map Descriptor Map Descriptor Example Map Descriptor BasicsMap Descriptor Example Multiple Consumer Map Descriptor Server Side Node Descriptors Wrbc Ieee Timing ParametersMap Descriptor Example FS-8704-12GE-EGD ManualPage 16 FS-8704-12GE-EGD Manual Create a CSV file that will consume the produced data Byte Dataq Appendix A.2. Data Types Message Action Appendix B. Error MessagesAppendix B.1. EGD-ii EGD Internal Indications Array Contents ElementAppendix B.2. Driver Stats Array Element ContentsAppendix C.3. Status Values Appendix C.2. Produced Time StampThis page Intentionally Left Blank