!
! library functs
!
#F,INTERN,INTEGER,G,R,CFSAMPLE,O,2,INTEGER,INTEGER,C
#F,INTERN,BOOLEAN,G,R,KBD_FLSH,O,0,C
#F,INTERN,BOOLEAN,G,R,CLRCCREF,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,KBD_SET,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,GETSTAT,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,MB_DEL,O,1,MESSAGE,C
#F,INTERN,INTEGER,G,R,MB_OPEN,O,2,MESSAGE,INTEGER,C
#F,INTERN,BOOLEAN,G,R,KBD_TEST,O,0,C
#F,INTERN,BOOLEAN,G,R,PBREAD,O,3,INTEGER,INTEGER,INTEGER,C
#F,INTERN,BOOLEAN,G,R,PBWRITE,O,3,INTEGER,INTEGER,INTEGER,C
#F,INTERN,MESSAGE,G,R,KBD_READ,O,0,C
#F,INTERN,BOOLEAN,G,R,CLRALARM,O,0,C
#F,INTERN,INTEGER,G,R,MB_S4A,O,6,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,C
#F,INTERN,INTEGER,G,R,GETCERR,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,CNTUP,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,CNTDWN,O,1,INTEGER,C
#F,INTERN,MESSAGE,G,R,INITMESS,O,0,C
#F,INTERN,INTEGER,G,R,MB_SX,O,7,INTEGER,INTEGER,BOOLEAN,INTEGER,REAL,TIME,MESSAGE,C
#F,INTERN,INTEGER,G,R,MB_RANA,O,2,INTEGER,INTEGER,C
#F,INTERN,MESSAGE,G,R,MB_RMSG,O,2,INTEGER,INTEGER,C
#F,INTERN,BOOLEAN,G,R,SENDABRT,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,SENDINIT,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,SETALARM,O,0,C
#F,INTERN,BOOLEAN,G,R,SETBERR,O,0,C
#F,INTERN,BOOLEAN,G,R,SETCCREF,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,SYS_INP,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,SYS_OUTP,O,2,INTEGER,INTEGER,C
#F,INTERN,INTEGER,G,R,SYSCALL,O,1,MESSAGE,C
#F,INTERN,BOOLEAN,G,R,TIMEOUT,O,2,INTEGER,INTEGER,C
#F,INTERN,INTEGER,G,R,TK_SIG,O,2,INTEGER,INTEGER,C
#F,INTERN,INTEGER,G,R,TK_START,O,2,MESSAGE,MESSAGE,C
#F,INTERN,INTEGER,G,R,TK_STOP,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,PID_SET,O,7,INTEGER,REAL,REAL,REAL,REAL,REAL,TIME,C
#F,INTERN,BOOLEAN,G,R,ERRNO,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,SAVE_INC,O,1,INTEGER,C
#F,INTERN,INTEGER,G,R,RESTORE,O,0,C
#F,INTERN,TIME,G,R,GET_TIME,O,0,C
#F,INTERN,BOOLEAN,G,R,SET_TIME,O,1,TIME,C
#F,INTERN,BOOLEAN,G,R,PBL7INIT,O,3,INTEGER,MESSAGE,MESSAGE,C
#F,INTERN,BOOLEAN,G,R,SETCREF,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,CLRCREF,O,1,INTEGER,C
#F,INTERN,BOOLEAN,G,R,PBGETBO,O,3,INTEGER,INTEGER,INTEGER,C
#F,INTERN,BOOLEAN,G,R,PBPUTBO,O,4,BOOLEAN,INTEGER,INTEGER,INTEGER,C
#F,INTERN,INTEGER,G,R,PBGETANA,O,4,INTEGER,INTEGER,INTEGER,BOOLEAN,C
#F,INTERN,BOOLEAN,G,R,PBPUTANA,O,5,INTEGER,INTEGER,INTEGER,INTEGER,BOOLEAN,C
!
! library FBs
!
#P,INTERN,INTEGER,L,W,CBSAMPLE.P1,O,PARAM
#P,INTERN,INTEGER,L,W,CBSAMPLE.P2,O,PARAM
#P,INTERN,INTEGER,L,R,CBSAMPLE.QADD,O,PARAM
#P,INTERN,INTEGER,L,R,CBSAMPLE.QSUB,O,PARAM
#B,INTERN,NIL,G,F,CBSAMPLE,O,2,CBSAMPLE.P1,CBSAMPLE.P2,2,CBSAMPLE.QADD,CBSAMPLE.QSUB,C
#P,INTERN,INTEGER,L,W,COPGSTAT.CALL_NODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPGSTAT.NODE_STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPGSTAT.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPGSTAT.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPGSTAT,O,1,COPGSTAT.CALL_NODE,3,COPGSTAT.NODE_STATUS,COPGSTAT.STATUS,COPGSTAT.ERROR,C
#P,INTERN,INTEGER,L,W,A16TOFLT.ANA16_MSB,O,PARAM
#P,INTERN,INTEGER,L,W,A16TOFLT.ANA16_LSB,O,PARAM
#P,INTERN,REAL,L,R,A16TOFLT.REAL_OUT,O,PARAM
#B,INTERN,NIL,G,F,A16TOFLT,O,2,A16TOFLT.ANA16_MSB,A16TOFLT.ANA16_LSB,1,A16TOFLT.REAL_OUT,C
#P,INTERN,INTEGER,L,W,A16TOA32.ANA16_MSB,O,PARAM
#P,INTERN,INTEGER,L,W,A16TOA32.ANA16_LSB,O,PARAM
#P,INTERN,INTEGER,L,R,A16TOA32.ANA32_OUT,O,PARAM
#B,INTERN,NIL,G,F,A16TOA32,O,2,A16TOA32.ANA16_MSB,A16TOA32.ANA16_LSB,1,A16TOA32.ANA32_OUT,C
#P,INTERN,INTEGER,L,W,SM_SSI.COMMAND,O,PARAM
#P,INTERN,INTEGER,L,W,SM_SSI.SETPOINT,O,PARAM
#P,INTERN,INTEGER,L,W,SM_SSI.PORT,O,PARAM
#P,INTERN,INTEGER,L,W,SM_SSI.CTRLREG1,O,PARAM
#P,INTERN,INTEGER,L,W,SM_SSI.CTRLREG2,O,PARAM
#P,INTERN,INTEGER,L,W,SM_SSI.CTRLREG3,O,PARAM
#P,INTERN,BOOLEAN,L,R,SM_SSI.ERROR,O,PARAM
#P,INTERN,INTEGER,L,R,SM_SSI.POSITION,O,PARAM
#P,INTERN,INTEGER,L,R,SM_SSI.STATUS1,O,PARAM
#P,INTERN,INTEGER,L,R,SM_SSI.STATUS2,O,PARAM
#B,INTERN,NIL,G,F,SM_SSI,O,6,SM_SSI.COMMAND,SM_SSI.SETPOINT,SM_SSI.PORT,SM_SSI.CTRLREG1,SM_SSI.CTRLREG2,SM_SSI.CTRLREG3,4,SM_SSI.ERROR,SM_SSI.POSITION,SM_SSI.STATUS1,SM_SSI.STATUS2,C
#P,INTERN,INTEGER,L,W,COPSCAN.FNODE,O,PARAM
#P,INTERN,INTEGER,L,W,COPSCAN.LNODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPSCAN.NBVALID,O,PARAM
#P,INTERN,INTEGER,L,R,COPSCAN.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPSCAN.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPSCAN,O,2,COPSCAN.FNODE,COPSCAN.LNODE,3,COPSCAN.NBVALID,COPSCAN.STATUS,COPSCAN.ERROR,C
#P,INTERN,MESSAGE,L,W,COPINIT.DESC,O,PARAM
#P,INTERN,INTEGER,L,W,COPINIT.CALL_NODE,O,PARAM
#P,INTERN,INTEGER,L,W,COPINIT.BAUD_RATE,O,PARAM
#P,INTERN,INTEGER,L,W,COPINIT.GUARD_TIME,O,PARAM
#P,INTERN,INTEGER,L,W,COPINIT.LIFE_TIME,O,PARAM
#P,INTERN,INTEGER,L,R,COPINIT.RETURN_NODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPINIT.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPINIT.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPINIT,O,5,COPINIT.DESC,COPINIT.CALL_NODE,COPINIT.BAUD_RATE,COPINIT.GUARD_TIME,COPINIT.LIFE_TIME,3,COPINIT.RETURN_NODE,COPINIT.STATUS,COPINIT.ERROR,C
#P,INTERN,INTEGER,L,W,COPSEMCY.ERR_VAL,O,PARAM
#P,INTERN,INTEGER,L,W,COPSEMCY.ERR_REG,O,PARAM
#P,INTERN,MESSAGE,L,W,COPSEMCY.ERR_DATA,O,PARAM
#P,INTERN,INTEGER,L,R,COPSEMCY.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPSEMCY.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPSEMCY,O,3,COPSEMCY.ERR_VAL,COPSEMCY.ERR_REG,COPSEMCY.ERR_DATA,2,COPSEMCY.STATUS,COPSEMCY.ERROR,C
#P,INTERN,INTEGER,L,W,A32TOA16.ANA32_IN,O,PARAM
#P,INTERN,INTEGER,L,R,A32TOA16.ANA16_MSB,O,PARAM
#P,INTERN,INTEGER,L,R,A32TOA16.ANA16_LSB,O,PARAM
#B,INTERN,NIL,G,F,A32TOA16,O,1,A32TOA16.ANA32_IN,2,A32TOA16.ANA16_MSB,A32TOA16.ANA16_LSB,C
#P,INTERN,INTEGER,L,W,COPSTART.FNODE,O,PARAM
#P,INTERN,INTEGER,L,W,COPSTART.LNODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPSTART.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPSTART.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPSTART,O,2,COPSTART.FNODE,COPSTART.LNODE,2,COPSTART.STATUS,COPSTART.ERROR,C
#P,INTERN,INTEGER,L,W,DS405RSD.NODE,O,PARAM
#P,INTERN,INTEGER,L,W,DS405RSD.INDEX,O,PARAM
#P,INTERN,INTEGER,L,W,DS405RSD.SUBINDEX,O,PARAM
#P,INTERN,INTEGER,L,R,DS405RSD.DATA,O,PARAM
#P,INTERN,INTEGER,L,R,DS405RSD.LENGHT,O,PARAM
#P,INTERN,INTEGER,L,R,DS405RSD.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,DS405RSD.ERROR,O,PARAM
#B,INTERN,NIL,G,F,DS405RSD,O,3,DS405RSD.NODE,DS405RSD.INDEX,DS405RSD.SUBINDEX,4,DS405RSD.DATA,DS405RSD.LENGHT,DS405RSD.STATUS,DS405RSD.ERROR,C
#P,INTERN,INTEGER,L,W,COPSSTAT.NODE,O,PARAM
#P,INTERN,INTEGER,L,W,COPSSTAT.STATE,O,PARAM
#P,INTERN,INTEGER,L,R,COPSSTAT.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPSSTAT.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPSSTAT,O,2,COPSSTAT.NODE,COPSSTAT.STATE,2,COPSSTAT.STATUS,COPSSTAT.ERROR,C
#P,INTERN,REAL,L,W,FLTTOA16.REAL_IN,O,PARAM
#P,INTERN,INTEGER,L,R,FLTTOA16.ANA16_MSB,O,PARAM
#P,INTERN,INTEGER,L,R,FLTTOA16.ANA16_LSB,O,PARAM
#B,INTERN,NIL,G,F,FLTTOA16,O,1,FLTTOA16.REAL_IN,2,FLTTOA16.ANA16_MSB,FLTTOA16.ANA16_LSB,C
#P,INTERN,INTEGER,L,W,MINUS1.IN,O,PARAM
#P,INTERN,INTEGER,L,R,MINUS1.OUT,O,PARAM
#B,INTERN,NIL,G,F,MINUS1,O,1,MINUS1.IN,1,MINUS1.OUT,C
#P,INTERN,INTEGER,L,W,PEEKBYTE.ADDR,O,PARAM
#P,INTERN,INTEGER,L,R,PEEKBYTE.PARAM,O,PARAM
#B,INTERN,NIL,G,F,PEEKBYTE,O,1,PEEKBYTE.ADDR,1,PEEKBYTE.PARAM,C
#P,INTERN,INTEGER,L,W,COPSTOP.FNODE,O,PARAM
#P,INTERN,INTEGER,L,W,COPSTOP.LNODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPSTOP.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPSTOP.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPSTOP,O,2,COPSTOP.FNODE,COPSTOP.LNODE,2,COPSTOP.STATUS,COPSTOP.ERROR,C
#P,INTERN,INTEGER,L,W,PEEKLWOD.ADDR,O,PARAM
#P,INTERN,INTEGER,L,R,PEEKLWOD.PARAM,O,PARAM
#B,INTERN,NIL,G,F,PEEKLWOD,O,1,PEEKLWOD.ADDR,1,PEEKLWOD.PARAM,C
#P,INTERN,INTEGER,L,W,PEEKWORD.ADDR,O,PARAM
#P,INTERN,INTEGER,L,R,PEEKWORD.PARAM,O,PARAM
#B,INTERN,NIL,G,F,PEEKWORD,O,1,PEEKWORD.ADDR,1,PEEKWORD.PARAM,C
#P,INTERN,BOOLEAN,L,W,PID_AL.AUTO,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.PV,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.SP,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.X0,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.KP,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.TI,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.TD,O,PARAM
#P,INTERN,TIME,L,W,PID_AL.TS,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.XMIN,O,PARAM
#P,INTERN,REAL,L,W,PID_AL.XMAX,O,PARAM
#P,INTERN,REAL,L,R,PID_AL.XOUT,O,PARAM
#B,INTERN,NIL,G,F,PID_AL,O,10,PID_AL.AUTO,PID_AL.PV,PID_AL.SP,PID_AL.X0,PID_AL.KP,PID_AL.TI,PID_AL.TD,PID_AL.TS,PID_AL.XMIN,PID_AL.XMAX,1,PID_AL.XOUT,C
#P,INTERN,MESSAGE,L,W,COPDEINI.DESC,O,PARAM
#P,INTERN,INTEGER,L,R,COPDEINI.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPDEINI.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPDEINI,O,1,COPDEINI.DESC,2,COPDEINI.STATUS,COPDEINI.ERROR,C
#P,INTERN,INTEGER,L,W,DS405WSD.NODE,O,PARAM
#P,INTERN,INTEGER,L,W,DS405WSD.INDEX,O,PARAM
#P,INTERN,INTEGER,L,W,DS405WSD.SUBINDEX,O,PARAM
#P,INTERN,INTEGER,L,W,DS405WSD.DATA,O,PARAM
#P,INTERN,INTEGER,L,W,DS405WSD.LENGHT,O,PARAM
#P,INTERN,INTEGER,L,R,DS405WSD.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,DS405WSD.ERROR,O,PARAM
#B,INTERN,NIL,G,F,DS405WSD,O,5,DS405WSD.NODE,DS405WSD.INDEX,DS405WSD.SUBINDEX,DS405WSD.DATA,DS405WSD.LENGHT,2,DS405WSD.STATUS,DS405WSD.ERROR,C
#P,INTERN,INTEGER,L,W,SM_WDG.CALL,O,PARAM
#P,INTERN,INTEGER,L,W,SM_WDG.TIME,O,PARAM
#P,INTERN,INTEGER,L,R,SM_WDG.ERROR,O,PARAM
#B,INTERN,NIL,G,F,SM_WDG,O,2,SM_WDG.CALL,SM_WDG.TIME,1,SM_WDG.ERROR,C
#P,INTERN,INTEGER,L,W,PB_STP.NUMBER,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.COMMAND,O,PARAM
#P,INTERN,BOOLEAN,L,W,PB_STP.VMODIMOD,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.ADDRESS,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.INITPARAM,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.ACC,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.VSELF,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.VHIGH,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.VELOCITY,O,PARAM
#P,INTERN,BOOLEAN,L,W,PB_STP.DIRECTION,O,PARAM
#P,INTERN,BOOLEAN,L,W,PB_STP.MODE,O,PARAM
#P,INTERN,BOOLEAN,L,W,PB_STP.ACCMODE,O,PARAM
#P,INTERN,INTEGER,L,W,PB_STP.STEPS,O,PARAM
#P,INTERN,INTEGER,L,R,PB_STP.TRANSSTATE,O,PARAM
#P,INTERN,INTEGER,L,R,PB_STP.REMAINSTEPS,O,PARAM
#P,INTERN,INTEGER,L,R,PB_STP.ERROR,O,PARAM
#B,INTERN,NIL,G,F,PB_STP,O,13,PB_STP.NUMBER,PB_STP.COMMAND,PB_STP.VMODIMOD,PB_STP.ADDRESS,PB_STP.INITPARAM,PB_STP.ACC,PB_STP.VSELF,PB_STP.VHIGH,PB_STP.VELOCITY,PB_STP.DIRECTION,PB_STP.MODE,PB_STP.ACCMODE,PB_STP.STEPS,3,PB_STP.TRANSSTATE,PB_STP.REMAINSTEPS,PB_STP.ERROR,C
#P,INTERN,INTEGER,L,W,PLUS1.IN,O,PARAM
#P,INTERN,INTEGER,L,R,PLUS1.OUT,O,PARAM
#B,INTERN,NIL,G,F,PLUS1,O,1,PLUS1.IN,1,PLUS1.OUT,C
#P,INTERN,INTEGER,L,W,POKEBYTE.PHY_ADR,O,PARAM
#P,INTERN,INTEGER,L,W,POKEBYTE.PARAM,O,PARAM
#P,INTERN,BOOLEAN,L,R,POKEBYTE.FALSE,O,PARAM
#B,INTERN,NIL,G,F,POKEBYTE,O,2,POKEBYTE.PHY_ADR,POKEBYTE.PARAM,1,POKEBYTE.FALSE,C
#P,INTERN,INTEGER,L,W,POKELWOD.PHY_ADR,O,PARAM
#P,INTERN,INTEGER,L,W,POKELWOD.PARAM,O,PARAM
#P,INTERN,BOOLEAN,L,R,POKELWOD.IMMER_FALSE,O,PARAM
#B,INTERN,NIL,G,F,POKELWOD,O,2,POKELWOD.PHY_ADR,POKELWOD.PARAM,1,POKELWOD.IMMER_FALSE,C
#P,INTERN,INTEGER,L,W,POKEWORD.PHY_ADR,O,PARAM
#P,INTERN,INTEGER,L,W,POKEWORD.PARAM,O,PARAM
#P,INTERN,BOOLEAN,L,R,POKEWORD.IMMER_FALSE,O,PARAM
#B,INTERN,NIL,G,F,POKEWORD,O,2,POKEWORD.PHY_ADR,POKEWORD.PARAM,1,POKEWORD.IMMER_FALSE,C
#P,INTERN,INTEGER,L,R,COPGEMCY.NODE,O,PARAM
#P,INTERN,INTEGER,L,R,COPGEMCY.ERR_VAL,O,PARAM
#P,INTERN,INTEGER,L,R,COPGEMCY.ERR_REG,O,PARAM
#P,INTERN,MESSAGE,L,R,COPGEMCY.ERR_DATA,O,PARAM
#P,INTERN,INTEGER,L,R,COPGEMCY.STATUS,O,PARAM
#P,INTERN,INTEGER,L,R,COPGEMCY.ERROR,O,PARAM
#B,INTERN,NIL,G,F,COPGEMCY,O,0,6,COPGEMCY.NODE,COPGEMCY.ERR_VAL,COPGEMCY.ERR_REG,COPGEMCY.ERR_DATA,COPGEMCY.STATUS,COPGEMCY.ERROR,C
#P,INTERN,INTEGER,L,W,DPSGDIAG.SLAVE_NO,O,PARAM
#P,INTERN,INTEGER,L,W,DPSGDIAG.MODE,O,PARAM
#P,INTERN,INTEGER,L,W,DPSGDIAG.EXT_MSG_LENGHT,O,PARAM
#P,INTERN,BOOLEAN,L,R,DPSGDIAG.ERROR,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.NB_REMAIN_DIAGS,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.STATUS1,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.STATUS2,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.STATUS3,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.MASTER_ADDR,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.PNO_SLAVEID,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.NB_EXT_DIAGS,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE1,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE2,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE3,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE4,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE5,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE6,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE7,O,PARAM
#P,INTERN,INTEGER,L,R,DPSGDIAG.EXT_BYTE8,O,PARAM
#P,INTERN,MESSAGE,L,R,DPSGDIAG.EXT_MSG,O,PARAM
#B,INTERN,NIL,G,F,DPSGDIAG,O,3,DPSGDIAG.SLAVE_NO,DPSGDIAG.MODE,DPSGDIAG.EXT_MSG_LENGHT,18,DPSGDIAG.ERROR,DPSGDIAG.NB_REMAIN_DIAGS,DPSGDIAG.STATUS1,DPSGDIAG.STATUS2,DPSGDIAG.STATUS3,DPSGDIAG.MASTER_ADDR,DPSGDIAG.PNO_SLAVEID,DPSGDIAG.EXT_BYTE,DPSGDIAG.NB_EXT_DIAGS,DPSGDIAG.EXT_BYTE1,DPSGDIAG.EXT_BYTE2,DPSGDIAG.EXT_BYTE3,DPSGDIAG.EXT_BYTE4,DPSGDIAG.EXT_BYTE5,DPSGDIAG.EXT_BYTE6,DPSGDIAG.EXT_BYTE7,DPSGDIAG.EXT_BYTE8,DPSGDIAG.EXT_MSG,C
!
! global var
!
#V,INPUT,INTEGER,G,R,Y,O,DATA,1,0
#V,INTERN,REAL,G,F,U,O,DATA,1,0
#V,INTERN,REAL,G,F,E,O,DATA,1,0
#V,INTERN,REAL,G,F,EOLD,O,DATA,1,0
#V,INTERN,REAL,G,F,I,O,DATA,1,0
#V,INTERN,REAL,G,F,IOLD,O,DATA,1,0
#V,INTERN,REAL,G,F,D,O,DATA,1,0
#V,INTERN,REAL,G,F,KP,O,DATA,1,0
#V,INTERN,REAL,G,F,TI,O,DATA,1,0
#V,INTERN,REAL,G,F,TD,O,DATA,1,0
#V,INTERN,REAL,G,F,H,O,DATA,1,0
#V,INTERN,INTEGER,G,F,BOR,O,DATA,1,0
#V,OUTPUT,INTEGER,G,F,UANA,O,DATA,1,0
#V,INTERN,REAL,G,F,FILTER,O,DATA,1,0
#V,INTERN,REAL,G,F,FILTEROLD,O,DATA,1,0
