All value reset to 0 when device lost communication Forum Home › Forums › Communicating with Devices › Modbus › All value reset to 0 when device lost communication Tagged: modbus value This topic contains 3 replies, has 2 voices, and was last updated by Mikhail 3 months, 2 weeks ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts May 27, 2019 at 2:05 am #5481 gasinParticipant i’ve problem about value from modbus reset to 0 when device lost communication. Is it possible to hold last value before lost communication? May 27, 2019 at 6:13 am #5483 MikhailModerator The answer is here https://forum.rapidscada.org/?topic=retain-variable July 2, 2019 at 11:01 am #5652 gasinParticipant Hi, i try to use this formula : Cnl > 0 ? Cnl : Val() but the result is when i write to 0, input still show 1. and device connect normally. July 3, 2019 at 7:39 am #5658 MikhailModerator Hi, Stop the Communicator service, and use the Generator feature the collect more information how the formula works. The expected and actual results, you need, are not clear. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.