DigitDisplay
Component similar to DataDisplay for viewing numerical data (only) displayed on a screen, seemingly divided into seven segments.The component has the following properties:
- label: label that identifies the data on the PLC (allowed formats: label, label[constant], label[label2])
- comma: comma: number of decimals to be displayed. Can be a numerical constant or a variable on the PLC.
- digits: number of digits displayable
- ratio: lets you choose how to design the segments. By selecting HORIZONTAL or VERTICAL the thickness of the segments becomes proportional to the width or height of the component
- type: selects the way in which numerical data will be displayed (DECIMAL, HEX, BINARY)
- info: adds a visual image that informs the user which type has been selected. These images can be changed by modifying the following three properties.
- image0dec: user image that represents the decimal format
- image1hex: user image that represents the hexadecimal format
- image2bin: user image that represents the binary format
- imageStretched: property to be applied to the image represented in the info field
- background: background colour of the screen
- colorOff: colour of the segment off (At design time, all of the digits and decimal points, except for the least significant digits, are coloured with this colour)
- colorOn: : colour of the segment on (At design time, the least significant digits are coloured with this colour)
- colorPointOn: colour of the point on (At design time, the least significant points of the figure are coloured with this colour)
- For example, if the figure were ‘-11’
- For example, if the figure were 123 and the number of digits 5, it would not be possible to represent this figure in a binary format.
- Where data cannot be represented because the figure is not a number, or, in a hexadecimal and binary format, is numerical with a comma other than 0, all ‘-‘ segments light up
- For example, if the figure were 1.2