Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

DMG CLX450 SIEMENS 840D

DMG CLX450 SIEMENS 840D

seanGPDQR
Contributor Contributor
2,805 Views
8 Replies
Message 1 of 9

DMG CLX450 SIEMENS 840D

seanGPDQR
Contributor
Contributor

Hi all 

 

we have a DMG CLX450 with siemens 840d control. We have live tooling but don't have a Y axis all the siemens posts I can find use X and Y for the live tooling is there a post or a way I can get it to use X and C? We have an NLX and on that post I can tell it to utilise C axis and this does just that but there is no option for this on the Siemens post

 

Does anyone have a working post that will do what I need or is there a way I can change one to suit?

0 Likes
Accepted solutions (1)
2,806 Views
8 Replies
Replies (8)
Message 2 of 9

andrew.millardCYPQ9
Alumni
Alumni
Accepted solution

Hi, you could turn off the Y axis in the Siemens Mill/Turn post (https://cam.autodesk.com/hsmposts?p=siemens_mill-turn)...

yaxis.JPG

Line 361, set this to false.

You still may see Y axis in the code, but this will be when Polar Interpolation is active (TRANSMIT), and these will be converted to C axis moves by the controller.  This should eliminate any XY moves being output.

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


Message 3 of 9

seanGPDQR
Contributor
Contributor

So i have changed what you said and the code posted as the following. As i am a fanuc man and have only programmed the siemens using shop turn could you please advise if it looks correct

 

; %_N_1001_MPF
N10 WORKPIECE(,,,"CYLINDER",192,0,-14.8,-13.8,36)
N11 G94 G18
N12 G71
N13 LIMS=6000
N14 G53 G0 X250 D0
N15 G53 Z300 D0

N16 MSG ("; 2D Contour1")
N17 G17
N18 DIAMOF (*)
N19 T12 D1
N20 M6
N21 SETMS(2) (*)
N22 G97 S2=7000 M2=3
N23 G94
N24 G54
N26 G0 SP1=0.
N27 D1
N28 DIAMOF (*)
N29 TRANSMIT(1) (*)
N31 M8
N32 G90 G0 Z15
N33 X-15.928 Y-11.764
N34 Z-8.3
N35 G1 Z-12.1 F1400
N36 X-15.922 Y-11.76 Z-12.152
N37 X-15.906 Y-11.748 Z-12.2
N38 X-15.88 Y-11.729 Z-12.241
N39 X-15.847 Y-11.705 Z-12.273

 

i have put the (*) in by the codes i don't have a clue what they are

0 Likes
Message 4 of 9

seanGPDQR
Contributor
Contributor

Also what is the SP= mean cos it wouldn't simulate with that in but if i delete that line it does

0 Likes
Message 5 of 9

andrew.millardCYPQ9
Alumni
Alumni

Hi,

I'll go through the codes one at a time to give you an explaination of them - 

DIAMOF - turns off Diametral programming (milling is usually radial on these machines).

SETMS - set master spindle - basically what spindle is assigned for the NC code to work on.

TRANSMIT - Polar interpolation

 

The SP1= function is to set the C axis to a position.  Your machine may need something other than this to work.

You could try editing the code to see if this code works in its place.

G0 SPOS[1]=0

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


Message 6 of 9

materialeimportante
Contributor
Contributor

Hello Andrew

I have the same problem. I made changes in post processor... but I didn't get good results. I don t want Y in my G code. My CNC don t have Y axis. Can you help me with this crucial problem?

Attach you have the last post process from Fusion library with mill and lathe capabilities... 

Thanks!

All regards, Dan 

0 Likes
Message 7 of 9

seanGPDQR
Contributor
Contributor

It will still post with a Y, i can get it to stop however if you have the 'transmit(1)' in before any Y movement the converts the Y to C this is the start and end or a program i use on a CLX450 with no Y i have to change a few things to get it to work on machine but not much the following is after changes and the M17 is because i just insert cad into a shop turn program where needed as a sub program 

 

MSG ("; Adaptive1")
G17
DIAMOF
T="3MM ENDMILL"
M6
SETMS(2)
G97S4=4000M2=3
G94
G54
D1
DIAMOF
TRANSMIT(1)
G90G0Z15
X-40.349Y-23.585
Z5
Z-3.3
G1Z-3.6F1250
Y-23.592Z-3.667
X-40.35Y-23.615Z-3.73
X-40.352Y-23.65Z-3.787
.

.

G0Z15
TRAFOOF
DIAMON

MSG ("; 2D Contour2")
G17
DIAMOF
DIAMOF
TRANSMIT(1)
X35.92Y-30.966Z15
Z5
G1Z1F1250
Z-3.9
X36.147Y-31.161
G2X39.673Y-30.9Z-3.9CR=2.5
X40.063Y-31.324Z-3.9CR=2.5

.

.

G1G40X-47.366Y10.768
G0Z15.
TRAFOOF
DIAMON
G54X200.Z100.
M2=5
M17

Message 8 of 9

materialeimportante
Contributor
Contributor

Hello,

I rezolved with Yaxis and i have a problem.
In the line N21 where the live tooling get the command for spindle and flood i have the error of M.How can i cgange in Post processor for get M1 from M2 wich i have?

Example:
N21 STMS(2)
N22 G97 S2=3600 M2=3
change in
N21 STMS(1)
N22 G97 S1=3600 M1=3

0 Likes
Message 9 of 9

seanGPDQR
Contributor
Contributor

@materialeimportante  Try this post but be very careful it simulates fine on our clx but not run it yet only thing is it wont let me use feed per tooth so have to program with mm/min on all tools

0 Likes