Siemens SINUMERIK Commissioning Manual page 442

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

Programming
2.7 Functions
Example
MRNP("$R[0]*$R[1]*$R[2]*$R[3]",1)
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
Axis-specific machine data
Channel-specific machine data
Setting data
Global setting data
Axis-specific setting data
Channel-specific setting data
System variables
R parameter 1
PLC variable
All PLC data are available.
PLC data
Byte y bit z of data block x
2-92
;
The values of variables $R[0] to $R[3]
are written to REG[1] to REG[4].
$MN_...
$MA_...
$MC_...
$SN_...
$SA_...
$SC_...
$R[1]
DBx.DBXy.z
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Expanding the user interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents