The text of a manual · part 13 of 41
E-terminals Programming manual: 6 Graphic presentation and maneuvering, pages 98 to 107
Pages 98 to 107 of 335, from E-terminals Programming manual
The original document is the PDF (4.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Beijer Electronics AB E200
Page 98
Graphic presentation and maneuvering
6
Graphic presentation and maneuvering
This chapter is not valid for E50, E100 and E200. In this section the graphic objects are first presented in tabular form and each object is then described.
6.1 General parameters Colors In terminals supporting colors there are 16 colors available for objects, black, red, prussian blue, magenta, yellow, gray, light gray, light green, light red, light prussian blue, light magenta, light yellow and white. Bitmaps can be shown in 256 colors The colors allow the creation of more realistic objects with 3-D effects and shadowing. Apart from background and foreground colors for the blocks, the colors can also be selected for the graphic objects. The colors for the background, text and windows are determined when the terminal is configured. Colors can be chosen for example for the scales and curves for graphic objects.
Scaling The Offset and Gain parameters are used to change the scale of the register value to a shown value according to the following equation: DisplayValue=Offset+Gain*RegisterValue When the object is altered from the terminal in the run-time mode, the scale is changed for the shown value according to the following equation: RegisterValue=(DisplayValue-Offset)/Gain Scaling does not affect the defined max and min values nor the number of decimal places. Note! The functions Increment and Decrement affect the RegisterValue of the maneuverable object, and not the DisplayValue.
87
Page 99
Graphic presentation and maneuvering
Offset and Gain calculation The function OGC in MAC Programmer+ is an aid for calculating the Offset and Gain parameters. Enter the max and min values for the PLC register and the max and min values for the presented value. The function will then calculate the correct value of the parameters Offset and Gain.
6.2 Graphic objects Static graphic objects Static graphic objects are used to draw graphics which are not affected by the process. Note! Static object will always be drawn behind dynamic objects in run-time mode.
Symbol
Object
Arc Ellipse, filled Line Polygon line Rectangle, filled, 3-D Key field object Symbol Text
88
Page 100
Graphic presentation and maneuvering
Dynamic digital graphic objects Dynamic digital graphic objects are linked to digital signals in the PLC system. Note! It is not allowed to place dynamic objects on top of each other.
Symbol
Object
Description
Digital symbol
Switch between two symbols depending on the state of a digital signal.
Digital text
Switch between two texts depending on the state of a digital signal.
Filled object
Used to fill in a framed area in one of two colors depending on the state of a digital signal.
Dynamic analog graphic objects Dynamic analog graphic objects are linked to the registers in the PLC system. Note! It is not allowed to place dynamic objects on top of each other.
Symbol
Object
Description
ASCII
Handle ASCII strings in Graphic blocks.
Analog fill
Used to fill in a framed area in one of sixteen colors depending on the value of a register.
Diagram
Used to draw X/Y diagrams based on the content of the PLC registers.
Multichoice
Linked to a PLC register which can assume up to eight different states. Text of up to 30 characters can be linked to each state.
Multisymbol
Shows one of up to eight symbols depending on the value in the PLC register. Also allows moving of a symbol across the screen.
89
Page 101
Graphic presentation and maneuvering Symbol
Object
Description
Numeric
Entering and presentation of values as numbers
Slide
Makes possible the increasing and decreasing the value of an analog signal.
S meter
Creates a graphic speedometer on the display.
Bar
Presents values in as a bar chart.
Trend
Presents values collected from the registers as a curve.
VU meter
Creates a graphic VU meter on the display.
Message
Used to display texts from a Message library.
Analog numeric Creates a table with numeric objects. table Touch key
Only E710. Used to create a pressure-sensitive surface on the screen.
Other objects Symbol
90
Object
Description
Jump
Jump to another block.
Alarm banner
Used to show a line in the alarm list.
Digital clock
Object to show a digital clock.
Analog clock
Object to show an analog clock.
TCP/IP Command promt
Object to send TCP/IP commands to other units. Only valid if the terminal is used in a TCP/IP network.
Page 102
Graphic presentation and maneuvering
Alarm banner Object used to show a line in the alarm list.
Parameter
Description
List line number
States the number of the line in the alarm list from which information is to be collected (1=first line, 2=second line etc.) if the stated alarm group is shown in the alarm list.
Positions
The number of positions to be displayed.
Font size
Select font size for the text in the object.
Alarm group
States which alarm group will be shown on the alarm line. The object will be shown in the color specified for the alarm group.
Security level
Select security level for the object.
Show day of the week
Select whether the day of the week will be shown in the alarm line.
Show date
Select whether the date will be shown in the alarm line.
Show time
Select whether the time will be shown in the alarm line.
Show symbol
Select whether the alarm status symbols will be shown in the alarm line. See the chapter Alarm handling.
Ack possible
Select whether it will be possible to acknowledge the alarm with the ACK key on the terminal.
Frame
Select if a frame shall be drawn around the object.
BG
Select background color for the object.
Note! The foreground color of the alarm text is defined in the alarm group definition.
91
Page 103
Graphic presentation and maneuvering
Analog clock Time object for presenting an analog clock.
Parameter
Description
Seconds
Select whether the clock will be shown with a second hand.
Frame
Select whether the clock shall be shown with a frame.
BG
Select background color for the object.
Scale
Select the color of the scale in the object.
Hand
Select the color of the second hand in the object.
Note! A maneuverable Date/Time object must be defined to set the clock in the terminal during run-time.
92
Page 104
Graphic presentation and maneuvering
Analog fill Objects used for filling framed areas with one of sixteen colors depending on the value in a register. The colors are used according to the following table.
Parameter Analog signal
Description State the register whose value decides the color of the object. See the following table.
Register value
Color
Register value
Color
0
Black
8
Grey
1
Blue
9
Light blue
2
Green
10
Light green
3
Cyan
11
Light cyan
4
Red
12
Light red
5
Magenta
13
Light magenta
6
Yellow
14
Light yellow
7
Light grey
15
White
For limitations and how to place an object see Digital fill.
93
Page 105
Graphic presentation and maneuvering
ASCII Object for handling ASCII strings in Graphic blocks. ASCII objects provide the opportunity to present texts stored in the CPU’s data registers. The texts should be in IBM extended ASCII format. The text is converted from 8-bit IBM extended ASCII to Swedish 7-bits ASCII if SW is stated on the command line in System Signals.
Parameter
94
Description
Analog signal
State the register where the text for the first position is to be stored.
Positions
State the number of positions the text will occupy on the display. Each register contains two characters (occupying two positions).
Font size
Select font size.
Security Level
Select security level for the object.
Maneuverable
When selected the object can be forced from the terminal in runtime mode.
Adjustment
Select whether the object is to be left aligned or centred.
Frame
Select if a frame shall be drawn around the object.
BG
Select background color of the object.
Text
Select the color of the text in the object.
Page 106
Graphic presentation and maneuvering
Bar Objects which present whole or decimal numbers in the form of a bar graph.
Parameter
Description
Analog signal
The address of the signal.
Minimum value
The minimum value the signal can have.
Maximum value
The maximum value the signal can have.
Direction
Select whether the bar is to be shown to the right, left, up or down.
Scale
Select whether the scale is to be shown.
Box
Select whether a box is to be drawn around the bar.
Indicators
Select whether the highest and/or the lowest value for the signal shall be shown on the axis. Indicators are set to zero when the terminal is switched on. Zeroing can also be carried out in the runtime mode, see the Maneuvering Graphic blocks section. The indicators only function for 16-bit numbers.
Scale division
State the interval between the scale numbers to be drawn.
Scale ticks
State the interval between the scale ticks displayed.
Fill
Select fill color.
Offset and Gain
Used to scale register value. See the section General parameters.
Frame
Select if a frame shall be drawn around the object.
BG
Select background color for the object.
Scale
Select the color of the scale in the object.
95
Page 107
Graphic presentation and maneuvering
Diagram Objects used to draw X/Y diagrams or bar graphs based on the content of the PLC register. This is a real-time function. The object is normally used for non-time-based presentations. Time-based display with a sample time of <1 second can be shown if the PLC creates data collection. As an example we shall say the value in data register 100 is the first X-coordinate and the value in data register 200 the first Y-coordinate. The number of register pairs will be 4. The table and the figure below illustrate our example. X-coordinate
Register
Value
Y-coordinate
Register
Value
X0
100
0
Y0
200
11
X1
101
41
Y1
201
40
X2
102
51
Y2
202
85
X3
103
92
Y3
203
62
X2,Y2 X3,Y3 X0,Y0
96
X1,Y1