Hello Guest it is April 16, 2024, 11:02:46 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

1461
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: July 27, 2016, 01:17:04 PM »
Odd - the error numbers tonight were exactly the same as yesterday - x73,y60,z56 and did not change at all while i was messing about so they are perfectly stable now and i am happy. Where the errors initially come from i don't know - maybe starting up the CSMIO with the drives turned off ??

Anyway the cable fixed it :)

Fault inputs - on the drives the outputs are opto-couplers with common ground so i guess sinking outputs.
I need to connect these to the input on the CSMIO, do i connect the input+ to 24v and the input- to the drive output?

I think thats correct.

1462
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: July 27, 2016, 07:33:19 AM »
No not yet, but as they appear to be stable now, i think it may be coming from the initial start-up.

I will play some more and check the numbers but if they don't increment any more, i will be happy i think.

1463
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: July 27, 2016, 03:16:46 AM »
Yes the window that opens when you go Plugin Control -> CSMIO

On the left there are the encoder counts, if flashing red then an error was detected, the red number is the error count, it's limited to 255, at some level it triggers the "Check encoder connections..." message but i don't get that any more so maybe only when it hits 255 possibly.

I would guess an error could be a missing pulse or out of sync pulse?

1464
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: July 26, 2016, 02:49:43 PM »
Nah, its on the Plugin Control -> CSMIO monitor screen

1465
Oh and that is correct, no need for feedhold it just wanting it to wait until you ok the message box.
Hood

I guess I will need to add in a [ Code "M03" ] line wherever I stopped the spindle else it will zoom off after ok'ing the message without the spindle running ?

1466
Dont see anything in the macro for spindle override so not sure what is going on.
Do you have an override pot on your panel/pendant?
How have you got the plugin options set for spindle override?
Hood

At present this is on my laptop so no machine or controller at all, no pot etc.

Maybe that is the issue, will have to test it on the mill.

1467
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: July 26, 2016, 02:19:44 PM »
Ok, some success ;)

I replaced the cabling with 7-pair shielded cables and the encoder error counts are now below 50, not zero but they do not seem to change plus i do not get that 'Check encoder connections...." message anymore.

Looks like the counts are only zeroed upon boot up and i only booted it once but at least it seems happy now.

1468
Ah, so i don't really need the feedhold lines?

How about the odd behaviour with the spindle override DRO ?  Something is upsetting it, its in this macro and does it in both the 2010 set plus the std 1024 set.

1469
OK, this works better in simulation on my laptop at least.

Code: [Select]
rpm = GetRPM() 'requested RPM
pulley = GetOEMDRO(56) 'current pulley

Select Case rpm
case 0 To 126
  If pulley <> 1 then
    DoOemButton (1001) 'feed-hold
    Call SetOEMDRO(56,1) 'set the new pulley
    if pulley = 2 then
      Msgbox "Change Speed Dial To 700rpm"
    else
      Code "M05"
      Msgbox "Change Back-Gear To Low Range And 700rpm"
    end if
  End If
Case 127 To 366
  If pulley <> 2 Then
    DoOemButton (1001) 'feed-hold
    Call SetOEMDRO(56,2)
    if pulley = 1 then
      Msgbox "Change Speed Dial To 2200rpm"
    else
      Code "M05"
      Msgbox "Change Back-Gear To Low Range And 2200rpm"
    end if
  End If
Case 367 To 1031
  If pulley <> 3 Then
    DoOemButton (1001) 'feed-hold
    Call SetOEMDRO(56,3)
    if pulley = 4 Then
      Msgbox "Change Speed Dial To 700rpm"
    else
      Code "M05"
      Msgbox "Change Back-Gear To High Range And 700rpm"
    end if
  End If
Case 1032 To 3000
  If pulley <> 4 Then
    DoOemButton (1001) 'feed-hold
    Call SetOEMDRO(56,4)
    if pulley = 3 Then
      Msgbox "Change Speed Dial To 2200rpm"
    else
      Code "M05"
      Msgbox "Change Back-Gear To High Range And 2200rpm"
    end if
  End If
Case 3001 To 99999
  DoOemButton (1003) 'stop
  Msgbox "Speed Requested Out Of Machine Range, Code Stopped"
End Select

SetSpinSpeed( rpm )

Now, is the msgbox function modal - does it suspend code until acknowledged as i would want to put an M03 after the message in some cases but this will only work if the message halts further code.

Also, something is upsetting the "Spindle Override" DRO for some reason - this makes a real mess of speeds as the code sets one speed but S/O changes it to something else !!

Any ideas of do i have to add a spindle override reset call as well??

1470
Hmm, ok, maybe need a newer macro manual. Msgbox is a visual basic style call.

Will have a play when i get the encoders wired properly.