157
Standard Mode
Section 4-11
4.11.2 Function Keys of the Controller
In addition to being programmed as direct selector keys, function keys can also
trigger a function in the PLC. This requires that instead of a change of mask, the
symbolic name of a controller variable is assigned to the function key. This assign-
ment is performed in the user description. The function key can be defined to either
‘set’ or ‘reset’ a variable when pressed/released. If the key is assigned the function
‘set’ the specified value will be transmitted to the variable in the controller.
If the number 1 is entered as a value,
-
a flag bit will be set to logical ‘1’
-
a flag byte will be set to the value 01
H
-
a flag word will be set to the value 0001
H
-
a double word will be set to the value 00000001
H
For values greater than ‘1’, at least a byte address must be specified for the variable.
If the number 3 is entered as a value,
-
a flag byte will be set to the value 03
H
-
a flag word will be set to the value 0003
H
-
a double word will be set to the value 00000003
H
4.11.3 Soft Keys
In the TesiMod standard mode, soft keys are function keys that perform a mask-
related function (they perform different functions in different masks). A description
of the function that a soft key performs in a particular mask should be displayed in
that mask. Several means are available to design this description such as images,
background images, selection images, static texts and selection texts.
If a selection text is used for labeling a soft key, the function key can be used for
multiple functions in one and the same mask.
The action to be performed is determined in the controller by linking the
-
mask number
-
number of the selection text
-
variable value that is transferred with the soft key.
The number of keys that can be used as soft keys depends on the type of operating
terminal used.
Example:
A soft key (F1) is to be capable to switch a pump off and on in mask 10
1. Create a text list (pump) with two entries
Value
Text
0
Switch Pump OFF
1
Switch Pump ON
2. Define the variables
-
Soft key labeling
M 100.0
-
Soft key status
M 100.1
-
Image of the mask
MW 110
3. Create the mask (number 10)
-
set up a controller variable (M 100.0) next to or above a function key:
link a selection text variable for cyclic output with the text list (pump)
-
link the function key F1 of the mask with the variable Soft Key Status (M 100.1),
(set/reset)
Summary of Contents for NT15S
Page 1: ...Cat No V056 E1 1 Programmable Terminal NT4S NT15S NT18S OPERATION MANUAL ...
Page 2: ...ii ...
Page 3: ...iii NT4S NT15S NT18S Programmable Terminal Operation Manual Produced March 1999 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 14: ...xiv ...
Page 26: ...12 The Terminals of the NT Series Section 1 2 1 2 4 1 2 NT4S SF122B E 1 2 4 1 3 NT4S SF123B E ...
Page 37: ...23 The Terminals of the NT Series Section 1 4 1 4 1 3 NT4S SF123B E 1 4 1 4 NT15S SF121B E ...
Page 54: ...40 The Terminals of the NT Series Section 1 7 1 7 6 3 ASCII Character Set Table ...
Page 58: ......
Page 60: ...46 ...
Page 70: ...56 ...
Page 200: ...186 ...
Page 212: ...198 ...
Page 214: ...200 ...