beremiz

1a5f459d5aa5
Python runtime: call "OnIdle" tasks when py_eval FBs execution queue is empty.

This is usefull to execute slow operations that can be deffered from functions called by py_eval FBs.
User python code add a callable to "OnIdle" list made available in global scope.
input,smta,1,DINT,0
input,smtb,1,DINT,1
input,smtc,1,DINT,2
input,smtd,1,DINT,3
input,smte,1,DINT,4
output,smtf,1,False,DINT,0
output,smtg,1,False,DINT,1
output,smth,1,False,DINT,2
output,smti,1,False,DINT,3
output,smtj,1,False,DINT,4