! predefined functions
#F,INTERN,INTEGER,G,R,SYSTEM,O,2,INTEGER,INTEGER,SYS
#F,INTERN,INTEGER,G,R,OPERATE,O,3,NIL,INTEGER,INTEGER,SYS
#F,INTERN,BOOLEAN,G,R,REDGE,O,2,BOOLEAN,BOOLEAN,SYS
#F,INTERN,BOOLEAN,G,R,FEDGE,O,2,BOOLEAN,BOOLEAN,SYS
#F,INTERN,INTEGER,G,R,GSTATUS,O,1,CHILD,SYS
#F,INTERN,BOOLEAN,G,R,BOO,O,1,NIL,SYS
#F,INTERN,INTEGER,G,R,ANA,O,1,NIL,SYS
#F,INTERN,REAL,G,R,REAL,O,1,NIL,SYS
#F,INTERN,TIME,G,R,TMR,O,1,NIL,SYS
#F,INTERN,MESSAGE,G,R,MSG,O,1,NIL,SYS
#X,INTERN,NIL,G,R,GSTART,O,1,CHILD,0
#X,INTERN,NIL,G,R,GKILL,O,1,CHILD,0
#X,INTERN,NIL,G,R,GFREEZE,O,1,CHILD,0
#X,INTERN,NIL,G,R,GRST,O,1,CHILD,0
#X,INTERN,NIL,G,R,TSTART,O,1,TIME,0
#X,INTERN,NIL,G,R,TSTOP,O,1,TIME,0
!--------- PID --------------
#P,INTERN,BOOLEAN,L,W,PID.AUTO,O,PARAM
#P,INTERN,REAL,L,W,PID.PV,O,PARAM
#P,INTERN,REAL,L,W,PID.SP,O,PARAM
#P,INTERN,REAL,L,W,PID.X0,O,PARAM
#P,INTERN,REAL,L,W,PID.KP,O,PARAM
#P,INTERN,REAL,L,W,PID.TR,O,PARAM
#P,INTERN,REAL,L,W,PID.TD,O,PARAM
#P,INTERN,TIME,L,W,PID.CYCLE,O,PARAM
#P,INTERN,REAL,L,R,PID.XOUT,O,PARAM
#B,INTERN,NIL,G,F,PID,O,8,PID.AUTO,PID.PV,PID.SP,PID.X0,PID.KP,PID.TR,PID.TD,PID.CYCLE,1,PID.XOUT,STD
!--------- SIG_GEN --------------
#P,INTERN,BOOLEAN,L,W,SIG_GEN.RUN,O,PARAM
#P,INTERN,TIME,L,W,SIG_GEN.PERIOD,O,PARAM
#P,INTERN,INTEGER,L,W,SIG_GEN.MAXIMUM,O,PARAM
#P,INTERN,BOOLEAN,L,R,SIG_GEN.PULSE,O,PARAM
#P,INTERN,INTEGER,L,R,SIG_GEN.UP,O,PARAM
#P,INTERN,BOOLEAN,L,R,SIG_GEN.END,O,PARAM
#P,INTERN,REAL,L,R,SIG_GEN.SINE,O,PARAM
#B,INTERN,NIL,G,F,SIG_GEN,O,3,SIG_GEN.RUN,SIG_GEN.PERIOD,SIG_GEN.MAXIMUM,4,SIG_GEN.PULSE,SIG_GEN.UP,SIG_GEN.END,SIG_GEN.SINE,STD
!--------- DERIVATE --------------
#P,INTERN,BOOLEAN,L,W,DERIVATE.RUN,O,PARAM
#P,INTERN,REAL,L,W,DERIVATE.XIN,O,PARAM
#P,INTERN,TIME,L,W,DERIVATE.CYCLE,O,PARAM
#P,INTERN,REAL,L,R,DERIVATE.XOUT,O,PARAM
#B,INTERN,NIL,G,F,DERIVATE,O,3,DERIVATE.RUN,DERIVATE.XIN,DERIVATE.CYCLE,1,DERIVATE.XOUT,STD
!--------- INTEGRAL --------------
#P,INTERN,BOOLEAN,L,W,INTEGRAL.RUN,O,PARAM
#P,INTERN,BOOLEAN,L,W,INTEGRAL.R1,O,PARAM
#P,INTERN,REAL,L,W,INTEGRAL.XIN,O,PARAM
#P,INTERN,REAL,L,W,INTEGRAL.X0,O,PARAM
#P,INTERN,TIME,L,W,INTEGRAL.CYCLE,O,PARAM
#P,INTERN,BOOLEAN,L,R,INTEGRAL.Q,O,PARAM
#P,INTERN,REAL,L,R,INTEGRAL.XOUT,O,PARAM
#B,INTERN,NIL,G,F,INTEGRAL,O,5,INTEGRAL.RUN,INTEGRAL.R1,INTEGRAL.XIN,INTEGRAL.X0,INTEGRAL.CYCLE,2,INTEGRAL.Q,INTEGRAL.XOUT,STD
!--------- HYSTER --------------
#P,INTERN,REAL,L,W,HYSTER.XIN1,O,PARAM
#P,INTERN,REAL,L,W,HYSTER.XIN2,O,PARAM
#P,INTERN,REAL,L,W,HYSTER.EPS,O,PARAM
#P,INTERN,BOOLEAN,L,R,HYSTER.Q,O,PARAM
#B,INTERN,NIL,G,F,HYSTER,O,3,HYSTER.XIN1,HYSTER.XIN2,HYSTER.EPS,1,HYSTER.Q,STD
!--------- AVERAGE --------------
#P,INTERN,BOOLEAN,L,W,AVERAGE.RUN,O,PARAM
#P,INTERN,REAL,L,W,AVERAGE.XIN,O,PARAM
#P,INTERN,INTEGER,L,W,AVERAGE.N,O,PARAM
#P,INTERN,REAL,L,R,AVERAGE.XOUT,O,PARAM
#B,INTERN,NIL,G,F,AVERAGE,O,3,AVERAGE.RUN,AVERAGE.XIN,AVERAGE.N,1,AVERAGE.XOUT,STD
!--------- LIM_ALRM --------------
#P,INTERN,REAL,L,W,LIM_ALRM.H,O,PARAM
#P,INTERN,REAL,L,W,LIM_ALRM.X,O,PARAM
#P,INTERN,REAL,L,W,LIM_ALRM.L,O,PARAM
#P,INTERN,REAL,L,W,LIM_ALRM.EPS,O,PARAM
#P,INTERN,BOOLEAN,L,R,LIM_ALRM.QH,O,PARAM
#P,INTERN,BOOLEAN,L,R,LIM_ALRM.Q,O,PARAM
#P,INTERN,BOOLEAN,L,R,LIM_ALRM.QL,O,PARAM
#B,INTERN,NIL,G,F,LIM_ALRM,O,4,LIM_ALRM.H,LIM_ALRM.X,LIM_ALRM.L,LIM_ALRM.EPS,3,LIM_ALRM.QH,LIM_ALRM.Q,LIM_ALRM.QL,STD
!--------- RS --------------
#P,INTERN,BOOLEAN,L,W,RS.SET,O,PARAM
#P,INTERN,BOOLEAN,L,W,RS.RESET1,O,PARAM
#P,INTERN,BOOLEAN,L,R,RS.Q1,O,PARAM
#B,INTERN,NIL,G,F,RS,O,2,RS.SET,RS.RESET1,1,RS.Q1,STD
!--------- SR --------------
#P,INTERN,BOOLEAN,L,W,SR.SET1,O,PARAM
#P,INTERN,BOOLEAN,L,W,SR.RESET,O,PARAM
#P,INTERN,BOOLEAN,L,R,SR.Q1,O,PARAM
#B,INTERN,NIL,G,F,SR,O,2,SR.SET1,SR.RESET,1,SR.Q1,STD
!--------- R_TRIG --------------
#P,INTERN,BOOLEAN,L,W,R_TRIG.CLK,O,PARAM
#P,INTERN,BOOLEAN,L,R,R_TRIG.Q,O,PARAM
#B,INTERN,NIL,G,F,R_TRIG,O,1,R_TRIG.CLK,1,R_TRIG.Q,STD
!--------- F_TRIG --------------
#P,INTERN,BOOLEAN,L,W,F_TRIG.CLK,O,PARAM
#P,INTERN,BOOLEAN,L,R,F_TRIG.Q,O,PARAM
#B,INTERN,NIL,G,F,F_TRIG,O,1,F_TRIG.CLK,1,F_TRIG.Q,STD
!--------- CTU --------------
#P,INTERN,BOOLEAN,L,W,CTU.CU,O,PARAM
#P,INTERN,BOOLEAN,L,W,CTU.RESET,O,PARAM
#P,INTERN,INTEGER,L,W,CTU.PV,O,PARAM
#P,INTERN,BOOLEAN,L,R,CTU.Q,O,PARAM
#P,INTERN,INTEGER,L,R,CTU.CV,O,PARAM
#B,INTERN,NIL,G,F,CTU,O,3,CTU.CU,CTU.RESET,CTU.PV,2,CTU.Q,CTU.CV,STD
!--------- BLINK --------------
#P,INTERN,BOOLEAN,L,W,BLINK.RUN,O,PARAM
#P,INTERN,TIME,L,W,BLINK.CYCLE,O,PARAM
#P,INTERN,BOOLEAN,L,R,BLINK.Q,O,PARAM
#B,INTERN,NIL,G,F,BLINK,O,2,BLINK.RUN,BLINK.CYCLE,1,BLINK.Q,STD
!--------- CTD --------------
#P,INTERN,BOOLEAN,L,W,CTD.CD,O,PARAM
#P,INTERN,BOOLEAN,L,W,CTD.LOAD,O,PARAM
#P,INTERN,INTEGER,L,W,CTD.PV,O,PARAM
#P,INTERN,BOOLEAN,L,R,CTD.Q,O,PARAM
#P,INTERN,INTEGER,L,R,CTD.CV,O,PARAM
#B,INTERN,NIL,G,F,CTD,O,3,CTD.CD,CTD.LOAD,CTD.PV,2,CTD.Q,CTD.CV,STD
!--------- CTUD --------------
#P,INTERN,BOOLEAN,L,W,CTUD.CU,O,PARAM
#P,INTERN,BOOLEAN,L,W,CTUD.CD,O,PARAM
#P,INTERN,BOOLEAN,L,W,CTUD.RESET,O,PARAM
#P,INTERN,BOOLEAN,L,W,CTUD.LOAD,O,PARAM
#P,INTERN,INTEGER,L,W,CTUD.PV,O,PARAM
#P,INTERN,BOOLEAN,L,R,CTUD.QU,O,PARAM
#P,INTERN,BOOLEAN,L,R,CTUD.QD,O,PARAM
#P,INTERN,INTEGER,L,R,CTUD.CV,O,PARAM
#B,INTERN,NIL,G,F,CTUD,O,5,CTUD.CU,CTUD.CD,CTUD.RESET,CTUD.LOAD,CTUD.PV,3,CTUD.QU,CTUD.QD,CTUD.CV,STD
!--------- TON --------------
#P,INTERN,BOOLEAN,L,W,TON.IN,O,PARAM
#P,INTERN,TIME,L,W,TON.PT,O,PARAM
#P,INTERN,BOOLEAN,L,R,TON.Q,O,PARAM
#P,INTERN,TIME,L,R,TON.ET,O,PARAM
#B,INTERN,NIL,G,F,TON,O,2,TON.IN,TON.PT,2,TON.Q,TON.ET,STD
!--------- TOF --------------
#P,INTERN,BOOLEAN,L,W,TOF.IN,O,PARAM
#P,INTERN,TIME,L,W,TOF.PT,O,PARAM
#P,INTERN,BOOLEAN,L,R,TOF.Q,O,PARAM
#P,INTERN,TIME,L,R,TOF.ET,O,PARAM
#B,INTERN,NIL,G,F,TOF,O,2,TOF.IN,TOF.PT,2,TOF.Q,TOF.ET,STD
!--------- TP --------------
#P,INTERN,BOOLEAN,L,W,TP.IN,O,PARAM
#P,INTERN,TIME,L,W,TP.PT,O,PARAM
#P,INTERN,BOOLEAN,L,R,TP.Q,O,PARAM
#P,INTERN,TIME,L,R,TP.ET,O,PARAM
#B,INTERN,NIL,G,F,TP,O,2,TP.IN,TP.PT,2,TP.Q,TP.ET,STD
!--------- SEMA --------------
#P,INTERN,BOOLEAN,L,W,SEMA.CLAIM,O,PARAM
#P,INTERN,BOOLEAN,L,W,SEMA.RELEASE,O,PARAM
#P,INTERN,BOOLEAN,L,R,SEMA.BUSY,O,PARAM
#B,INTERN,NIL,G,F,SEMA,O,2,SEMA.CLAIM,SEMA.RELEASE,1,SEMA.BUSY,STD
!--------- CMP --------------
#P,INTERN,INTEGER,L,W,CMP.VAL1,O,PARAM
#P,INTERN,INTEGER,L,W,CMP.VAL2,O,PARAM
#P,INTERN,BOOLEAN,L,R,CMP.LT,O,PARAM
#P,INTERN,BOOLEAN,L,R,CMP.EQ,O,PARAM
#P,INTERN,BOOLEAN,L,R,CMP.GT,O,PARAM
#B,INTERN,NIL,G,F,CMP,O,2,CMP.VAL1,CMP.VAL2,3,CMP.LT,CMP.EQ,CMP.GT,STD
!--------- STACKINT --------------
#P,INTERN,BOOLEAN,L,W,STACKINT.PUSH,O,PARAM
#P,INTERN,BOOLEAN,L,W,STACKINT.POP,O,PARAM
#P,INTERN,BOOLEAN,L,W,STACKINT.R1,O,PARAM
#P,INTERN,INTEGER,L,W,STACKINT.IN,O,PARAM
#P,INTERN,INTEGER,L,W,STACKINT.N,O,PARAM
#P,INTERN,BOOLEAN,L,R,STACKINT.EMPTY,O,PARAM
#P,INTERN,BOOLEAN,L,R,STACKINT.OFLO,O,PARAM
#P,INTERN,INTEGER,L,R,STACKINT.OUT,O,PARAM
#B,INTERN,NIL,G,F,STACKINT,O,5,STACKINT.PUSH,STACKINT.POP,STACKINT.R1,STACKINT.IN,STACKINT.N,3,STACKINT.EMPTY,STACKINT.OFLO,STACKINT.OUT,STD
!--------- USF: REALS ---------------
#F,INTERN,REAL,G,R,ABS,O,1,REAL,STD,1                           
#F,INTERN,REAL,G,R,ACOS,O,1,REAL,STD,2                           
#F,INTERN,REAL,G,R,ASIN,O,1,REAL,STD,3                           
#F,INTERN,REAL,G,R,ATAN,O,1,REAL,STD,4                           
#F,INTERN,REAL,G,R,COS,O,1,REAL,STD,5                           
#F,INTERN,REAL,G,R,EXPT,O,2,REAL,INTEGER,STD,6                           
#F,INTERN,REAL,G,R,LOG,O,1,REAL,STD,7                           
#F,INTERN,REAL,G,R,SIN,O,1,REAL,STD,8                           
#F,INTERN,REAL,G,R,SQRT,O,1,REAL,STD,9                           
#F,INTERN,REAL,G,R,TAN,O,1,REAL,STD,10                           
#F,INTERN,REAL,G,R,TRUNC,O,1,REAL,STD,11                           
#F,INTERN,REAL,G,R,POW,O,2,REAL,REAL,STD,12                           
!--------- USF: ANA -----------------
#F,INTERN,INTEGER,G,R,AND_MASK,O,2,INTEGER,INTEGER,STD,20                           
#F,INTERN,INTEGER,G,R,LIMIT,O,3,INTEGER,INTEGER,INTEGER,STD,21
#F,INTERN,INTEGER,G,R,MAX,O,2,INTEGER,INTEGER,STD,22
#F,INTERN,INTEGER,G,R,MIN,O,2,INTEGER,INTEGER,STD,23
#F,INTERN,INTEGER,G,R,MOD,O,2,INTEGER,INTEGER,STD,24
#F,INTERN,INTEGER,G,R,MUX4,O,5,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,STD,25
#F,INTERN,INTEGER,G,R,MUX8,O,9,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,INTEGER,STD,26
#F,INTERN,INTEGER,G,R,NOT_MASK,O,1,INTEGER,STD,27
#F,INTERN,INTEGER,G,R,OR_MASK,O,2,INTEGER,INTEGER,STD,28
#F,INTERN,INTEGER,G,R,RAND,O,1,INTEGER,STD,29
#F,INTERN,INTEGER,G,R,ROL,O,2,INTEGER,INTEGER,STD,30
#F,INTERN,INTEGER,G,R,ROR,O,2,INTEGER,INTEGER,STD,31
#F,INTERN,INTEGER,G,R,SEL,O,3,BOOLEAN,INTEGER,INTEGER,STD,32
#F,INTERN,INTEGER,G,R,SHL,O,2,INTEGER,INTEGER,STD,33
#F,INTERN,INTEGER,G,R,SHR,O,2,INTEGER,INTEGER,STD,34
#F,INTERN,INTEGER,G,R,XOR_MASK,O,2,INTEGER,INTEGER,STD,35
#F,INTERN,BOOLEAN,G,R,ODD,O,1,INTEGER,STD,36
!--------- USF: MSG -----------------
#F,INTERN,INTEGER,G,R,ASCII,O,2,MESSAGE,INTEGER,STD,40
#F,INTERN,MESSAGE,G,R,CHAR,O,1,INTEGER,STD,41
#F,INTERN,MESSAGE,G,R,DELETE,O,3,MESSAGE,INTEGER,INTEGER,STD,42
#F,INTERN,INTEGER,G,R,FIND,O,2,MESSAGE,MESSAGE,STD,43
#F,INTERN,MESSAGE,G,R,INSERT,O,3,MESSAGE,MESSAGE,INTEGER,STD,44
#F,INTERN,MESSAGE,G,R,LEFT,O,2,MESSAGE,INTEGER,STD,45
#F,INTERN,MESSAGE,G,R,MID,O,3,MESSAGE,INTEGER,INTEGER,STD,46
#F,INTERN,INTEGER,G,R,MLEN,O,1,MESSAGE,STD,47
#F,INTERN,MESSAGE,G,R,REPLACE,O,4,MESSAGE,MESSAGE,INTEGER,INTEGER,STD,48
#F,INTERN,MESSAGE,G,R,RIGHT,O,2,MESSAGE,INTEGER,STD,49
!--------- USF: SYSTEM -----------------
#F,INTERN,INTEGER,G,R,ARCREATE,O,2,INTEGER,INTEGER,STD,60
#F,INTERN,INTEGER,G,R,ARREAD,O,2,INTEGER,INTEGER,STD,61
#F,INTERN,INTEGER,G,R,ARWRITE,O,3,INTEGER,INTEGER,INTEGER,STD,62
#F,INTERN,MESSAGE,G,R,DAY_TIME,O,1,INTEGER,STD,63
!--------- USF: FILES -----------------
#F,INTERN,INTEGER,G,R,F_ROPEN,O,1,MESSAGE,STD,70
#F,INTERN,INTEGER,G,R,F_WOPEN,O,1,MESSAGE,STD,71
#F,INTERN,INTEGER,G,R,FA_READ,O,1,INTEGER,STD,72
#F,INTERN,MESSAGE,G,R,FM_READ,O,1,INTEGER,STD,73
#F,INTERN,BOOLEAN,G,R,FA_WRITE,O,2,INTEGER,INTEGER,STD,74
#F,INTERN,BOOLEAN,G,R,FM_WRITE,O,2,INTEGER,MESSAGE,STD,75
#F,INTERN,BOOLEAN,G,R,F_CLOSE,O,1,INTEGER,STD,76
#F,INTERN,BOOLEAN,G,R,F_EOF,O,1,INTEGER,STD,77
!--------- BIN-STRINGS ---------------------
!#F,INTERN,INTEGER,G,R,MLEN_BIN,O,1,MESSAGE,STD,50
!#F,INTERN,INTEGER,G,R,MSG_ALG,O,3,MESSAGE,INTEGER,INTEGER,STD,51
!#F,INTERN,MESSAGE,G,R,ALG_MSG,O,4,INTEGER,INTEGER,INTEGER,MESSAGE,STD,52
!#F,INTERN,BOOLEAN,G,R,MSG_BOO,O,3,MESSAGE,INTEGER,INTEGER,STD,53
!#F,INTERN,MESSAGE,G,R,BOO_MSG,O,4,BOOLEAN,INTEGER,INTEGER,MESSAGE,STD,54
!#F,INTERN,INTEGER,G,R,MULT_M_A,O,10,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,INTEGER,INTEGER,STD,55
!#F,INTERN,BOOLEAN,G,R,OR_MSG,O,10,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,INTEGER,INTEGER,STD,56
!#F,INTERN,BOOLEAN,G,R,AND_MSG,O,10,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,MESSAGE,INTEGER,INTEGER,STD,57
!
! 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
!
! library IEC FBs
!
!
! global var
!
#V,INPUT,BOOLEAN,G,R,START,O,DATA,1,0
#V,INTERN,BOOLEAN,G,F,SAMPLA,O,DATA,1,0
#V,INTERN,BOOLEAN,G,F,_DUMMYCOIL,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_01,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_02,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_03,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_04,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_05,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_06,O,DATA,1,0
#V,INPUT,BOOLEAN,G,R,_IO0000_07,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_00,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_01,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_02,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_03,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_04,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_05,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_06,O,DATA,1,0
#V,OUTPUT,BOOLEAN,G,F,_IO0001_07,O,DATA,1,0
#V,INPUT,INTEGER,G,R,_IO0002_01,O,DATA,1,0
#V,INPUT,INTEGER,G,R,_IO0002_02,O,DATA,1,0
#V,INPUT,INTEGER,G,R,_IO0002_03,O,DATA,1,0
#V,OUTPUT,INTEGER,G,F,_IO0003_01,O,DATA,1,0
!
! steps and trans
!
#V,INTERN,BOOLEAN,L,R,GS1.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS1.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS7.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS7.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS2.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS2.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS8.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS8.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS3.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS3.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS9.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS9.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS10.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS10.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS11.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS11.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS12.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS12.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS13.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS13.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS5.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS5.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,R,GS6.X,O,STEP,1,0
#V,INTERN,TIME,L,R,GS6.T,O,STEP,1,0
#V,INTERN,BOOLEAN,L,W,GT0,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT1,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT8,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT2,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT9,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT13,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT14,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT15,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT10,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT16,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT17,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT18,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT4,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT6,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT11,O,TRANS,1,0
#V,INTERN,BOOLEAN,L,W,GT12,O,TRANS,1,0
!
! child SFCs, sub-progs, functs
!
#F,INTERN,BOOLEAN,G,R,STSAMPLE,O,2,BOOLEAN,BOOLEAN,LIB
#F,INTERN,BOOLEAN,G,R,ILSAMPLE,O,2,BOOLEAN,BOOLEAN,LIB
#F,INTERN,BOOLEAN,G,R,LDSAMPLE,O,2,BOOLEAN,BOOLEAN,LIB
#F,INTERN,BOOLEAN,G,R,FBSAMPLE,O,2,BOOLEAN,BOOLEAN,LIB
!
! other SFCs
!
#V,INTERN,SELF,G,F,PIDCONTR,O,DATA,1,0
!
! project FBs
!
!
! local var
!
!
! global FB inst
!
!
! local FB inst
!
@END
