Hi guys!
Is it possible to simulate a machine or process in the built-in simulator in TIA portal or is it just a simulator of the PLC where you manually have to toggle bits, set values etc?
What I want is to simulate all real input and outputs of a machine. Not just the PLC hardware but the actual process that's connected to the hardware.
Real PLC program
Simulator PLC program
motor_start would be an output on the PLC that turns the motor on.
motor_running would be an input on the PLC showing that the motor is running.
Is it possible to simulate a machine or process in the built-in simulator in TIA portal or is it just a simulator of the PLC where you manually have to toggle bits, set values etc?
What I want is to simulate all real input and outputs of a machine. Not just the PLC hardware but the actual process that's connected to the hardware.
Real PLC program
Code:
if pushbutton=on then set motor_start=on
if motor=running then set motor_start=off (after 60 seconds)
if motor_start<>motor_running then set motor_alarm=on (after 5 seconds)
Code:
if motor_start=on then set motor_running=on (after 3 second delay)
if motor_start=off then set motor_running=off (after 1 second delay)
motor_running would be an input on the PLC showing that the motor is running.
Last edited: