Home

mlamp

Download project

Seven Segment Display

The example project contains an implementation of a seven segment display within
CODESYS Visualization and the corresponding function blocks.

Product description

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.

More information

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:

  • Values from 0 to 9
  • Values from a to f
  • Decimal point

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

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 -

Screenshot thumbnail
Visualization 'SevenSegmentDisplay'
Screenshot thumbnail
Visualization 'Display'