Value of a variable is set to zero (0) after writing in zenon logic when the variable is from the straton to zenon runtime shared memory driver, and the zenon driver is set to simulation programmed

Value of a variable is set to zero (0) after writing in zenon logic when the variable is from the straton to zenon runtime shared memory driver, and the zenon driver is set to simulation programmed

Summary

With a modbus energy driver set to simulation programmed, and a variable of the modbus energy driver set to "externally visible", writing the variable in a zenon logic runtime sets the variable value to zero. The variable can be correctly written in the zenon runtime and in the zenon logic runtime for the programmed simulation. When the modbus energy driver is set to hardware, the value for the variable set to externally visible can be written normally in the zenon logic runtime.

Description

With a modbus energy driver set to simulation programmed, and a variable of the modbus energy driver set to "externally visible", writing the variable in a zenon logic runtime sets the variable value to zero. The variable can be correctly written in the zenon runtime and in the zenon logic runtime for the programmed simulation. When the modbus energy driver is set to hardware, the value for the variable set to externally visible can be written normally in the zenon logic runtime.

Solution

Only set timestamp of poke value, if the received timestamp is not null.



Issue Number: 30470
Fixed on Date: 2.10.2013
Versions: 7.11 0 BUILD 10238