Home » Categories » Gateways » 7000 Series - AppSrvCE |
How can I use fault code 0x00000035 (PWR_DWN_5V_LOSS Power supply is below 5v. Shutdown is eminent) or any other fault code(s) to trigger a shutdown on AppSrv module? |
Article Number: 437 | Rating: Unrated | Last Updated: Wed, Dec 23, 2009 at 12:00 AM |
When AppSrv actually sees and responds to the corresponding signal from the operating system, shutdown is truly imminent and there may not be adequate time remaining to perform an elegant shutdown so the recommendation is not to use the "0035" [PWR_DWN_5V_LOSS] fault code but to use 0x00000038" [PWR_DWN_24V_LOSS]. Despite the minor fault's name, PWR_DWN_24V_LOSS, the signal is not provided by the operating system until the voltage falls below a preset threshold ... 19 volts. Unfortunately, the module is NOT preconfigured to provide PWR_DWN_24V_LOSS, but with minimal effort, you should be able to (somewhat) easily perform the necessary configuration. 1. Connect mouse, keyboard, and VGA monitor 2. Unlock registry a. Launch Windows Explorer using Start->Programs->Windows Explorer b. Launch the GP Registry Configuration Utility ... DiskOnChipGPRegCfg.exe c. Click the Unlock Registry button, then click the Yes button to arm registry unlock and auto-reboot d. When AppSrv comes back up, the registry will be unlocked e. Launch Windows Explorer using Start->Programs->Windows Explorer f. Launch the GP Registry Configuration Utility ... DiskOnChipGPRegCfg.exe g. Check the Create EZLaunch.log checkbox and provide a folder name where EZLaunch.log should be created. h. Take special note of the Power State Critical item. We'll touch on this later. i. Click the Update Registry button 3. Add a new registry entry a. Launch the registry editor using Start->Run. Enter regedit in the Open: text box. b. Within the registry editor, navigate to HKEY_LOCAL_MACHINESOFTWAREOnline DevelopmentEZ1131 c. Select Registry->New->DWORD Value from the menu d. Value name: PowerLowFault; Value data: 1 e. Click OK f. Exit the registry editor. g. Launch Save Registry on the desktop in order to save the registry changes. h. Reboot AppSrv using Start->Run. Enter reboot in the Open: text box. i. When AppSrv reboots, the registry will now be locked. At this point, the PWR_DWN_24V_LOSS minor fault should be available for shutdown fault interception. Hopefully, there will be adequate time to execute the customer's fault routine before complete loss of power. Now, getting back to the Power State Critical item. It is NOT necessary to configure this item in order to gain the functionality described above. Power State Critical is independent of everything written to this point. Essentially, Power State Critical allows the system to recover from a brown out if power is restored after falling below 19 volts, but before power goes below an unrecoverable level (about 5 volts). |
Attachments (3)
|
Comments
There are no comments for this article. Be the first to post a comment.
|
What can I do to troubleshoot connection problems between Echo Historian and OPC/SLS servers on the PC56/PC56CE/7000AppSrvCE platforms?
Viewed 1 times since Wed, Feb 6, 2008
How do I setup the IP Address in an AppSrvCE?
Viewed 1 times since Thu, Jan 25, 2007
What are the default IP Addresses on an AppSrvCE unit?
Viewed 1 times since Thu, Jan 25, 2007
I'm developing applications for the AppServ CE and need to know, how do I get applications to auto-start on power-up?
Viewed 1 times since Wed, Mar 19, 2008
How do I change the video display resolution in the AppSrv?
Viewed 1 times since Wed, Nov 29, 2006
I'm not able to create more than 7 interfaces in my EZStudio project, how can I add more interfaces?
Viewed 1 times since Thu, Jan 25, 2007
How do I do a Remote Display Connection with the AppSrvCE?
Viewed 1 times since Thu, Jan 25, 2007
Every attempt to download an EZ-Studio project to the AppServ module results in an "echoxmlcfg" failure. How do I fix this?
Viewed 1 times since Mon, Feb 18, 2008
How does one autostart an application in the appsrvce?
Viewed 1 times since Fri, Aug 31, 2007
How do I get AppServCE applications to Auto-Start on power-up?
Viewed 1 times since Thu, Apr 24, 2008
|