CODESYS POU Visu Generator
CODESYS POU Visu Generator is an add-on for the CODESYS Development System.
With this add-on, you can generate visualizations based on POUs programmed in SFC or LD2.
You can use the CODESYS Installer to install and update the CODESYS POU Visu Generator add-on.
Creating a visualization for a POU in SFC or LD2
For POUs (PROGRAM or FUNCTION_BLOCK) programmed in the Sequential Function Chart (SFC) or Ladder Diagram (LD2) implementation language, you can create a visualization object which displays a suitable block diagram.
If you want to have this kind of visualization, then the Generate SFC/LD Visualizations command can help you with this.
Generating a visualization from an SFC POU
Only possible with LD2 objects
You can create only visualizations for POUs in the Ladder (LD2) implementation language. In order to visualize a POU in LD, first convert it to LD2 using the Convert to New Ladder command. After that, you can generate a LD2 visualization from this.
For more information, see the following:
Generating a visualization from an SFC POU
Important
Set the SFCCurrentStep flag for each SFC object in its properties dialog on the SFC Settings tab. Otherwise compilation errors will occur.
If the SFC code contains macros, then a separate visualization is generated for each macro. This visualization can be selected by clicking it.
Generated SFC visualization

For more information, see the following: