How to Display the Time remaining in Test Mode Using ION Setup
Step 1: Storing the start time of the test mode
Create a module under the store module (For this example the module is called StoreTestTime)
Figure 1 Shows where to create the store module
This module will need the universal time linked as a source. It will be enabled by the Test Mode Enable input. The source of the store is in the convert module under in the Test Mode Rset, and is called the CNV1 On Pulse. This register is linked to the pulse that results from converting the Boolean created by entering test to a pulse. This allows the store module to store the exact time the meter is put into test mode, which will be called in the arithmetic module. The output of the store module is TestModeStart for this example and represents the time the meter entered test mode
Figure 2 Shows the enable input that must be added
Figure 3 Shows the pulse that must be linked to the store input, the pulse is created by converting the Boolean created by entering test mode into a pulse
Figure 4 Shows the universal time input that the module is recording
Figure 5 Shows the final inputs tab for this module
Figure 6 - Shows the final outputs tab for this module
Step 2: Create the Arithmetic Module to Compute the Time Remaining in Test Mode
This step is to create a module under the arithmetic module folder that will compute the time remaining in Test Mode. This value will be stored in this module and displayed on the Test Mode window.
The inputs to this module are the universal clock time, TestModeStart (created in step1) and the TestModeTimeout Register that can be set by the user (see Appendix A). The TestModeTimeout value is mapped to the 0x772D register. (See appendix A for how to determine where this value is mapped to) Once these links are created the setup registers must be set up to four functions:
-compute time surpassed since test started
-make the value equal to the TestModeTimeout Value, if not counting
-ensure that the lowest value that can be returned is zero
-subtract the total time from the time surpassed to return the time remaining in test mode
For this example each step is broken down into a setup register result, thus only the 4th result (CountDownValue) will be called later and is the only one labeled. In order to display this value in the Test Mode Display Screen the register it is mapped to must be determined. This is done by holding CTRL down and pushing the Output tab. The register for this example is 0x4AAD.
Figure 7 - Shows the universal time input that the module is using to compare to the TestModeStart
Figure 8 - Shows the link that must be created to the store module
Figure 9 The register of the total time in test must be linked to this module
Figure 10 Once the resister has been inputted it should list the register name (Test Mode Timeout)
Figure 11 - Shows the final inputs tab for this module
Figure 12 - Shows the final Setup registers tab for this module
Figure 13 - Shows the final outputs tab for this module
Figure 14 - Shows the final outputs tab for this module, when the registers numbers are being shown
Step 3: Displaying the results in the Test Mode Screen
This step allows the user to see the time remaining in test mode from the test mode screen. This value will be listed in seconds and should be the same number of seconds as is displayed on the meter screen in the bottom right hand corner when the meter is put in test mode.
Firstly, find the ION Setup\Tables\PML8600 folder. From here, select the folder that represents the meter you are working with, whether it is the A,B, C or default. For this example the meter is in the form B default framework category. Inside this folder is the QuickIon file. It is initially read only, so one must select the properties and change this setting to allow you to write in this file. Then open the file in notepad. Scroll down the verification section. Continue scrolling and add the lines highlighted in Figure 17, 18 and 19. This first change is to add a section to the first test mode tab. The second change is to label the new group, called Test Mode Time Remaining in this example. The last change is to label the first field and link the CountDownValue created in step 2 to the new field created.
Figure 20 shows the new look Test Mode Display screen.
Figure 15 Folder containing the QuickIon File
Figure 16 The Quick Ion File, locate the [Verification] section
Figure 17 Create a 4 th group for the Energy Tab
Figure 18 Labels the new group created in Figure 17
Figure 19 Populate the new group with count down value created
Figure 20 Shows the new look Test Mode window
This appendix shows how to find the register that the Test Mode Timeout Value is stored in.
Find the Display Options 1 file in the Display Options Modules in the:
The TestMode Timeout Value can be found under the Setup register Tab. It can be edited here as well.
By holding the CTRL button down and selecting the Setup Registers Tab you can find the register number that the Test Mode Timeout value is stored to.
Legacy KB System (APS) Data: RESL192488 V2.0, Originally authored by TyOw on 08/08/2008, Last Edited by LaAd on 04/02/2011
Related ranges: ION8600