02-23-2023 12:29 AM
I designed a simple project with LabVIEW and DSC module to monitor Siemens S7 400 PLC input and output.
the designed project has also alarm windows that show current active alarms and date and time.
now I want to integrate my second PLC same Siemens S7-400. I can both PLC input and output in my project but I am confused about how to display the alarm for the second PLC when i set the alarm window it does not ask for any setting and just display the alarm for that which is shared variable set for the alarm.
any help on this, please?
02-24-2023 03:02 AM
I hope your are now able to display the alarm from PLC1 and you need to do the same from PLC2 and you need this only when you switch to Set Alarm Window.
Make sure you Poll/Read for the Alarm Variables when you are switching Display Alarm tab.
Will be better if you can share the piece of code you have developed to suggest based on your approach
04-13-2023 04:17 AM
Thanks for your reply.
I want to say that when I select Alarm and Event display window it does not provide any option to select PLC. all the shared variables which are set for alarms and even logging show on the same single alarm and event windows.
Hope you understand.
04-13-2023 04:25 AM
Firstly it is better to share the Code to understand Better and what you have implemented.
If you have Single Monitor Loop where you receive alarms from two different PLC using Shared Variable, there should be a Reference which tells the Monitor Loop to understand the Data from Which PLC, Based on the Reference you can Display the Alarm accordingly.
The Reference can be of Variable Name / Adding PLC Name along with the data, etc.,