Icon

USC Config - s. Create a Divider with Trim

The first step is to create the USC program.
  1. Follow previous example "Create a Simple Divider using the New Module Wizard"
  2. When the error message occurs due to the divide by zero follow option "b. Enter Expected Equation Output Range" to overcome this problem.
  3. After the module definition has been created select the equation button on the bottom of the properties screen then select configure.
  4. Now in the equation editor click on the divide command in the program list as shown.
  5. Click the 'Constant' button on the keypad and insert 'Constant d'. When prompted enter the value as 0.1 and the name as "CH2 Min" and press ok.
  6. With the divide command in the program list still selected click the 'MAX' button on the keypad. The resulting program is shown.
  7. In the simulation options enable 'Auto Evaluate'.
  8. Click on "Show/Edit user description" and replace the description in the helper window with "Enter the minimum value for CH2, it must be greater than zero."
  9. Press ok to close the equation editor.
  10. The modify wizard may stop on the output components due to out of range errors, correct these and continue the USC properties screen.
    The second step is to enable and disable parameters to be trimmed.
  11. Select the AM702 button and press configure, the Configure AM702 Trim Mode Screen will appear.
  12. Un-tick all main options except "Enable Trim Menu", "Constants" and 'Con_d'. The resulting screen should look the figure opposite.
  13. Press OK to close.
    The third step is to test the constant trim function using the "Evaluate Equation Outputs" screen.
  14. On the USC properties screen select the output button and press configure.
    When the USC wizard moved from the input components to the output components the AM702 trim constants option is checked causing the "Evaluate Equation Outputs" screen to open.
  15. Constant d and its name "CH2 Min" appears and is enables for edit. As the value is changed the auto evaluate option determines the output range based on the engineering range of CH1 and CH2. Also the helper text "Enter the minimum value for CH2, it must be greater than zero." Appears in the section of the helper window 'user Description'.
    The fourth step is to program the USC701 with the appropriate inputs connected.
  16. After programming the USC701 remove the COA703 from the top of the USC701 and fit a AM702-02.
  17. The AM702-02 will continuously display the selected variable while in run mode.
  18. Press enter on the AM702, the trim menu will load and display 'Trim Constant'.
  19. Press enter the AM702 will display 'CH2 Min' and its value.
  20. Press enter again to edit the value of constant d then press enter twice to return to run mode, the effect of the change you made can be seen when the input to CH2 is at zero volts.