EasyManuals Logo

Siemens MCP 398C Programming Manual

Siemens MCP 398C
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 #877 background imageLoading...
Page #877 background image
Example 2: AXSTRING
When programming with AXSTRING[SPI(n)], the axis index of the axis, which is assigned to the
spindle, is no longer output as spindle number, but instead the string "Sn" is output.
Program code Comment
AXSTRING[SPI(2)] ; String "S2" is output.
Example 3: MODAXVAL
The modulo position of modulo rotary axis A is to be determined.
Axis position 372.55 is the starting value for the calculation.
The parameterized modulo range is 0 to 360 degrees:
MD30340 MODULO_RANGE_START = 0
MD30330 $MA_MODULO_RANGE = 360
Program code Comment
R10=MODAXVAL(A,372.55) ; Calculated modulo position R10 = 12.55.
Example 4: MODAXVAL
If the programmed axis identifier does not refer to a modulo rotary axis, then the value to be
converted (<axis position>) is returned unchanged.
Program code Comment
R11=MODAXVAL(X,372.55) ; X is a linear axis; R11 = 372.55.
3.15.4 Replaceable geometry axes (GEOAX)
The "Switchable geometry axes" function allows the geometry axes configured via machine
data to be replaced by other channel axes.
Syntax
GEOAX(<n>,<channel axis>,<n>,<channel axis>,<n>,<channel axis>)
GEOAX()
Work preparation
3.15 Axis functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 877

Table of Contents

Other manuals for Siemens MCP 398C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens MCP 398C and is the answer not in the manual?

Siemens MCP 398C Specifications

General IconGeneral
BrandSiemens
ModelMCP 398C
CategoryControl Systems
LanguageEnglish

Related product manuals