11/20/2008 3:45 AM | |
Posts: 95 Rating:
|
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 (1257 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 to
2 thankful Users |
11/21/2008 4:07 AM | |
Posts: 95 Rating:
|
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 (1186 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on