EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #349 background imageLoading...
Page #349 background image
Examples
Example 1: Output/delete message
Program code Comment
N10 G91 G64 F100 ; Continuous path mode
N20 X1 Y1
N... X... Y...
N20 MSG ("Machining part 1") ; The message is first output with
N30.
; continuous-path mode is retained.
N30 X... Y...
N... X... Y...
N400 X1 Y1
N410 MSG ("Machining part 2",1) ; The message is output with N410.
; continuous-path mode is interrup-
ted.
N420 X1 Y1
N... X... Y...
N900 MSG () ; Delete message.
Example 2: Message text with variable
Program code Comment
N10 R12=$AA_IW [X] ; Actual position of the X axis in
R12.
N20 MSG ("Check position of X axis"<<R12<<) ; Output message with variable R12.
...
N90 MSG () ; Clear message from N20.
2.14.2 Writing string in OPI variable (WRTPR)
Using the WRTPR() function, it is possible to write any character string from the part program
into the OPI variable progProtText.
Syntax
WRTPR(<String>[,<ExecTime>])
Meaning
WRTPR: Function call for outputting a character string.
<String>:
Any character string, which is written to the OPI variable progProtText.
Type: STRING
Maximum length: 128 characters
Fundamentals
2.14 Supplementary commands
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 349

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals