587,372 active members*
3,371 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2010
    Posts
    76

    Webcam added - need macro help

    Hi all

    I added my webcam to the router as below and am using the CNCcam software from CNC Cam

    Results below, quite happy so far.

    I have read through all the posts I can find webcam with Mach3 but cannot find a clear instruction on creating a button that will move the mill to allow for the camera offset. The image I see is approximately 100mm in both X and Y from the cutter.

    What I want to do is:
    Align by camera
    Press a button on Mach3 and have the mill move to that position
    Zero the X and Y DRO

    Can anyone help please
    Attached Thumbnails Attached Thumbnails My_setup.jpg   Camera_mount_2.jpg   Camera_mount.jpg   Starting_point.jpg  

    After_10mm_move.jpg   Mach3_after_10mm_move.jpg  

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    XOffset = 0.9348 'X offset from webcam to spindle
    YOffset = 1.9408 'Y offset from webcam to spindle


    SetOEMDRO(800,XOffset)
    SetOEMDRO(801,YOffset)


    Message "X and Y Axis Zeroed to Webcam"
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. webcam edge finder?
    By fahque99 in forum LinuxCNC (formerly EMC2)
    Replies: 16
    Last Post: 01-13-2015, 10:47 PM
  2. Window for the webcam ?
    By lelelodi in forum Screen Layouts, Post Processors & Misc
    Replies: 1
    Last Post: 09-25-2012, 12:31 PM
  3. who's webcam is this for hole locating
    By FastFieros in forum Digitizing and Laser Digitizing
    Replies: 2
    Last Post: 07-01-2009, 07:03 PM
  4. Webcam Mounting Arbor
    By micsit1 in forum Machines running Mach Software
    Replies: 3
    Last Post: 04-28-2008, 07:02 PM
  5. Webcam For Unatended Machining
    By intek cnc in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 04-01-2004, 09:34 AM

Posting Permissions

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