gclib  423
Communications API for Galil controllers and PLCs
gclib_record.h File Reference

Go to the source code of this file.

Data Structures

struct  GDataRecord4000
 Data record struct for DMC-4000 controllers, including 4000, 4200, 4103, and 500x0. More...
 
struct  GDataRecord52000
 Data record struct for DMC-52000 controller. Same as DMC-4000, with bank indicator added at byte 40. More...
 
struct  GDataRecord1806
 Data record struct for DMC-1806 controller. More...
 
struct  GDataRecord2103
 Data record struct for DMC-2103 controllers. More...
 
struct  GDataRecord1802
 
struct  GDataRecord30000
 Data record struct for DMC-30010 controllers. More...
 
struct  GDataRecord47000_ENC
 Data record struct for RIO-471xx and RIO-472xx PLCs. Includes encoder fields. More...
 
struct  GDataRecord47300_ENC
 Data record struct for RIO-47300. Includes encoder fields. More...
 
struct  GDataRecord47300_24EX
 Data record struct for RIO-47300 with 24EX I/O daughter board. More...
 
union  GDataRecord
 Data record union, containing all structs and a generic byte array accessor. More...
 

Macros

#define GALILDATARECORDMAXLENGTH   512
 Max size for any Galil data record, equal to dual port ram size of PCI.
 

Typedefs

typedef unsigned char UB
 
typedef unsigned short UW
 
typedef short SW
 
typedef int SL
 
typedef unsigned int UL
 

Detailed Description

Defines a union for data records. Each supported controller has a struct member in the union with named record types. Offsets into the data record can also be used by referencing the member byte_array.

Definition in file gclib_record.h.