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