USER MANUAL – Z-TWS4/Z-PASS2-S/S6001-RTU
190
19.1.15
PUT_ALARM
This FB stores an alarm record into the DB;
the "index" and "timestamp" fields are set by the FB;
the "status" field is set to 0 by the FB.
The FB is also responsible for keeping the DB size (number of records) under a
specified limit (e.g.: 1000).
INPUTS:
- LEVEL: a string representing the alarm/event level (e.g.: "INFO")
(max_len=10);
possible values are defined by the application
- SOURCE: a string representing the alarm/event source (e.g.: "GRP1")
(max_len=10);
possible values are defined by the application
- MSG: the text message of the alarm (max_len=255)
- @ENABLE: TRUE -> FB is executed
FALSE -> FB is skipped
the parameter is set to FALSE by the FB at the end of execution
OUTPUTS:
- RESULT: the FB result; possible values are:
0: FB still running
1: FB successfully executed
-1: FB execution failed
-2: FB execution timeout
Содержание S6001-RTU
Страница 35: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 35 Then import the Library menu Tools Import...
Страница 68: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 68...
Страница 76: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 76...
Страница 86: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 86...
Страница 87: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 87...
Страница 107: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 107 Once the upload is successfully completed the following page is shown...
Страница 121: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 121...
Страница 127: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 127 When the procedure is completed the following page is shown...
Страница 133: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 133...
Страница 158: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 158 Select the mbus_vars csv file and click save The variables are imported...
Страница 160: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 160 Now create the Embedded Shared Memory Insert a Master Port...
Страница 162: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 162 Select the mbus_shm csv file...
Страница 165: ...USER MANUAL Z TWS4 Z PASS2 S S6001 RTU 165...