ISaGRAF. Version 3.4


C - 5


/* function block interface - name: sample */

 

/* standard ISaGRAF data types */

 

typedef long T_BOO;

typedef long T_ANA;

typedef float T_REAL;

typedef long T_TMR;

typedef char *T_MSG;

 

/* structure of calling parameters */

 

typedef struct {

/* CALL */ T_BOO _par1;

/* CALL */ T_BOO _par2;

} str_arg;

 

/* access to fields of str_arg structure */

 

#define PAR1 (arg->_par1)

#define PAR2 (arg->_par2)

 

/* return parameter logical numbers */

 

#define FBLPNO_Q1 0

#define FBLPNO_Q2 1

 

/* */

ISaGRAF C. ISaGRAF C :

boolean

T_BOO

long (32 )

analog

T_ANA

long

real

T_REAL

float (32 , )

timer

T_TMR

long

message

T_MSG

char* (32 )

str_srg . , . , , , C . ISaGRAF.




- -  - -  - -