EasyManuals Logo

Siemens SINUMERIK 828D Commissioning Manual

Siemens SINUMERIK 828D
1167 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 #1113 background imageLoading...
Page #1113 background image
Subroutine to be called:
Syntax: SUB(on_<Variablename>_<Signalname>)
END_SUB
Description: Response to a custom widget signal
Parameters:
Variable name Name of a dialog box variable to which a custom widget
is assigned.
Signal name Name of the custom widget signal
SIGARG 0 - 9 Transfer parameters for the custom widget method.
Supported data formats: See above
Notice:
The transfer parameters are always passed "By‐
Val," i.e. only the value and not, for example, the refer‐
ence to a variable is passed.
Example
Customer widget class declaration:
class SLESTESTCUSTOMWIDGET_EXPORT SlEsTestCustomWidget : public QWidget
{
Q_OBJECT signals: void invokeSub(const QString& szSubName, const QVariantList&
vntList);
}
Custom widget class:
QVariantList vntList;
vntList << 123.456;
emit invokeSub("MySub", vntList);
Dialog box configuration:
DEF MyCWVar1 = (W///,"slestestcustomwidget.SlEsTestCustomWidget")
SUB(on_MyCWVar1_MySub)
DEBUG("SUB(on_MyCWVar1_MySub) was called with parameter: """ << SIGARG[0] <<
"""")
END_SUB
Result easyscreen_log.txt:
[10:22:40.445] DEBUG: SUB(on_MyCWVar1_MySub) was called with parameter: "123.456"
Graphic and logic elements
7.4 Custom widgets
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 183

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 828D and is the answer not in the manual?

Siemens SINUMERIK 828D Specifications

General IconGeneral
Control TypeCNC
Operating SystemWindows Embedded
ProcessorIntel Atom
Display10.4" color TFT display
InterfacesEthernet, USB
ProgrammingShopMill, ShopTurn
Operation Panel Size10.4"
Protection ClassIP65
PLC Memory2 MB
Spindle Capacity4 spindles
Hard DriveCompactFlash

Related product manuals