Hello. I have a project where vi run some scripts on a LM. The problem is that when we experience a power loss or do a reboot on the LM the scrips do not start up automatically. Is there a need for a boot script, and is there an example on how to make this available?
Hi
It depend of type of the script, event will run only if new telegram is received. Resident and Scheduled will run as setup while device will boot up. If you need to run something on boot up then use init script.
BR
Daniel
14.10.2018, 17:37 (This post was last modified: 14.10.2018, 17:39 by Erwin van der Zwart.)
Hi,
You make things more complex then needed..
On the (event) object settings you can enable “Read during startup”
Make sure the read flag is enabled in the ETS for this object.
When the controller reboots it will send a read request and the object will get the correct value from the installation and the event script will be executed and the output result should be as wanted.
On the (event) object settings you can enable “Read during startup”
Make sure the read flag is enabled in the ETS for this object.
When the controller reboots it will send a read request and the object will get the correct value from the installation and the event script will be executed and the output result should be as wanted.
BR,
Erwin
Hi Erwin
You mean *Execute on group read:* ?
Because I did not find anything that is called “Read during startup”