EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Commissioning Manual

Siemens SINUMERIK ONE MCP 2400.4c
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 SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals