Search talk: alarm list

 
<< < 1 .. 7 8 9 10 11 .. 15 > >> (Page 9 of 15)

Post by talhaali on Active alarm access in ST CODESYS Forge talk (Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06

Post by talhaali on Alarm Manager: CODESYS Forge talk (Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06

Post by talhaali on Alarm Table Issues CODESYS Forge talk (Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06

Post by talhaali on Alarm status in logic CODESYS Forge talk (Post)
Hi, I am trying to access active alarms in code(As alarm count variable updates only when we go to to alarm table frame in visualization). I wrote following code but it is not working: VAR iCountActiveAlarms : INT; parritfActiveAlarms : POINTER TO ARRAY[0..0] OF IAlarm; itfAlarmManagerClientAll : IAlarmManagerClient; END_VAR AlarmManager.g_AlarmHandler.GetActiveAlarms( itfAlarmManagerClient :=itfAlarmManagerClientAll, iCountActiveAlarms => iCountActiveAlarms, parritfActiveAlarms => parritfActiveAlarms); The Value is always 0. Please help.
Last updated: 2024-06-06

Post by bjarne-pagaard on Unable to add alarm configuration object to project CODESYS Forge talk (Post)
I believe it should be available. It may be the case, that your device does not support the alarm configuration. Some smaller PLCs sometimes do not support it. You can try changing to a different device, like a Codesys Control Win, in your project, and see if then allows you to add the alarm configuration.
Last updated: 2024-09-27

Post by riccardo on VisuElems.CurrentUserGroupId is not stable CODESYS Forge talk (Post)
GoodMorning everyone. I have a system that, in case of alarm, have to block. When the operator logs in must have to acknoledge the alarm and should operate in the system freely. To perform this I detect the logged User by (VisuElems.CurrentUserGroupID <> 0) with a similar code to the the following: PROGRAM AlarmMngt VAR alarm : BOOL:= FALSE; Ack : BOOL:= TRUE; PushBottonOpening : BOOL:= FALSE; Valve : BOOL := FALSE; Flag: BOOL := FALSE; END_VAR IF alarm AND Ack AND (NOT Flag) THEN valve := FALSE; PushBottonOpening := FALSE; Ack := FALSE flag := TRUE; ELSIF (NOT alarm) AND Ack THEN flag := FALSE; END_IF (* if the system is in alarm but there is a logged operator that acknowledge the alarm the system allows the valve opening.*) IF (VisuElems.CurrentUserGroupID <> 0) AND Ack AND Alarm AND PushBottonOpening THEN Valve := TRUE; ELSIF (VisuElems.CurrentUserGroupID = 0) AND Alarm THEN valve := FALSE; END_IF The problem I have is in the last 5 lines of the code: Even if there is a logged in user, the GroupID variable is subjected to a refresh that cyclically set for an instant it to 0 and this close the valve making difficult to the user to work Now I solved it creating a time hysteresys cycle but it is not a good solution. Someone is able to explane me why the GroupID variable is sobjected to this refresh and how to stabilize to avoiding it? Thank you in advance, Riccardo
Last updated: 2023-11-10

Post by dtamm on How to read string from CharBufferPtr? CODESYS Forge talk (Post)
I am trying to implement a mechanism to send alarm SMS. For this, I have created an Alarm Class with a Notification Action which calls a POU. This POU implements IAlarmNotifiable making it selectable in the Alarm Class configuration. IAlarmNotifiable has an Execute method which is called by the alarm class. Now, I want to extract the alarm message of the triggered alarm. The Execute method comes with a VAR_INPUT itfAlarm: AlarmManager.IAlarm which supplies a method called GetMessage. The help text says: Returns the message text, that has been configured for the alarm. The result is a pointer to the buffer, where the message text is stored The type of the result is CharBufferPtr, and at some place I read that it can be interpreted as a pointer to string. But I cannot manage to extract the alarm message, all I get are numbers. I have tried the following: psAlarmText := itfAlarm.GetMessage(__SYSTEM.TYPE_CLASS.TYPE_STRING)^; sAlarmText := TO_STRING( itfAlarm.GetMessage(__SYSTEM.TYPE_CLASS.TYPE_STRING)^ ); So how do I get access to the alarm message as clear text? (In this case, "Larm 1")
Last updated: 2024-02-21

Post by dkugler on Alarm State Icon CODESYS Forge talk (Post)
thank you for pointing me to this "bug"!! I haven't recognized, the bit is reset after the first alarm is gone. I use this only for warnings, so it's not a drama, but was not correct in the past. I solved it now simply stupid by counting up a variable every time an alarm appears and decreasing it if an alarm is gone. The "warning lamp" is activated by checking the counter is > 0 The nice side effect, i'm able to show the number of active alarms in the state line now.
Last updated: 2024-04-24

Post by talhaali on Alarm Class "Notification Actions" CODESYS Forge talk (Post)
Hi, do you have code implementation of this?
Last updated: 2024-06-06

Post by talhaali on Alarm Class "Notification Actions" CODESYS Forge talk (Post)
Hi, do you have code implementation of this?
Last updated: 2024-06-06

How do I list the folder names found in a PLC Directory? CODESYS Forge talk (Thread)
How do I list the folder names found in a PLC Directory?
Last updated: 2015-05-07

Is it possible to replace a table row header for a text in a text list? CODESYS Forge talk (Thread)
Is it possible to replace a table row header for a text in a text list?
Last updated: 2021-10-21

The text list provided outside the library is not available for visualization controls within the library. CODESYS Forge talk (Thread)
The text list provided outside the library is not available for visualization controls within the library.
Last updated: 2023-10-16

How to convert a standard robot program into an excutive list when a robot runs? CODESYS Forge talk (Thread)
How to convert a standard robot program into an excutive list when a robot runs?
Last updated: 2023-11-25

Unable to see the global text list in codesys device tree CODESYS Forge talk (Thread)
Unable to see the global text list in codesys device tree
Last updated: 2020-04-21

how to get a list of the cross reference of one variable CODESYS Forge talk (Thread)
how to get a list of the cross reference of one variable
Last updated: 2018-01-17

Don't show any list of parameters an setting sof any device CODESYS Forge talk (Thread)
Don't show any list of parameters an setting sof any device
Last updated: 2020-07-13

Find out on which WebVisu page a text ID from the global text list is linked. CODESYS Forge talk (Thread)
Find out on which WebVisu page a text ID from the global text list is linked.
Last updated: 2023-05-30

How to adjust Maximun packet size in the parameter list? (MQTT) CODESYS Forge talk (Thread)
How to adjust Maximun packet size in the parameter list? (MQTT)
Last updated: 2022-11-07

How can I use the MOVE operator in INSTRUCTION LIST in Codesys? CODESYS Forge talk (Thread)
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
Last updated: 2021-06-19

How can I use the MOVE operator in INSTRUCTION LIST in Codesys? CODESYS Forge talk (Thread)
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
Last updated: 2021-06-19

C0244: No VAR_PERSISTENT list is part of the application to enter instance path for variable CODESYS Forge talk (Thread)
C0244: No VAR_PERSISTENT list is part of the application to enter instance path for variable
Last updated: 2024-07-17

Is it possible to link an array of bits to an alarm group to show a lot of alarms at once? CODESYS Forge talk (Thread)
Is it possible to link an array of bits to an alarm group to show a lot of alarms at once?
Last updated: 2021-07-08

Post by arrotek on Visualisation Toolbox not displaying Alarm Manager Objects CODESYS Forge talk (Post)
After upgrading to 3.5 SP19 Patch 4 I can no longer see the Alarm Manager Tab in the Visualisation Toolbox. Anyone had this error? Can anyone assist?
Last updated: 2023-12-09

Post by spfollen on Access to the path *** is denied CODESYS Forge talk (Post)
Hello @eschwellinger, My project stopped working again. it would appear that this solution didn't resolve the problem perminantely. I deleted my alarm manager and the problem is no longer. When I put back in the Alarm Manager and my alarms the issue returns.
Last updated: 2024-02-03

<< < 1 .. 7 8 9 10 11 .. 15 > >> (Page 9 of 15)

Showing results of 351

Sort by relevance or date