Siemens SINUMERIK 840D sl Commissioning Manual page 732

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Programming commands
6.3 Functions
Programming
Syntax:
Description:
Parameters:
Example
WNP("DB20.DBB1",1)
6.3.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 within 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:
114
("System or user variable", value)
WNP
Writes NC or PLC variable or machine data
System or user variable
Value
; Write PLC variable
MRNP
(Variable name 1*Variable name 2[* ...], Register index)
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.
Name of NC or PLC variable
Value that is to be written to the system or user
variable.
If the value is a String type, it must be written in
double quotation marks.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents