Siemens SINUMERIK 840DE sl Commissioning Manual page 1155

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
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 (BE2)
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
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
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents