EasyManuals Logo

Siemens MCP 398C Commissioning Manual

Siemens MCP 398C
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 #1224 background imageLoading...
Page #1224 background image
Parameter: GraphVarName Name of the display variable which contains a SlEs‐
GraphCustomWidget
Return Value Error code (bool): TRUE = successful
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: ReturnValue = CallCWMethod
(GraphVarName, "
addPoint
", x, y)
ReturnValue = CallCWMethod
(GraphVarName, "
addPoint
", x, y, DummyPoint)
Description: 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.
Parameter: 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
addLine – add line to a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addLine
", x1, y1, x2, y2)
Description: Adds a line to the currently selected contour
Parameter: 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)
addRect – add rectangle to a contour
Syntax: ReturnValue = CallCWMethod
(GraphVarName, "
addRect
", x1, y1, x2, y2)
Description: Adds a rectangle to the currently selected contour.
Graphic and logic elements
7.5 SIEsGraphCustomWidget
SINUMERIK Integrate Run MyScreens (BE2)
238 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals