Icon

USC Config - n. Create Simple Adder Using Wizard

  1. Run the 'New Module Wizard' and select 'dc Signal', 'Adder' then 'Next'.
  2. Select channel 1 as 10Vdc then 'Next'.
  3. Select channel 2 as 10Vdc then 'Next'.
  4. Select the '0..22mA' output on the range list.
  5. Select 'm4 0..20 Adder' ([m4] [Min]..[Max] [Engineering Unit]) on the source list then click 'Next'.
  6. Select 'Next' until the wizard closes.
    • The new module wizard added a simple equation (read CH1, read CH2, add, save Mem4) to the settings of the module definition that you are creating.
    • When the USC wizard moved from the input components to the output components the "Auto Evaluator" option calculated the expected output range of the equation based on the minimum and maximum engineering range of the inputs used.
      In this case
      0+0=0, 0+10=10, 10+0=10, 10+10=20
      Therefore the maximum expected output range in memory 4 is 0 to 20.
    • This calculated range is used by the wizard to check limits and set the sensitivity of the 'ADJ.' encoder on the top of the USC with this range.
    • When the new module ran it also added the engineering unit for Mem4, "Adder". To change the engineering unit of the adder to a different value you will need to use the equation editor.
  7. Select the 'Equation' command button in the 'USC Properties' screen. The M4 engineering units will be displayed at the top of the properties list.
  8. Click the 'Configure' button; the 'Special Function Equation Editor' will open.
  9. Click in the program list on "Save Mem4" and type in the engineering unit in the box provided.

  10. In the 'Simulation Options' check 'Auto Evaluate', the memory results window will now display
    M(4)=(Ch1 + Ch2)
    !!Auto Evaluate!! M(4)=0 to 20.

    With this option enabled if you change the inputs the expected range from memory 4 will also automatically update.
  11. Press Ok to close the equation editor.
For a full explanation of the simple adder please refer to Review the Simple Adder Wizard Equation