Hello Guest it is April 16, 2024, 04:56:19 PM

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 - Roberto Ramírez

Pages: 1
1
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: August 08, 2018, 01:15:25 AM »
joeaverage thank you very much for the advice and give you the time to answer my questions, after several days of studying and doing trial and error I already managed to get Mach3 to recognize me the test probe for the automatic adjustment of the z axis and with the VBScript program that came in the manual I was able to adjust the zero to work.

I will continue studying because I have some doubts in the VBScript programming part, I do not know what GetDro (2), Getvar (2002) and others mean. joeaverage, Ger21 thank you very much for taking the time to help me.

2
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: July 30, 2018, 02:04:25 AM »
The first RNR controller board is the one I am using and does not recognize the automatic probe for automatic adjustment on the z axis. In the manual that I read on that plate says that if you can adjust an automatic adjustment probe for the z axis.

The second 5-axis controller card only asks if it is advisable to work with it. I have not used it, but I have seen videos on that controller board if the probe works for automatic z-axis adjustment and it works by means of a controller with a parallel to usb converter cable that uses Windows 10 64 bits.

3
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: July 29, 2018, 10:36:46 PM »
Hi Joeaverage for the controller board that I am using RNR RNR Universal USB Card Motion Control Mach3 Special Ed. V2.0. I'm not using even a driver just copy an RnRMotion.dll file

And the other 5-axis controller board read that installing a driver and connecting a parallel port adapter cable to usb works fine, I'll get the cable to be able to do that test

4
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: July 29, 2018, 04:39:34 PM »
I think that if it should be the controller board, I have researched on this board and I have not seen a video where they place a probe for an auto tool zero, the controller board is Russian.

Where if I have seen that it works what I am trying to do is with the 5 axis control board like the one I put in the link. Have you used that controller board?

https://articulo.mercadolibre.com.mx/MLM-596231603-tarjeta-controlador-brackout-mach3-emc2etc-db25-5-ejes-_JM

5
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: July 28, 2018, 01:11:29 PM »
Hi Ger21 I think the controller board is Russian, the version I'm using is R3.043.062 and I'm using it with USB port Windows 10 64 Bits with a patch I found in a forum.

6
General Mach Discussion / Re: Touch adjustment problem auto tool zero
« on: July 28, 2018, 02:03:00 AM »
Hello joeaverage, I have it established in Active Low in the configuration of ports and pins and nothing happened.

I also clicked on Active Low to see if it worked but nothing happened either.

Of the two forms at the moment that the tool touches the plate of the probe the Z axis continues lowering. I can not know what is the reason why this happens.

7
General Mach Discussion / Touch adjustment problem auto tool zero
« on: July 28, 2018, 12:59:49 AM »
Good evening, I wanted to automatically adjust the z-axis with a plate that I read that served to have more precision when working, then I got one.
I made the connection as it comes in the manual for a controller board, This board is called RNR Universal USB Card Motion Control Mach3 Special Ed. V2.0. Which I show in an attachment in figure 1.

The connection is shown in figure 2, which comes as an attachment.

Then I did the configuration in Ports and Pins as it comes in the manual in figure 3

Then enter in Auto Tool Zero this code that also came in the manual:

PlateOffset = 10
Zup = 25
MaxZPlus = 250
Sleep 100
CurrentFeed = GetOemDro(818)
Code "F300"
ZNew = GetDro(2) - MaxZPlus
Code "G31Z" &ZNew
While IsMoving()
Wend
ZNew = GetVar(2002)
Code "G0 Z" &ZNew + 3
While IsMoving()
Wend
Code "F50"
ZNew = GetDro(2) - 6
Code "G31Z" &ZNew
While IsMoving()
Wend
If PlateOffset <> 0 Then
Call SetDro (2,PlateOffset)
Code "G4 P0.25"
ZNew = PlateOffset + Zup
Code "G0 Z" &ZNew
While IsMoving
Wend
Code "(Z axis is now zero !)"
End If
Code "F" &CurrentFeed
Sleep 100

But nothing happens, when I enter this code in the VBScript the tool goes down and when touching the plate does not stop if it keeps going down, the Mach3 does not detect the board to automatically adjust the tool of a Dremmel 3000.

But the power source that I am using if it shows a difference when the tool touches the automatic adjustment plate and when it does not touch it.

When there is no contact between the tool and the plate, the power source dials 0 Ampere, when there is contact between the tool and the plate, the power source dials 0.01 Ampere as shown in figure 4.

I would be very grateful if someone has an idea of why this happens, because it is because the power source detects something and in Mach3 it does not detect anything. I have even seen in some videos already when they place the plate to calibrate the Z axis and configure the ports and pins in the diagnostics screen the Digitize box is lit.






8
General Mach Discussion / Re: doubt Macros VBScript
« on: July 27, 2018, 02:11:55 AM »
Thank you very much Tweakie.CNC, what I have read from the last manual that you had very well explained to me, I already had a lot of time looking for books, manuals on that subject but I had not found anything, now I'm just going to study and read that manual to be able to understand you more to the macros and again thanks for the information

9
General Mach Discussion / Re: doubt Macros VBScript
« on: July 26, 2018, 01:33:49 AM »
Thank you very much Tweakie.CNC for the links that you passed me, I understood a little more when I was reading the second link, I was already practicing with the GetScale and SetScale to get familiar with this type of programming.

But I still do not understand very well what it means OEM DROs, OEM Buttons, SetOEMDRO and GetOEMDRO. How can they be used in a program made in a VBScript?

10
General Mach Discussion / doubt Macros VBScript
« on: July 25, 2018, 02:28:00 AM »
Hello goodnight. I am writing to you because I want to learn to do macros in VBScript mainly to be able to do AutoToolZero.

I've been reading and researching programming using Cypress Basic (CB). What I've been reading about is that it has Dros functions, Button Commands and Leds functions. I was also reading the manual of Macro Programmers Reference Manual 2010 but I do not understand it very well.

Noce how to use this type of commands to program, I would greatly appreciate if someone could explain how it works, or put an example explained, a manual or book explaining all this.

This is an example that comes in the manual Mach3 Version 3.x Macro Programmers Reference Manual :

‘ Define the axes C
Const XaxisMultiFunctionOEMDRONum = 800
Const YaxisMultiFunctionOEMDRONum = 801
Const ZaxisMultiFunctionOEMDRONum = 802
‘ Write 1.2345 to Z axis DRO using SetOEMDRO
SetOEMDRO(ZaxisMultiFunctionDRONum, 1.2345) 
‘ Show the user the Z Axis DRO value, using
GetOEMDRO()
MsgBox “After using SetOEMDRO() the Z Axis DRO reads: “ & GetOEMDRO(ZaxisMultiFunctionDRONum)

I have no idea that it is stating with the constants and that it is equal to 800,801 and 802. I hope that someone can help me to understand how these commands work.

I attach the manual that I am using to learn

Pages: 1