This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Touch visu status update issue
#3
(29.09.2020, 10:53)admin Wrote: Control changes state only when status object is changed, but in your case status object value remains the same. If your status object does not represent real object value then don't use it at all.

Hi,

Actually, there are some real cases. Suppose, we have a PLC communicating through Modbus TCP. The main object would energize a power relay (through PLC's output) and from the relay itself we would get the status (through PLC's input). If the relay would not respond for any reason (selector switch, damaged e.t.c.) status would not be sent. This way in visu we would get ON indication instead of OFF state which is normal as long as we did not receive a reply.

However, we could request the state of PLC's after a small delay (we would get value OFF) and then Touch visu would show ON state incorrectly.

P.S. How, is it possible to request the state of some variable through script (as long as LM only updates values on change)? Actually, how to perform a modbus read function which would update LM objects' value?

Thanks!
Reply


Messages In This Thread
Touch visu status update issue - by p_xatzi - 29.09.2020, 10:36
RE: Touch visu status update issue - by admin - 29.09.2020, 10:53
RE: Touch visu status update issue - by p_xatzi - 29.09.2020, 12:05
RE: Touch visu status update issue - by admin - 29.09.2020, 12:15
RE: Touch visu status update issue - by admin - 29.09.2020, 13:18

Forum Jump: