11/20/2008 3:45 AM | |
Posts: 95 Rating: (10) |
Check out the attached library archive Call FB6 from your main project and use DB6 as your instance DB. Itmay contain what you are looking for. I even created two VAT's to easier see the data. Hope that helps. Cheers, Darren AttachmentRedundant_Tools.zip (1154 Downloads) |
Last edited by: Darren in Dallas (in Buffalo) at: 11/21/2008 4:11 AMLook in DB6. Much of the status of the H-Processors is listed in there. You can use it anywhere in your program however you wish. DB6.DBX18.4 = CPU in rack 0 status (0 = Standby, 1 = Master) DB6.DBX18.5 = CPU in rack 1 status (0 = Standby, 1 = Master) DB6.DBX19.0 = Sync Status (0 = Not Possible, 1 = Possible) DB6.DBX19.4 = Rack 0 Status (0=CPU not inserted, 1=CPU inserted (redundant mode = 0)) DB6.DBX19.5 = Rack 1 Status (0=CPU not inserted, 1=CPU inserted (redundant mode = 0)) DB6.DBW24 = Mode of CPU in rack 0 DB6.dBW26 = Mode of CPU in rack 1 CPU Modes: #16#0001: STOP (update) #16#0002: STOP (reset memory) #16#0003: STOP (self-initialization) #16#0004: STOP (internal) #16#0005: STARTUP (cold restart) #16#0006: STARTUP (warm restart) #16#0007: STARTUP (hot restart) #16#0008: RUN (solo mode) #16#0009: RUN-R (redundant mode) #16#000A: HOLD #16#000B: LINK-UP #16#000C: UPDATE #16#000D: DEFECTIVE #16#000E: SELFTEST #16#000F: NO POWER DB6.DBB31 = FO_Connect_Quality (Bit 0: Upper receptacle limited, Bit 1: Lower receptacle limited) |
|
This contribution was helpful to2 thankful Users |
11/21/2008 4:07 AM | |
Posts: 95 Rating: (10) |
Attached is another archive I created to detect the LED status on multiple CPU's. Hope it can help someone out. Cheers, Darren AttachmentLed_stat.zip (1098 Downloads) |
This contribution was helpful to1 thankful Users |
12/1/2008 7:07 PM | |
Posts: 95 Rating: (10) |
And after all my hard work Look what I found on the Siemens site!!! http://support.automation.siemens.com/WW/view/en/23330722 |
This contribution was helpful to2 thankful Users |
12/4/2008 3:55 PM | |
Posts: 5822 Rating: (411)
|
Hi Darren, I think the way you found out what you did is the hard way... but you will benefit from this for the rest of your life. Best regards J_Bell |
7/23/2009 5:55 PM | |
Posts: 37 Rating: (0) |
Hi darren... Currently i am using your program for getting CPU led status for redundant H system of CPU414-4H... I am getting the status forleds.... but i am having doubt wheather the CPU400-Hnetwork is enablingor not bcoz i didn't get the "TRUE" status of the Instant db.... But i am getting the correct status.... I also attach the screen status.... Guide me what may be the mistake? Attachmentcpu status.zip (320 Downloads) |
6/9/2010 12:25 PM | |
Posts: 183 Rating: (8) |
Hello Maha; Please, could you show the code to know the state of CP LED? Thanks. |
Follow us on