Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-91
Example
WNP("DB20.DBB1",1)
;
Write PLC variable
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:
MRNP
(Variable name 1*Variable name 2[* ...], Register index)
Description:
Reads several variables
Parameters:
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.
Notice
It should be noted that the number of registers is restricted and the list of variables cannot
exceed 500 lines.
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...