WinCC OA tutorial. Part 5. Working with the alarm log

(* From this part I switched to WinCC OA version 3.17. There will be no differences in the scope of the basic course. Only the captions on the screenshots will change. *)





Flap DPE «» (Flap→Alarms→Torque). (Flap1, Flap2, Flap3) , . , , DPE . para .





DPE Torque Flap1 «Alert Handling»





. , Alert Handling , . bool, .





Good range — «» (.. , ), — «» ( ). . , «came» () «went» (). «» «», .. .









— . : , , , .. S7_Alarm «Active». . , , ( WinCC OA , ). .





para original, «».





The current value of the variable is FALSE, the alarm is inactive
FALSE,
The current value of the variable is TRUE, the alarm is active, the text blinks very quickly
TRUE, ,

FALSE. «came», , .





. Acknowledge, «» .





— ? ? ( , -). , - , - . , . para .





, DP, ? Internal datapoints ( ) , .





_AlertClass, , ( , ), . S7Alarm, , .





, , , «» , , ..





, para. , . . gedi System Management





Diagnostics





Alarmscreen









para, Flap1.Alarms.Torque





Alarmscreen . . , , . , , . . .





Time range Open Historical Data, .





, , , . , , Alarm text «came» (… -, , , , ).





Alarmscreen . , para. , , .. . ? . .





gedi Flaps. gedi. ( Workshop) 3.17 ( , , «3.16»), . , — , , .. .





, «» WinCC OA. , — gedi, para, Project Administrator, , . , , . , , gedi para. . . ( ?) WinCC OA . — .





We will not edit the para module yet (although we really want to)
para ( )

«» 3.17 : 3.17 ( WinCC OA) → Panels → vision → aes → AESRow.pnl. Flaps. $- $SCREENTYPE. , Cancel.









, , para «» .





Apparently it works
,
Hid the para module, there is an alarm and is actively blinking (which you can see in the screenshot)
para, ( )

WinCC OA. , . , , . .





gedi AESRow Open panel reference





«»





«»





Save





, «Workshop», «» . . (, ), WinCC OA, . , , . , , , , . . , , , .





, . , «» , .





, — , . readme , . , .





AESRow Flaps , «» .





— , , (, ..), . Flaps (Circle).





Initialize , . Change color





Background color Alert Handling, Next. Alert Handling .





Datapoint element





Next, — Finish. , . , ( S7_Alarm).





After confirming the alarm, it stops blinking, after the alarm disappears (the corresponding variable was given the value "false") it becomes white, and at the bottom of the screen the alarm disappears from the list.





Let's take a look at the resulting script





In this case, there is a subscription to the current alarm color from the corresponding config, which is assigned directly as the background color of our graphic object.












All Articles