Siemens SINUMERIK 828D Commissioning Manual page 948

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Getting Started
2.2 Example
; Softkey definition in the dialog
HS1=("")
HS2=("")
HS3=("")
HS4=("")
HS5=("")
HS6=("")
HS7=("")
HS8=("")
VS1=("")
VS2=("")
VS3=("")
VS4=("")
VS5=("")
VS6=("")
VS7=("Next Mask")
VS8=("EXIT")
; Definition LOAD block
LOAD
; Read value with RNP
ACHS_NAM1 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[0]")
ACHS_NAM2 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[1]")
ACHS_NAM3 = RNP("$MC_AXCONF_GEOAX_NAME_TAB[2]")
; Output of a dialog line
DLGL("Value R2: = " << RNP("$R[2]"))
; Write WNP to a value
WNP("$R[3]",VAR0)
; Vertical dividing line
V_SEPARATOR(360,1,6,1)
; Horizontal dividing line
H_SEPARATOR(220,1,7,1)
END_LOAD
; Press method
PRESS(VS7)
; Load an additional dialog
LM("MASK2")
; End identifier press method
END_PRESS
; Press method
PRESS(VS8)
18
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents