Printf

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Used to display string in debug mode.

Printf Function

Figure 4-55: Printf

This is a good way to trace your SFCClosed "Sequential Function Chart" It can be used to program processes that can be split into steps. The main components of SFC are: - Steps with associated actions - Transitions with associated logic conditions - Directed links between steps and transitions programs or use the PrintMessage.

Customize Output in the Log Window

Raise warnings or errors icons

First column in the log window has an information icon.

This can be replaced with a warning or error icon:

@W
@E

Customizing Output for Printf Function

Figure 4-56: Customizing Output for Printf

See printf for more information.