Plc/Nc Variable, Write/Read Md - Siemens SINUMERIK 840D sl Commissioning Manual

Commissioning cnc part 2 (hmi)
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Expanding the Operator Interface (BE1)
3 Syntax
EXE function
The EXE function can be used on HMI Advanced to call a program created as an
application with the HMI Advanced OEM package or to start the Free Contour
Programming application.
With HMI Embedded, EXE can only be used to start the Free Contour
Programming application.
EXE (Program name)
EXE (GPROC)
where:
Program name
Note
The EXE function GPROC is only available within the parts program editor.
Note (HMI Advanced)
In order to start EXE, the task index of the EXE function must be entered under
[CHILDS] in the application INI file as it is stored in the REGIE.INI file (see OEM
documentation).
PRESS(VS3)
EXE(GPROC)
END_PRESS
3.6.2

PLC/NC variable, write/read MD

The RNP (Read NC PLC)/WNP (Write NC PLC) commands can be used to read
and write NC or PLC variables.
Each time a WNP or RNP function is processed, NC/PLC variables are re-
accessed. This means that an 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.
Read
RNP ("System or user variable")
where:
System or user variable
VAR2=RNP("$AA_IN[2]")
Write
WNP ("System or user variable", value)
where:
System or
user variable
Value
BE1/3-80
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
; HMI Advanced
; HMI Embedded
Name of the program that is to be executed
;Start GPROC.EXE (free
;contour programming)
Name of NC or PLC variable
;Read NC variable
Name of NC or PLC variable
Value that is to be written to the system or
user variable.
Or
© Siemens AG, 2005. All rights reserved
08/2005

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents