equal
deleted
inserted
replaced
26 |
26 |
27 static int tick = 0; |
27 static int tick = 0; |
28 static int init_level=0; |
28 static int init_level=0; |
29 |
29 |
30 /* |
30 /* |
31 * Prototypes of funcions exported by plugins |
31 * Prototypes of functions exported by plugins |
32 **/ |
32 **/ |
33 %(calls_prototypes)s |
33 %(calls_prototypes)s |
34 |
34 |
35 /* |
35 /* |
36 * Retrive input variables, run PLC and publish output variables |
36 * Retrieve input variables, run PLC and publish output variables |
37 **/ |
37 **/ |
38 void __run() |
38 void __run() |
39 { |
39 { |
40 %(retrive_calls)s |
40 %(retrieve_calls)s |
41 |
41 |
42 config_run__(tick++); |
42 config_run__(tick++); |
43 |
43 |
44 %(publish_calls)s |
44 %(publish_calls)s |
45 } |
45 } |