SINUMERIK 840D sl/828D SINUMERIK Integrate Run MyScreens
Programmierbeispiel für den Bereich "Custom"
Programmierbeispiel für den Bereich "Custom"
Beispiel
Bild 1
Beispiel mit Softkey "Start example"
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=54974628747&Language=de-DE&TopicId=53033882251
18.06.2017
SINUMERIK 840D sl/828D SINUMERIK Integrate Run MyScreens
Programmierbeispiel für den Bereich "Custom"
Bild 2
Beispiel mit Bitmap und Text-Feldern
Dateiübersicht
Folgende Dateien werden benötigt:
•
•
custom.com
easyscreen.ini
Programmierung
Inhalt der Datei custom.com:
Hinweis
Die im Beispiel eingebundene Grafikdatei mcp.png ist exemplarisch. Falls Sie dieses Beispiel
nachprogrammieren möchten, müssen Sie die Grafik durch eine Ihnen verfügbare Grafik
ersetzen.
//S(Start)
HS7=("Start example", se1, ac7)
PRESS(HS7)
LM("Maske4")
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=54974628747&Language=de-DE&TopicId=53033882251
18.06.2017
SINUMERIK 840D sl/828D SINUMERIK Integrate Run MyScreens
Programmierbeispiel für den Bereich "Custom"
END_PRESS
//END
//M(Maske4/"Example: MCP"/"mcp.png")
DEF byte=(I/0/0/"Input byte=0 (default)","Byte number:",""/wr1,li1///380,40,100/480,40,50)
DEF Feed=(IBB//0/"","Feed override",""/wr1//"EB3"/20,180,100/130,180,100), Axistop=(B//0/"","Feed stop",""/wr1//"E2.2"/
280,180,100/380,180,50/100)
DEF Spin=(IBB//0/"","Spindle override",""/wr1//"EB0"/20,210,100/130,210,100), spinstop=(B//0/"","Spindle stop",""/
wr1//"E2.4"/280,210,100/380,210,50/100)
DEF custom1=(IBB//0/""," User keys 1",""/wr1//"EB7.7"/20,240,100/130,240,100)
DEF custom2=(IBB//0/"","User keys 2",""/wr1//"EB7.5"/20,270,100/130,270,100)
DEF By1
DEF By2
DEF By3
DEF By6
DEF By7
HS1=("Input byte", SE1, AC4)
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("Cancel", SE1, AC7)
VS8=("OK", SE1, AC7)
PRESS(VS7)
EXIT
END_PRESS
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=54974628747&Language=de-DE&TopicId=53033882251
18.06.2017
SINUMERIK 840D sl/828D SINUMERIK Integrate Run MyScreens
Programmierbeispiel für den Bereich "Custom"
PRESS(VS8)
EXIT
END_PRESS
LOAD
By1=1
By2=2
By3=3
By6=6
By7=7
END_LOAD
PRESS(HS1)
Byte.wr=2
END_PRESS
CHANGE(Byte)
By1=byte+1
By2=byte+2
By3=byte+3
By6=byte+6
By7=byte+7
Feed.VAR="EB"<<By3
Spin.VAR="EB"<<Byte
Custom1.VAR="EB"<<By6
Custom2.VAR="EB"<<By7
Axisstop.VAR="E"<<By2<<".2"
Spinstop.VAR="E"<<By2<<".4"
Byte.wr=1
END_CHANGE
CHANGE(Axis stop)
IF Axistop==0
Axistop.BC=9
ELSE
Axistop.BC=11
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=54974628747&Language=de-DE&TopicId=53033882251
18.06.2017
SINUMERIK 840D sl/828D SINUMERIK Integrate Run MyScreens
Programmierbeispiel für den Bereich "Custom"
ENDIF
END_CHANGE
CHANGE(Spin stop)
IF Spinstop==0
Spinstop.BC=9
ELSE
Spinstop.BC=11
ENDIF
END_CHANGE
//END
This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims
all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. The complete
documentation can be found at:
/dokumentation/default.aspx?DocVersionId=54974628747&Language=de-DE&TopicId=53033882251
18.06.2017
© Copyright 2026 Paperzz