Download project
The example project contains an implementation of a seven segment display within
CODESYS Visualization and the corresponding function blocks.
The example project SevenSegmentDisplay.project
including a visualization of four seven segment displays shows the value of an integer.
The values of the digits can be incremented and decremented via buttons. The seven segment display is implemented modularly and can be easily adapted for individual requirements.
A single digit of the seven segment display is represented by the visualization component
SevenSegmentDisplay
and the driver function block SevenSegmentDriver
.
Following values can be displayed:
The function block Display
and the visualization Display
contain four seven segment
displays to show the value of an integer. The values of the digits can be incremented and
decremented via the buttons +/-. The function block Display is instanced in the program
PLC_PRG
and is referenced by the visualization MainVisu
.
System requirements and restrictions | Info |
---|---|
Programming System | CODESYS Development System Version 3.5.14.0 or higher |
Runtime System | CODESYS Control Version 3.5.14.0 |
Required Accessories | - |