Assign values to the HSC variables

After you add variables, use the following steps to add values to the variables using the
Initial Value
column in the variable grid. A standard program usually uses a routine to assign values to the variables.
To assign values to the HSC variables
  1. Open the local variable gird.
  2. Enter the initial values to the MyAppData variables according to the following table.
    Initial values
    Variable Name
    Data Type
    Initial Value
    MyAppData.PlsEnable
    BOOL
    False
    MyAppData.HscID
    UINT
    0
    MyAppData.HscMode
    UINT
    6
    MyAppData.Accumulator
    DINT
    Leave blank
    MyAppData.HPSetting
    DINT
    40
    MyAppData.LPSetting
    DINT
    -40
    MyAppData.OFSetting
    DINT
    50
    MyAppData.UFSetting
    DINT
    -50
    MyAppData.OutputMask
    UDINT
    3
    MyAppData.HPOutput
    UDINT
    1
    MyAppData.LPOutput
    UDINT
    2
    HSC initial values
    For information on values, see HSCAPP data type and HSCCmd values.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal