Editpoint; Enablegroup - Omron CX-Supervisor Reference Manual

Script language reference
Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Point Commands
6-5-5

EditPoint

6-5-6

EnableGroup

Syntax
EditPoint(BoolPoint, Caption, OffText, OnText)
or
EditPoint(AnalogPoint,
Keyboard)
or
EditPoint(TextPoint, EchoOff, Keyboard)
Remarks
Argument
Type
BoolPoint
point
Caption
Text
OffText
Text
OnText
Text
AnalogPoint
point
MinValue
Int/Real Minimum value to be entered
MaxValue
Int/Real Maximum value to be entered
Keyboard
Bool
TextPoint
point
EchoOff
Bool
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,
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.
Syntax
returnstate = EnableGroup(groupname)
Remarks
Argument
Type
returnstate
bool
groupname
text
Typical Example
SECTION 6 Functions and Methods
Caption,
MinValue,
Description
Name of Boolean point to be edited
Text Caption for Edit dialog
Text description for Boolean state 0
Text description for Boolean state 1
Name of Integer or Real point to be edited
Flag set to TRUE to display the onscreen
keyboard
Name of Text point to be edited
Flag set to TRUE if input is not to be echoed for
security
"Enter
a
new
Description
Returnstate is '1' if the function is successful, or
'0' otherwise.
Name of the group containing the points to
enable.
MaxValue,
value",
0.000000,
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents