EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK 840DE SL

Siemens SINUMERIK 840DE SL Commissioning Manual

Siemens SINUMERIK 840DE SL
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1196 background imageLoading...
Page #1196 background image
{
Q_OBJECT
Q_PROPERTY(double CUSVAR1 READ cusVar1 WRITE setCusVar1);
....
....
}
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:
ReadCWProperty
("Variablename", "Propertyname")
Description: Reading a property of a custom widget
Parameters:
Variablename Name of a dialog box variable to which a custom widget
is assigned
Propertyname Name of the custom widget property to be read
Return value: Current value of the custom widget property
Syntax:
WriteCWProperty
("Variablename", "Propertyname", "Value")
Description: Writing the property of a custom widget
Graphic and logic elements
7.4 Custom widgets
SINUMERIK Integrate Run MyScreens (BE2)
210 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Questions and Answers:

Siemens SINUMERIK 840DE SL Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 840DE SL
CategoryControl Systems
LanguageEnglish

Related product manuals