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 #1234 background imageLoading...
Page #1234 background image
//M(MyTBMask/"My CustomWidget TouchButton ...")
WRITECWPROPERTY("MyTB1", "textPressed", "This is my first TouchButton (pressed)!!!")
WRITECWPROPERTY("MyTB1", "picture", "dsm_remove_trashcan_red.png") WRITECWPROPERTY("MyTB1", "pic-
tureAlignment", "left")
WRITECWPROPERTY("MyTB1", "scalePicture", FALSE)
WRITECWPROPERTY("MyTB1", "picturePressed", "slsu_topology_empty_round_slot.png") WRITECWPROPER-
TY("MyTB1", "picture", "slsu_topology_empty_slot_left_error.png")
END_LOAD
Figure 7-18 Example, "This is my first TouchButton !!!"
7.6.2 Reading and writing properties
Description
The properties listed in the following section are read with ReadCWProperty() and written with
WriteCWProperty().
Examples
Reading the "Text" property of the SlEsTouchButton linked using display variable
"MyTouchButton". The result is written to register 0.
REG[0] = ReadCWProperty("MyTouchButton", "Text")
Writing value "sk_ok.png" in the "Picture" property of the SlEsTouchButton, linked using display
variable "MyTouchButton".
WriteCWProperty("MyTouchButton", "Picture", "sk_ok.png")
Graphic and logic elements
7.6 SlEsTouchButton
SINUMERIK Integrate Run MyScreens (BE2)
248 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