When using a Driver in mode "Simulation - static" and in the zenon runtime the Driver command "Switch to Hardware mode" is executed, variables of the corresponding Driver get INVALID (correct) but when then executing the Driver command "Switch to Simulation mode" the variable stays INVALID but gets also SPONT.

When using a Driver in mode "Simulation - static" and in the zenon runtime the Driver command "Switch to Hardware mode" is executed, variables of the corresponding Driver get INVALID (correct) but when then executing the Driver command "Switch to Simulation mode" the variable stays INVALID but gets also SPONT.

Summary

When performing the Driver command "Switch to Hardware mode" in the zenon runtime variables of a Driver which is running in mode "Simulation - static" get INVALID (correct). When then performing the Driver command "Switch to Simulation mode" the variables stay INVALID but get also SPONT.

Description

When performing the Driver command "Switch to Hardware mode" in the zenon runtime variables of a Driver which is running in mode "Simulation - static" get INVALID (correct). When then performing the Driver command "Switch to Simulation mode" the variables stay INVALID but get also SPONT.

Solution

This issue has been addressed by ensuring that the INVALID bit is cleared in case the SPONT bit is set in Simulation mode.

Issue Number: 33973
Fixed on Date: 13.11.2015
Versions: 7.60 0 BUILD 36068