ASK_MSG function. Schneider Electric Software PLC Application-Specific Functions, Micro/Junior/Pro, 4.5
Anúncio
Anúncio
Built-in DOP functions
ASK_MSG function
Role
Implementation
This function is used to display, on the screen of a CCX 17 console, a message with a variable which can be modified by the operator.
The entry is made in synchronized mode. Therefore, it is possible to make one single operator entry at each message display.
Implementation of the ASK_MSG function is developed in the Description of parameters (See Description of the parameters common to the different DOP
Note: It is strongly advisable to assign parameters for the timeout for an infinite period (see
Parameters field: Report, p. 283 so as not to invalidate the ASK_MSG
function before the operator entry is made.
Specific parameter: Value
The Value parameter specifies the characteristics of the value which is associated to the variable.
If the choice is… The value…
Not checked entry on the CCX 17 console keyboard is free (1).
Limited
Increment entry on the CCX 17 console keyboard must be within the limits defined by the Min and Max values in the Entry field in order to be taken into account by the application (1).
display on the CCX 17 console screen is incremented or decremented from the value of the increment (1).
Key
(1) The value or the increment entered on the CCX 17 console keyboard follows the display format (e.g.: 9999.99), this determines the whole parts and decimal parts authorized by the user entry.
298
TLX DS 37 PL7 xxE
Example
Built-in DOP functions
The illustration below shows an example of ASK_MSG function entry.
ASK_MSG
Parameters
Console address:
Data to Send:
ADR#,LL0.1.7,SYS
%KW20 34
Message
Text: ASK MSG:_
Position
Mode
Manual
Line 5 Column
Column alignment
Auto Left
5
Centered Right
Data to receive:
Report:
Attributes
Flashing
%KW200
%KW10
Reverse video
Size
2
4
Standard
Double
Field
Symbol:
Comment:
Display format
Entry
Value
Not Checked
Address:
Limited
%MV100
99
Modify
Increment
Ok Cancel
TLX DS 37 PL7 xxE
299
Download
Anúncio