0% found this document useful (0 votes)
26 views4 pages

Siemens Variaveis

The document provides a comparison of command syntax between Fanuc and Siemens 840D lathe systems, detailing mathematical functions, conditional statements, and variable designations. It also outlines system parameters for the Siemens 840D, including machine data, current positions, active tool information, and work offsets. Additionally, it defines data types such as INTEGER, REAL, BOOLEAN, CHAR, and STRING used in programming.

Uploaded by

wilson pereira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views4 pages

Siemens Variaveis

The document provides a comparison of command syntax between Fanuc and Siemens 840D lathe systems, detailing mathematical functions, conditional statements, and variable designations. It also outlines system parameters for the Siemens 840D, including machine data, current positions, active tool information, and work offsets. Additionally, it defines data types such as INTEGER, REAL, BOOLEAN, CHAR, and STRING used in programming.

Uploaded by

wilson pereira
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

OPERATORS SIEMENS 840D LATHE

Fanuc Siemens Command Comments


Command
SIN SIN( ) SINE
COS COS( ) COSINE
TAN TAN( ) TANGENT
ASIN( ) ARCSINE
ACOS( ) ARCCOSINE
ATAN ATAN2( ) ARCTANGENT2
POT( ) SQUARE
SQRT SQRT( ) SQUARE ROOT
ABS ABS( ) ABSOLUTE
ROUND ROUND( ) ROUND OFF (To nearest integer value)
FIX TRUNC( ) DISCARD FRACTIONS
EQ == EQUAL
NE <> NOT EQUAL
GT > GREATER THAN
GE >= GREATER OR EQUAL TO
LT < LESS THAN
LE <= LESS OR EQUAL TO
GOTO GOTOF GOTO FORWARDS
GOTOB GOTO BACKWARDS
IF IF IF
CASE CASE STATEMENT
LABEL DESTINATION (Label within program)
LABEL: JUMP DESTINATION followed by colon.
#1 to #26 R1 to R26 Selective Local Varaibles -inputs to top level
program only
#1 to #26 RENL[1] to RENL[26] Local variables per Fanuc designations
#27 to #32 RENL[27] to RENL[32]
#100 to #149 RENC[0] to RENC[49] Common variables as per Fanuc designations.
#500 to #532 RENT[0] to RENT[32] Common retained variables as per Fanuc
designations.
SYSTEM PARAMETERS SIEMENS 840D LATHE

Fanuc Siemens Comments


Command Command
1st Letter $M Machine Data
$S Setting Data
$P Programmed Values
$A Current Values
$V Service Values
2nd. Letter N NCK Control Value
C Channel Specific
A Axis Specific
#5021 $AA_IM[X] Current Position -X Axis - MCS
#5022 $AA_IM[Z] Current Position -Z Axis - MCS
#5023 $AA_IM[Y] Current Position -Y Axis - MCS
#5041 $AA_IW[X] Current Position - X Axis - WCS
#5042 $AA_IW[Z] Current Position - Z Axis - WCS
#5043 $AA_IW[Y] Current Position - Y Axis - WCS
$AA_MM[X] Skip position X - MCS
$AA_MM[Z] Skip position Z - MCS
$AA_MM[Y] Skip position Y - MCS
#5061 $AA_MW[X] Skip position X - WCS
#5062 $AA_MW[Z] Skip position Z - WCS
#5063 $AA_MW[Y] Skip position Y - WCS
$P_TOOL Active Tool Edge (D1 to D9)
#5081 $P_TOOLL[1] Active X Axis length (Geom, Wear & Base)
#5082 $P_TOOLL[2] Active Z Axis length (Geom, Wear & Base)
#5083 $P_TOOLL[3] Active Y Axis length (Geom, Wear & Base)
$P_TOOLND[x] Number of cutting edges x=Tool No.
#4120 $P_TOOLNO Active Tool Number
$P_TOOLR Active Tool Radius (Total)
$P_AD[m] Active Tool Offset, [m]=active D Number
(Page 11-22) $AC_MEA[n] PROBE STATUS (0 or 1) - n=probe number
#4119 $P_S[n] Last programmed spindle speed
$AA_S[n] Actual spindle speed
#4109 $P_F Last programmed feed
$P_IFRAME Current Work Offset
MEAS Measure with Touch Trigger Probe
MEAW Measure with Touch Trigger Probe without deleting
“Distance To Go” on triggering
SUPA Suppress all, Frame, preset offset, DRF offset
#4006 $PA_GG[13] Inch/Metric - Inch (G70)=1, Metric (G71)=2
#2700's $TC_DP3[x,y] Length 1 Tool Geometry
(#15000's) x=Tool Number, y=Offset (D1 to D9)
#2000's $TC_DP12[x,y] Length 1 Tool Wear
(#10000's) x=Tool Number, y=Offset (D1 to D9)
$TC_DP21[x,y] Length 1 Base
x=Tool Number, y=Offset (D1 to D9)
#2800's $TC_DP4[x,y] Length 2 Tool Geometry
(#16000's) x=Tool Number, y=Offset (D1 to D9)
#2100's $TC_DP13[x,y] Length 2 Tool Wear
(#11000's) x=Tool Number, y=Offset (D1 to D9)
$TC_DP22[x,y] Length 2 Base
x=Tool Number, y=Offset (D1 to D9)
#2450's $TC_DP5[x,y] Length 3 Tool Geometry
(#19000's) x=Tool Number, y=Offset (D1 to D9)
#2400's $TC_DP14[x,y] Length 3 Tool Wear
(#14000's) x=Tool Number, y=Offset (D1 to D9)
$TC_DP23[x,y] Length 3 Base
x=Tool Number, y=Offset (D1 to D9)
#2900's $TC_DP6[x,y] Tool Nose Comp Radius Geometry
(#17000's) x=Tool Number, y=Offset (D1 to D9)
#2200's $TC_DP15[x,y] Tool Nose Comp Radius Wear
(#12000's) x=Tool Number, y=Offset (D1 to D9)
$TC_DP1[x,y] Tool Type
x=Tool Number, y=Offset (D1 to D9)
$TC_DP2[x,y] Tool Edge Position
x=Tool Number, y=Offset (D1 to D9)

$P_UBFR[x,TR] Work Offset G500 x = axis letter


$P_UIFR[1, x ,TR] Work Offset G54 x = axis letter
$P_UIFR[2, x ,TR] Work Offset G55 x = axis letter
$P_UIFR[3, x ,TR] Work Offset G56 x = axis letter
$P_UIFR[4, x ,TR] Work Offset G57 x = axis letter
$P_UIFR[5, x ,TR] Work Offset G505 & up to G599 x = axis letter
$P_UIFRNUM Active $P_UIFR[n] number
(Page 10-8) INT INTEGER - WHOLE NUMBER
REAL REAL NUMBER WITH DECIMAL PLACE
BOOL TRUE OR FALSE -BOOLEAN
CHAR CHARACTER - ASCII CODE 0-255
STRING CHARACTER STRING
AXIS AXIS ADDRESS
FRAME GEOMETRIC PARAMETERS

$A_PROBE[n] = estado do apalpador

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy