Programming
2.7 Functions
Expanding the user interface
2-92
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Example
MRNP("$R[0]*$R[1]*$R[2]*$R[3]",1)
;
The values of variables $R[0] to $R[3]
are written to REG[1] to REG[4].
Reading display machine data:
Display machine data can be read with RNP ($MM...) within the LOAD block.
General read/write access to display machine data is not possible using the "Expand user
interface" function.
Note
User variables may not have the same names as system or PLC variables.
NC variable
All machine data, setting data and R parameters are available, but only certain system
variables (see list in Appendix). In HMI Advanced, you can find the accessible system
variables under operating area "Parameters"/"System variables"/"Edit view"/"Insert variable".
All global and channel-specific user variables (GUDs) can be accessed. but local and
program-global user variables cannot be processed.
Machine data
Global machine data
$MN_...
Axis-specific machine data
$MA_...
Channel-specific machine data
$MC_...
Setting data
Global setting data
$SN_...
Axis-specific setting data
$SA_...
Channel-specific setting data
$SC_...
System variables
R parameter 1
$R[1]
PLC variable
All PLC data are available.
PLC data
Byte y bit z of data block x
DBx.DBXy.z
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...