Siemens SINUMERIK 840DE sl Commissioning Manual page 1224

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

Advertisement

Graphic and logic elements
7.5 SIEsGraphCustomWidget
Parameter:
● update()
The function refreshes the view, assuming that the Widget refresh is not deactivated, and
the Widget is not hidden. The function is optimized so that the application performance is
maintained, and the view does not flicker as a result of excessively high refresh rates.
● repaint()
The function refreshes the view directly after the function call. Therefore, you should only
use the repaint function if an immediate refresh is absolutely necessary, e.g. for animation
purposes
It is recommended that you always work with the update() function. Internally, the
SlEsGraphCustomWidget always works with the function update() e.g. for setView().
addPoint – add point to a contour
Syntax:
Description:
Parameter:
addLine – add line to a contour
Syntax:
Description:
Parameter:
addRect – add rectangle to a contour
Syntax:
Description:
238
GraphVarName
Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value
Error code (bool): TRUE = successful
ReturnValue = CallCWMethod
ReturnValue = CallCWMethod
Adds a point to the currently selected contour Further, you can set a dummy
point; although it does not show up in the drawing, it can be positioned with the
cursor.
GraphVarName
Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value
Error code (bool): TRUE = successful
x
x coordinate (double)
y
y coordinate (double)
DummyPoint
Point is treated as invisible (bool): TRUE = yes
ReturnValue = CallCWMethod
Adds a line to the currently selected contour
GraphVarName
Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value
Error code (bool): TRUE = successful
x1
x coordinate of the starting point (double)
y1
y coordinate of the starting point (double)
x2
x coordinate of the end point (double)
y2
y coordinate of the end point (double)
ReturnValue = CallCWMethod
Adds a rectangle to the currently selected contour.
(GraphVarName, " addPoint ", x, y)
(GraphVarName, " addPoint ", x, y, DummyPoint)
(GraphVarName, " addLine ", x1, y1, x2, y2)
(GraphVarName, " addRect ", x1, y1, x2, y2)
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