gclib  2.0.8
Communications API for Galil controllers and PLCs
gclib_record.h File Reference
#include <stdint.h>

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...
 
struct  GDataRecord47162
 Data record struct for RIO-47162. 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 uint8_t UB
 
typedef uint16_t UW
 
typedef int16_t SW
 
typedef int32_t SL
 
typedef uint32_t 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.