There are two views in Control Studio that enable you to debug a module's algorithm. They are On-line view and Debug view. The On-line view allows you to perform testing of SFCs, function blocks, and modules. The Debug view is used to solve problems, identify areas to increase performance, or gain an understanding of a module.
Each view lets you look at the block's input and output value and lets you step through the algorithm one block at a time. In Debug view, you can set breakpoints to stop execution at a particular block.
You can only debug downloaded modules, and you can affect your process if you change values or stop execution.
If you receive the following message:
Failure to establish session
verify that the module you are debugging or viewing online is downloaded in the controller. This message also appears if the controller is reset while an online (or debug) session is in progress.