Multiple Read Nc Plc (Mrnp) - Siemens SINUMERIK 828D Commissioning Manual

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

Advertisement

Example
FOCUS
END_FOCUS
6.3.27

Multiple Read NC PLC (MRNP)

Description
This MRNP command transfers several NC/PLC variables in a single register access. This
access method is significantly faster than reading via individual access attempts. The NC/PLC
variables must be included within an MRNP command of the same area.
The areas of the NC/PLC 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:
Parameter:
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
SWITCH (FOC)
CASE "VarF"
DLGL("Variable ""VarF"" has the input focus.")
CASE "VarZ"
DLGL("Variable ""VarZ"" has the input focus.")
DEFAULT
DLGL("Any other variable has the input focus.")
END_SWITCH
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.
(Variable name 1*Variable name 2[* ...], Register index)
Programming commands
6.3 Functions
139

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents