I have created a device which has the following tag: <fbinstance basename="$(DeviceName)" fbname="FB1"></fbinstance>
This does create the Function block when added to my project, but I have to call this function block in another program to have the variables update. Is there a tag to call the function block on every scan?
I have created a device which has the following tag: <fbinstance basename="$(DeviceName)" fbname="FB1"></fbinstance>
This does create the Function block when added to my project, but I have to call this function block in another program to have the variables update. Is there a tag to call the function block on every scan?
Alternatively I have also tried:
<requiredcyclictask cycletime="t#100ms" priority="0" taskname="Task1">
<taskpou>PRG1</taskpou>
</requiredcyclictask>
But there is no way to dynamically call "$(Devicename)" in PRG1.