Siemens SINUMERIK 840D sl Commissioning Manual page 95

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

Advertisement

08/2005
DH notation:
Possible with both HMI Advanced and HMI Embedded
In the case of HMI Embedded - PCU20 (system without a hard disk), the
target file specification is converted into NC notation and the file created on
the NC.
In the case of HMI Advanced/HMI Embedded WIN32, the file is created in the
data management path.
DOS notation:
Possible with both HMI Advanced and HMI Embedded
The file is written to the specified directory on the hard disk/the specified PC
provided that the directory is available on the hard disk/remote PC.
In the case of HMI Embedded – PCU20 this notation can only be used to write
to the RAM drive or to a networked PC provided that a network connection
has been configured.
Note
Invalid variables generate a blank string in generated NC code and an error
message in the log book when they are read.
Note
The GC function cannot be called in sub-forms because variables originating from
master forms can be used in sub-forms. These variables would not, however, be
available in response to a direct call.
When generated code is processed manually with the Editor, the number of
characters for values created by the code generation program must not be
changed. Changing these values would make it impossible to recompile the code.
Remedy:
Recompile,
Enter changes using the configured screen form (e.g., 99
GC
//M(TestGC/"Code generation:")
DEF VAR1 = (R//1)
DEF VAR2 = (R//2)
DEF D_NAME
LOAD
VAR1 = 123
VAR2 = -6
END_LOAD
OUTPUT(CODE1)
"Cycle123(" VAR1 "," VAR2 ")"
"M30"
END_OUTPUT
PRESS(VS1)
D_NAME = "C:\TMP\MESSEN.MPF"
GC("CODE1",D_NAME) ;NC code:
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
MPF.DIR\MY_FILE.MPF
d:\abc\my_file.txt or \\RemoteRechner\files\my_file.txt
Cycle123(123, -6)
M30
Expanding the Operator Interface (BE1)
101)
3 Syntax
BE1/3-89

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810dSinumerik 840diSinumerik 840d

Table of Contents