CHAPTER 6 – Functions and Methods
OMRON
Page 60
Revision 2.0
Remarks
Argument Type
Description
BoolPoint
point
Name of Boolean point to be edited
Caption
Text
Text Caption for Edit dialog
OffText
Text
Text description for Boolean state 0
OnText
Text
Text description for Boolean state 1
AnalogPoint
point
Name of Integer or Real point to be edited
MinValue
Int/Real
Minimum value to be entered
MaxValue
Int/Real
Maximum value to be entered
Keyboard
Bool
Flag set to TRUE to display the onscreen keyboard
TextPoint
point
Name of Text point to be edited
EchoOff
Bool
Flag set to TRUE if input is not to be echoed for security
Typical Example
EditPoint(bFlag, "Select ON or OFF", "ON", "OFF")
A dialog is displayed to edit the Boolean point ‘bFlag’, to “ON” or “OFF” with a caption “Select ON
or OFF”.
EditPoint(nValue, "Enter a new value", 0.000000, 9999.000000, FALSE )
A dialog is displayed to edit the analogue point ‘nValue’, between 0 and 9999 with a caption “Enter a
new value” without using the onscreen keyboard.
EditPoint(txtMessage, "Set Text to", FALSE ,FALSE )
A dialog is displayed to edit the Text point ‘txtMessage’, with a caption “Set Text to”, echoing the
input and not displaying the onscreen keyboard.
EnableGroup
Syntax
returnstate = EnableGroup(groupname)
Remarks
Argument Type
Description
returnstate
bool
Returnstate
is ‘1’ if the function is successful, or ‘0’ otherwise.
groupname
text
Name of the group containing the points to enable.
Typical Example
EnableGroup(“<Default>“)
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...