Select the Tools → Simulation Parameters command to configure the response of an input.
The dialog shows only the inputs actually used in your circuit program.
You have four options for the digital inputs:
Switch
Momentary pushbutton (make)
Momentary pushbutton (break)
Frequency
You have only one option for the analog inputs:
Analog
Name column
"I" designates Digital inputs.
"AI" designates Analog inputs.
Switch
A switch latches when actuated and is released by actuating it once again.
Momentary pushbutton
A momentary pushbutton is only active while it is held down. The contact opens as soon as you release the button.
You can determine a make or break action for the pushbuttons.
Frequency
You can preset or change the frequency of an input while a simulation is running. The device frequency is in Hz. A frequency input is a special case, which is only used in conjunction with the threshold trigger SFB.
Analog
You can preset the value for the analog input or modify it while running in simulation mode. The units for the analog value corresponds with the default process variable. The range corresponds with the specified measurement range, provided you have selected the option of "Auto range". The value range corresponds in this case with the measurement range of the function connected to the input. The analog input represents a special case for analog SFBs.
Refer to the information in the "Analog value processing" section for help on analog block parameters.
Settings
When you save your circuit program, you also save the simulation settings. Thus, you do not need to enter the simulation parameters once again when you exit and reopen your circuit program.
While simulation mode is active, you can click a digital input in the list of input switches to change its settings. From the drop-down list select Switch, Momentary pushbutton (make), Momentary pushbutton (break) or Frequency. Use the OK button to enter your settings.
While simulation mode is active, you can also right-click a digital input in the circuit program and edit its block properties. In the Simulation tab of the block properties dialog, you can select the type of the input as described above.
Click "OK" to confirm your settings.