113
As the result, the value of binary input I1 at sending module will be mirrored by receiving
module's binary output Q1.
Line 0 copies the bit 9 of RMT_IN into REG1. Line 1 compares REG1 to 256 (value of bit
9) and sets Q1 accordingly to the actual value.
The same effect can be obtained in more elegant way employing function
"Bit test"
:
9.14.7. Alarm with confirmation
The program generates cyclic transmission of SMS messages until I5, declared as alarm
confirmation, is activated or the alarm condition ceases (I1=0)
When binary input I1 is activated, output Q1 is set high. (In MTManager - the rule
triggered by Q1 sending SMS is defined). Simultaneous to I1 going high, the timer 1 is
activated and counts to PV_T1 amounting 600 (6 seconds) starts. Upon reaching PV_T1,
the flag T1 is set and subsequently Q1 is set. As a result of the rule, an SMS message is
dispatched. Until I5 is activated or I1 deactivated, SMS messages will be regularly
dispatched.
Содержание MT-101
Страница 1: ......
Страница 129: ...126 11 7 Drawings and dimensions ...