Hello Guest it is October 22, 2020, 10:37:22 PM

Author Topic: Camera plugin feedrate  (Read 85 times)

0 Members and 1 Guest are viewing this topic.

Camera plugin feedrate
« on: September 14, 2020, 07:10:07 PM »
Hello, just starting to use (Klauss) camera plugin, just wondering any chance somehow change speed when spindle travels after selecting offset, now in my case its so slow like 2-3min for 50mm. Thanks.

Ps. win8 with latest mach3 and latest plugin

Offline ZASto

*
  •  302 302
    • View Profile
Re: Camera plugin feedrate
« Reply #1 on: September 15, 2020, 04:02:54 AM »
Feedrate has nothing to do with that plugin.

These are the button scripts that I use:

Button to switch camera ON:
Code: [Select]
'Camera button script;

Zmove = GetOEMDRO(1202) 'get Z tool change location (machine coordinates)
Call SetUserlED(1104,1) 'light up LED near camera button
Call SetOemDRO(118,0) ' reset system rotate DRO
Call SetOEMDRO(3,5) 'set slow jog rate to 5%
Call SetUserLed(1102,1) 'open Klaus's video window
Code "G0 G53 Z" &Zmove 'goto Z tool change height
While IsMoving()
Wend
Code "(Locate Datum then click CAMERA ZERO)" 'message for status bar

Button to zero XY at camera position:
Code: [Select]
'Camera Zero button script;
 
Call SetOemDRO(3,80) 'reset jog rate to 80%
Xs=GetOemDRO(59) 'read Xscale DRO
Ys=GetOemDRO(60) 'read Yscale DRO
Xmove =GetUserDRO(1103) * 1/Xs 'enter your camera offset here
Ymove = GetUserDRO(1104) * 1/Ys 'enter your camera offset here
Code "G91 G0 X" &Xmove & "Y" &Ymove 'make incremental move
While IsMoving () 'wait while that happens
Wend
Code "G90" 'go back to absolute moves
DoOEMButton (1008) 'zero X axis DRO
DoOEMButton (1009) 'zero Y axis DRO
SetUserLED(1103,1) 'close Klause’s video window
SetUserLED(1104,0) 'Switch off LED near camera button
Code "(Homing to Datum Complete)" 'message for status bar

As you can see, there are no F speed changes, besides resetting slow jog rate to be able to accurately position camera at desired location: Call SetOEMDRO(3,5) 'set slow jog rate to 5%
Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.
Re: Camera plugin feedrate
« Reply #2 on: September 15, 2020, 05:14:32 AM »
Just found at plugin config speed (F) was thinking what that for camera frame speed, not clear, after adjusting this parameter all works as should be, by the way where is any work around to make this plug-in work with edge find button's on mach3. Thanks