/*
  function block interface
  name: pid_AL
*/

typedef long  T_BOO;
typedef long  T_ANA;
typedef float T_REAL;
typedef long  T_TMR;
typedef char  *T_MSG;

typedef struct {
   /* CALL   */ T_BOO  _auto;
   /* CALL   */ T_REAL _pv;
   /* CALL   */ T_REAL _sp;
   /* CALL   */ T_REAL _x0;
   /* CALL   */ T_REAL _kp;
   /* CALL   */ T_REAL _ti;
   /* CALL   */ T_REAL _td;
   /* CALL   */ T_TMR  _ts;
   /* CALL   */ T_REAL _xmin;
   /* CALL   */ T_REAL _xmax;
} str_arg;

#define AUTO             (arg->_auto)
#define PV               (arg->_pv)
#define SP               (arg->_sp)
#define X0               (arg->_x0)
#define KP               (arg->_kp)
#define TI               (arg->_ti)
#define TD               (arg->_td)
#define TS               (arg->_ts)
#define XMIN             (arg->_xmin)
#define XMAX             (arg->_xmax)

#define FBLPNO_XOUT             0
