Translations:Полезные программы/1/en
Материал из WebHMI Wiki
Useful programs
Run script on rising or falling edge of the discrete signal
The script needs to be called on register's change. Inside the script, you need to check the current state of this register and perform corresponding actions either on the front (current state = 1) or on the falling edge (= 0). Example of the script: