Testing and troubleshooting

TwinCAT 3 PLC offers you various options for testing your application and finding errors. You can start your application in simulation mode even without hardware being connected. With breakpoints and commands for executing the program step by step, you can examine specific parts of the program. You can influence the running program by writing variable values.

Commands are available to you that reset your application to varying degrees. These extend from the resetting of non-persistent variables to the complete resetting of the controller to the delivery state.

Additional information
Use of breakpoints
Forcing and Writing Variables Values
Resetting the PLC project
Flow Control
Determining the Current Processing Position with the Call Stack