Rockwell-automation 1747-PCINT API Software for 1746 I/O Manual de usuario Pagina 48

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 155
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 47
4–2 Using the API Structures
Publication 1747-6.5.3 June1998
OCSLOTCFG
Configuration information for a
module. The mix and type codes
together form a unique
identification for each module.
typedef struct tagOCSLOTCFG
{
BYTE mix; /* mix code */
BYTE type; /* type code */
BYTE InputSize; /* number of inputs in bytes */
BYTE OutputSize; /* number of outputs in bytes */
WORD M0Size; /* size of M0 file in words */
WORD M1Size; /* size of M1 file in words */
WORD GSize; /* size of G file in words */
WORD *GData; /* pointer to array of length GSize words */
char *Name; /* pointer to module name string */
} OCSLOTCFG;
OCVERSIONINFO
Returned by
OC_GetVersionInfo. Software
and hardware version numbers.
typedef struct tagOCVERSIONINFO
{
WORD APISeries; /* API series */
WORD APIRevision; /* API revision */
WORD ScannerFirmwareSeries; /* Scanner firmware series */
WORD ScannerFirmwareRevision;/* Scanner firmware revision */
WORD OCHardwareSeries; /* Hardware series */
WORD OCHardwareRevision; /* Hardware revision */
WORD OCdriverSeries /* OCdriver series - Windows NT only */
WORD OCdriverRevision /* Ocdriver reviwion - Windows NT only */
} OCVERSIONINFO;
STSFILE
Scanner status file.
typedef struct tagSTSFILE
{
WORD wWordNum[OCSTSFILEWSIZE];
} STSFILE;
Structure Name: Syntax:
Vista de pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 154 155

Comentarios a estos manuales

Sin comentarios