Select the Tools Simulation Parameters command to configure the response of an input. The dialog shows only the inputs actually used in your circuit diagram.
You have four options:
Switch
Momentary pushbutton
Frequency (not for analog inputs)
Analog (analog inputs only)
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 (not for analog inputs)
The frequency of the frequency input can be preset or changed while simulation is running. The device frequency is expressed in Hz. A frequency input is a special case in this context, because it is only useful in conjunction with the threshold trigger SFB.
Analog (analog inputs only)
You can preset the value for the analog input or modify it while running in simulation mode. The unit of the analog value to be set corresponds with the default process variable. The range corresponds with the specified measurement range, provided the option "Auto range" is selected. 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, because it should only be used for analog SFBs.
Refer to the information in the "Analog value processing" section for help on analog block parameters.
Name column
Digital inputs are designated I.
Analog inputs are designated AI.
Settings
When you save your circuit program, the settings for circuit simulation are included. 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 on 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 on 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. Use the OK or Apply button to enter your settings.