The text of a manual · part 17 of 41
E-terminals Programming manual: 7 Text-based presentation and maneuvering
Pages 138 to 149 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 138
Text-based presentation and maneuvering
7
Text-based presentation and maneuvering
Text-based presentation and maneuvering is used to create operator dialogs in textbased terminals or is suitable for generating report print-outs of various kinds. They can be daily reports, status reports etc. For an example of what a report looks like see the Print-outs section. Text objects in tabular form are shown in this section. Every object is then described separately.
7.1 General parameters Not valid for E50.
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 Dercrement affect the RegisterValue of the maneuverable object, and not the DisplayValue.
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.
127
Page 139
Text-based presentation and maneuvering
7.2 Text object Dynamic text object Symbol
128
Object
Description
Analog
Presents values in numerical form.
Date/time
Setting of date and time.
Digital
Switch between two texts depending on the state of a digital signal.
Multiple-choice
Links to a PLC register which can assume up to eight different states. A text of 30 characters can be linked to each state.
Jump
Jump to another block.
Bar graph
Presents values as a bar graph.
Text
Handles ASCII strings.
Message
Object showing texts in a message library .
Page 140
Text-based presentation and maneuvering
Analog object Object which presents values in numerical form as whole or decimal numbers.
Parameter
Description
Analog signal
The address for the signal.
Positions
The number of positions used by the object. Characters such as minus sign or decimal points must also be counted.
Decimals
The number of decimal places which represent the object.
Maneuverable
States if the object can be altered in run-time.
Minimum value
The minimum value you can enter for an object.
Maximum value
The maximum value you can enter for an object.
Offset and Gain
Used to change scale of the register value. See the section General parameters.
Note! Minimum value and maximum value is only valid when maneuvering the object.
129
Page 141
Text-based presentation and maneuvering
Bar graph object Not valid for E50. Presents values in the form of a bar graph. The bar will be horizontal so that the maximum number of positions are marked when the value has reached its maximum level.
Parameter
130
Description
Analog signal
The address for the signal.
Positions
The number of positions which the signal uses.
Direction
States whether the bar will be presented to the right or left.
Minimum value
The minimum value for the object.
Maximum value
The maximum value for the object.
Offset and Gain
Used to change scale of the register value. See the section General parameters.
Page 142
Text-based presentation and maneuvering
Date/time object Not valid for E50. Object for setting date and time. Date and time objects collect data from the real-time clocks in the terminal or the controller system.
Parameter
Description
Day of the week
States if the day of the week will be shown. Requires two positions.
Date
States if the date will be shown. Use the form given in Date/time format in configuration.
Time
States if the time will be shown. Use the form given in Date/time format in configuration.
Maneuvrable
Select if the object can be altered in run-time mode.
Note! A maneuverable Date/Time object must be defined to set the clock in the terminal during run-time.
131
Page 143
Text-based presentation and maneuvering
Digital text Object that can assume two states, zero or one.
Parameter
132
Description
Digital signal
The address for the signal.
Text 0
The text shown when the signal is zero.
Text 1
The text shown when the signal is one.
Maneuverable
Select if the object can be altered in run-time mode.
Page 144
Text-based presentation and maneuvering
Jump object Object for jumping to another block. Makes it possible to build up a hierarchy of menus in the application. Jumping back to the previous block is done by pressing the [PREV] key (up to nine levels back). See chapter Function Keys.
Parameter
Description
Current block
States the number of the block left.
Jump to block
States the number of the block to which the jump is to be made.
Note! If a jump is generated to a block that does not exist in run-time mode an error message is shown.
133
Page 145
Text-based presentation and maneuvering
Message object Not valid for E50. Message object presenting texts from message libraries.
Parameter
Description
Analog signal
Analog signal controlling which text from chosen message library to be shown. For valid devices see the driver manual.
Library
Select message library. Defined under Message Library in the Function menu.
Positions
Number of positions to be displayed. 0=automatic adjustment.
Security level
Select security level for the object. 0 means no security level. Not valid in E700 and E710.
Maneuverable range
A range of maximum 64 texts can be maneuverable in run-time mode. State the numbers of the first and the last texts of the range. Se the section Maneuvering Textblocks.
Note! When using indexed message libraries the number of positions should not be 0 since the automatic length adjustment doesn’t work.
For more detailed information, see the chapter Message library.
134
Page 146
Text-based presentation and maneuvering
Multiple choice object Not valid for E50. The object is linked to up to three digital signals which together can assume eight different states. A text of 30 characters can be linked to each state.
Parameter
Description
Analog signal
This register decides which text to be presented. For valid devices see the driver manual.
Text 0 - Text 7
The texts that will be shown for each state of the object.
Man 0 - Man 7
States whether it is possible to maneuver this status in run-time mode. See the section Maneuvering Textblocks.
135
Page 147
Text-based presentation and maneuvering
Text object Not valid for E50. Object for handling ASCII strings. It is possible to present the text stored in the registers of the controller system. Texts should be in ASCII format. The texts can be altered in run-time mode from the terminal by opening and closing the entry field with [ENTER] (not valid in E100). 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
136
Description
Analog signal
The register where text for the first position is stored.
Positions
Each register contains two characters (occupying two positions). The basic setting is 8 positions which is equivalent to four registers.
Maneuverable
Select if the object can be forcibly set in the run-time mode. Not valid in E100.
Page 148
Text-based presentation and maneuvering
7.3 Maneuvering Textblocks Text blocks consist of text lines with static and dynamic objects. The dynamic objects show the current status for those signals to which the object is linked. Certain dynamic objects are maneuverable which means that you can change their status and values in run-time mode. To alter a maneuverable object you use the arrow keys to move the cursor to the right position so that the object is marked. Textblocks can be scrolled vertically but not horizontally
Digital objects Digital objects are maneuvered by marking the required object. Then press [ENTER] to alter the status of the object.
Analog objects Analog and Date/Time The objects are maneuvered by placing the cursor on the right object. After this the new value is written in. Finish with [ENTER]. Before [ENTER] is pressed, new value entry can be aborted by leaving the field with [↑] or [↓]. The old value will then be retained.
Text objects Maneuver a text object by moving to the object and pressing [ENTER]. Then an entry field is shown. The entry field is either on the first or last line depending where the object is on the display. Scrolling of the entry field takes place if the text is longer than the width of the display. Press [ENTER] when writing is complete. See “Numerical and alphanumerical keys in E100” on page 17 for description on how to enter different characters in E100.
Message objects Maneuver a message object by moving to the object with the arrow keys and press [ENTER]. An option list is now shown with all maneuverable states on the display. Move to the required state, press [ENTER] and the analog signal linked to this state is forcibly set.
137
Page 149
Text-based presentation and maneuvering
Multichoice objects Maneuver a multichoice object by moving to the object with the arrow keys and press [ENTER]. An option list is now shown with all maneuverable states on the display. Move to the required state, press [ENTER] and the analog signal linked to this state is forcibly set.
Jump object Move to the object and press [ENTER].
Bargraph object The indicators for min and max value can be set to the actual value for the bargraph object by first select the object and then press [ENTER].
138