Hello Guest it is May 03, 2024, 01:18:50 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Davek0974

1271
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 02:21:42 PM »
Hmm, some progress.

I now have the macro pump updating the A axis DRO nicely, calibrated the display, got sensible data showing. The +Index pulse only needs to go low once after Mach comes out of reset each time.

Anyway, next issue seems to be that the macro code will not write to the tool table anymore?

Here's the button code, basically a hacked-down version of a previous attempt but one which did update the table ok.

It's not just writing a zero, i tested it by changing the DRO value with a fixed number and it would not write that either.

Code: [Select]
Sub Main()

Dim Response, Style, Tool

Style = 48
If GetOemLED(800) Then
  Response = MsgBox ("Mach In Reset, Enable And Start Again", Style, "Tool-Height Setting")
  End
End If

Style = 65
Response = MsgBox ("Ensure Toolsetter Is Empty, Reading Is Zero, Place Tool In Setter", Style, "Tool-Height Setting")
If Response = 2 Then End 'user pressed cancel

Tool = Question("Enter Tool Number For This Offset, Enter -1 To Abort")

If Tool = -1 Then End

Code "G90" & "G10" & "L1" & "P" & Tool &"Z" & GetOEMDRO(803)

DoOemButton(121)  'show the tooltable

Style = 64
Response = MsgBox ("Tool No." & Tool & " Height Set", Style, "Tool Height Setting")

End Sub              

Feet were aching a bit by now so i gave up without trying a PC reboot, will be back on the case in the morning but is there anything that can stop the code updating the table??

Also, when writing to the tool table in code then loading it via  DoOEMBUTTON(121) why doesn't the new value show up, if you close and reload it it shows?? This was when it was working BTW.

1272
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 01:04:00 PM »
Ok, i have the ENC module wired and i can see the LED's flashing as i move the encoder.

But i cannot get any signal into the CSMIO test page for the ENC module OR into Mach3.

Could it be the Index pulse ?
I have tried taking the Index input to 0v as well as 5v - no change, do i need to do anything with the differential Index input?

Nearly there but not quite ;)

Edit...

Got the data showing in the Plugin monitor, but not from the macro pump yet, going to change screen sets and throw in a user dro.

1273
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 08:11:02 AM »
Nice :)

1274
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 07:59:23 AM »
Not sure it won't work - i have the 4-axis 2010 set loaded on my laptop and with the axis disabled in ports & pins it seems to behave just like a plain user DRO - i can type values in it, made a macro that reads it, doubles the value then writes it back and that works so it could be good to go.

Goto zero has no effect as the axis is turned off :)

1275
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 07:48:33 AM »
Hmm, i might have to dump a small DRO somewhere then - thats the only thing with the 2010 screen-set, its so tidy and well filled that there is no where to shove anything else without making a mess :)

1276
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 07:33:01 AM »
Nice, thanks again.

Is it possible to use the actual A axis DRO on screen - i already have that and the CSMIO will not be using it any more??

The index pulse needs a relay as it uses the index 5v supply ??

The /200 is your steps-per calculation?

1277
General Mach Discussion / Re: Mach3 logic help
« on: September 02, 2016, 07:19:24 AM »
Ouch, ok will tweak it up a tad :) I think a drive over-current or lead-error would occur first.

1278
General Mach Discussion / Re: Mach3 logic help
« on: September 02, 2016, 05:05:57 AM »
Thanks Stirling, it was a value offered as "normal" somewhere, i will wind it back to 200 or so :)

BTW on a servo machine like my Bridgeport conversion, how is it best to arrive at an acceleration figure?

1279
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 04:44:28 AM »
Seems lots of ways to bake this cake, I need to get chips flying first i think :)

Any chance you could show us the code used on your tool height setter macros ?
Should have the ENC module today so i can get that fitted and programmed.

Dave

1280
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 02, 2016, 02:20:53 AM »
:)

The idea of using the knee to do tool offsets is pretty cool but moving the knee is not usually as accurate on a BP, i guess a direct feedback from a glass scale encoder would sort that but we're heading into exotic territory here ;)

I just have to increase my knowledge i think.