Siemens SINUMERIK 840DE sl Commissioning Manual page 1196

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Graphic and logic elements
7.4 Custom widgets
{
Q_OBJECT
Q_PROPERTY(double CUSVAR1
....
....
}
7.4.5
Interaction between custom widget and dialog box - Manual data exchange
Besides automatic data exchange, manual data exchange is also possible. Data exchange is
dynamic, i.e. takes place while the dialog box is running. The following actions are possible:
● Properties of the custom widget can be read and written.
● Methods of the custom widget can be called from the Run MyScreens configuration.
● A response to a particular signal of the custom widget can be implemented in order to call
subprograms (SUB) in the Run MyScreens configuration.
7.4.5.1
Reading and writing properties
Description
The functions ReadCWProperties and WriteCWProperties are provided in the Run MyScreens
configuration for reading and writing properties of the custom widgets.
Programming
Syntax:
Description:
Parameters:
Return value:
Syntax:
Description:
210
READ cusVar1
("Variablename", "Propertyname")
ReadCWProperty
Reading a property of a custom widget
Variablename
Name of a dialog box variable to which a custom widget
is assigned
Propertyname
Name of the custom widget property to be read
Current value of the custom widget property
("Variablename", "Propertyname", "Value")
WriteCWProperty
Writing the property of a custom widget
WRITE setCusVar1);
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents