Siemens SINUMERIK 840D sl Commissioning Manual page 731

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

Advertisement

Note
As long as the interpreter has not displayed a dialog, i.e., no LM function has yet been
processed, only one LS or one LM command, but no other action, can be configured in the
PRESS method of the definition block for the start softkey and the softkey menu.
The LS and LM functions may only be called within a softkey PRESS block and will not react
if navigation keys are pressed (PU, PD, SL, SR, SU, SD).
6.3.19
Read NC/PLC (RNP), Write NC/PLC (WNP)
Description
The RNP (Read NC PLC) command can be used to read NC or PLC variables or machine
data.
Programming
Syntax:
Description:
Parameters:
Example
VAR2=RNP("$AA_IN[2]")
Description
The WNP (Write NC PLC) command can be used to write NC or PLC variables or machine
data.
NC/PLC variables are accessed anew every time the WNP function is executed, i.e.,
NC/PLC access is always executed in a CHANGE method. It is advisable to use this option
in cases where a system or user variable changes value frequently. If an NC/PLC variable is
to be accessed only once, then it must be configured in a LOAD or UNLOAD method.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1
System or user variable", value
RNP ("
Reads NC or PLC variable or machine data
System or user
Name of NC or PLC variable
variable
Value
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.
; Read NC variable
Programming commands
)
6.3 Functions
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents