* Functions and variables provied by generated C softPLC
extern int common_ticktime__;
* Functions and variables provied by plc.c
void run(long int tv_sec, long int tv_nsec);
#define maxval(a,b) ((a>b)?a:b)
* Functions and variables provied by generated C softPLC
void config_run__(int tick);
void config_init__(void);
* Functions and variables to export to generated C softPLC