Translations:Полезные программы/1/en — различия между версиями

Материал из WebHMI Wiki
Перейти к: навигация, поиск
 
Строка 1: Строка 1:
<languages/>
 
 
== Useful programs ==
 
== Useful programs ==
 
=== Run script on rising or falling edge of the discrete signal ===
 
=== Run script on rising or falling edge of the discrete signal ===

Текущая версия на 08:25, 3 мая 2018

Информация о сообщении (править)
Это сообщение не имеет описания. Если вы знаете, где или как это сообщение используется, то можете помочь другим переводчикам, добавив к нему описание.
Формулировка сообщения (Полезные программы)
== Полезные программы ==
=== Запуск скрипта по фронта или срезу дискретного сигнала ===
Скрипт нужно вызываеть по изменению регистра. Внутри скрипта нужно сделать проверку текущего состояния этого регистра и выполнять соответветсующие действия либо по фронту (текущее состояние =1), либо по срезу (=0).
Пример скрипта:
[[Файл:Rising edge.png | 1000 px | left]] <br clear = all >
Перевод== 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:
[[Файл:Rising edge.png | 1000 px | left]] <br clear = all >

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:

Rising edge.png