. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    You can get to the encoder DRO's in Mach3, do a search in this document for them; http://www.machsupport.com/forum/ind...0;attach=27839
    Then you might be able to write a Mach3 'Brain' to achieve what you want.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  2. #2
    Thanks, Eddy, at the time I went the add-on route (Wizard) but I could not figure out a way to read the oemDRO's while the machine was moving e.g. if you do a
    code "G1 X 100" the script would just sit on that line till the movement is completed before moving to the code that gets height from the sensor so I had to go the move stop, then get height route.

    I'm not familiar with brains and will certainly read up on that. Would a brain allow some custom script to execute while some g-code is executing, as that would be exactly what I need? For interest sake the sensor I have is a Wenglor CP35MHT80

  3. #3
    Quote Originally Posted by EddyCurrent View Post
    You can get to the encoder DRO's in Mach3, do a search in this document for them; http://www.machsupport.com/forum/ind...0;attach=27839
    Then you might be able to write a Mach3 'Brain' to achieve what you want.
    But only if the encoder talks to Mach3 and in this case they don't. The loop is closed at the drive and Mach never see's the encoder so that won't work.

    Not sure if the drives will report encoder position thru the serial connection but suspect they will or could be made too.? In which case it may be possible to feed this to Mach3 then use a brain like Eddy suggests.?

  4. #4
    Jazz if its possible to get the driver encoder position back into Mach3 or even use the build in soft DRO's in mach3 like eddy suggested along with the sensor output it would create some very useful possibilities to toy with like e.g. a contactless edgefinder for setting work-offsets. I might be totally wrong but my gut feel is that the mach3 soft DRO's does not always know where the machine actually is in real-time while moving if you use a controller that does buffering etc ?

  5. #5
    If it does all come together this is a good video on Brains; https://www.youtube.com/watch?v=O8V7dZy02og
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  6. #6
    Thanks Eddy, that helps.

  7. #7
    I've just read the servo manual and it looks like the only way to get at the encoder is via that RS232 interface.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

  8. #8
    @mitchejc
    Don't know if this is any use for your limits application, Hiwin - Intelligent Linear Guideway ( Page 4 ); http://www.hiwin.com/pdf/lg/linear_guideways_e2.pdf
    Last edited by EddyCurrent; 21-12-2014 at 09:20 PM.
    Spelling mistakes are not intentional, I only seem to see them some time after I've posted

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Leadshine website and AM882
    By EddyCurrent in forum General Electronics
    Replies: 12
    Last Post: 24-08-2018, 01:59 AM
  2. Wiring up the Alarm output on Leadshine AM882
    By Shinobiwan in forum Motor Drivers & Controllers
    Replies: 42
    Last Post: 01-08-2017, 02:07 AM
  3. Controller for 8NM closed loop leadshine drivers
    By Matt81 in forum Motor Drivers & Controllers
    Replies: 5
    Last Post: 19-06-2014, 09:08 AM
  4. FOR SALE: Leadshine HBS86 kit - 8.0Nm motor + driver
    By dsc in forum Items For Sale
    Replies: 0
    Last Post: 07-04-2014, 04:46 PM
  5. Leadshine Digital drives bulk purchase
    By D.C. in forum Marketplace Discussion
    Replies: 32
    Last Post: 11-11-2012, 08:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •