Siemens SINUMERIK Commissioning Manual page 441

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

Advertisement

Example
WNP("DB20.DBB1",1)
2.7.20
Multiple Read NC PLC (MRNP)
Description
This MRNP command can be used to transfer several system or OPI variables in a single
register access. This access method is significantly faster than reading via individual access
attempts. The system or OPI variables must be included on an MRNP command of the same
area.
The areas of the system or OPI variables are organized as follows:
● General NC data ($MN..., $SN.., /nck/...)
● Channel-specific NC data ($MC..., $SC.., /channel/...)
● PLC data (DB..., MB.., /plc/...)
● Axis-specific NC data on the same axis ($MA..., $SA..)
Programming
Syntax:
Description:
Parameters:
Notice
It should be noted that the number of registers is restricted and the list of variables cannot
exceed 500 lines.
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
(Variable name 1*Variable name 2[* ...], Register index)
MRNP
Reads several variables
In the variable names, "*" is the separator. The values are transferred
to register REG[Register index] and those following in the order that
the variable names appear in the command.
The following therefore applies:
The value of the first variable is located in REG[Register index].
The value of the second variable is located in REG[Register index +
1], etc.
;
Write PLC variable
Programming
2.7 Functions
2-91

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents