Hello Guest it is August 02, 2021, 04:52:30 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 - Marce

Pages: 1
1
General Mach Discussion / Re: Capacitor on Limit Switch
« on: September 29, 2020, 11:51:26 AM »
Thank you very much for your kind response. And for taking all the trouble to explain it to me as well as you have done. I have nothing but one last question. Do you think that the implementation of this capacitor in this circuit can protect my breakoutboard from burning out due to overvoltages produced by the spindle?

https://youtu.be/_qTjYUyNpGs

Best regards


2
General Mach Discussion / Re: Capacitor on Limit Switch
« on: September 29, 2020, 09:53:25 AM »
Thanks for your answer. I have a doubt. The led should stay on once the limit switch is disconnected for a short time. This due to the energy stored by the capacitor? This would suggest that the circuit works well?

3
General Mach Discussion / Re: Capacitor on Limit Switch
« on: September 28, 2020, 03:59:03 PM »
Dear Friends:

I have the same problem with the Z axis limit switch. Sometimes the limit switch input activates itself. But the worst thing that in other 2 occasions has been generated an overvoltage that has burned the input of the breakout board because of the Spindle. For this I designed an additional circuit with optocouplers in order to protect this input. For this, it requires incorporating a 0.1uF ceramic capacitor to see if this can attenuate these voltage surges as explained in the attached image. The circuit usually works quite well. The problem that when incorporating the capacitor and activating the limit switch, the system does not activate. However, when the capacitor is removed, the circuit is activated normally. Is it possible that the capacitor is wrongly connected or some other component is missing in the circuit? I am not an expert in electronics and it is likely that I am making some basic error in this. For this reason, I ask for your help. I have also incorporated shielded cable in the spindle and in the limit switch of the z axis to solve this problema.

Best regards

4

I need to send the speed signal from the spindle to an arduino uno to control the intensity of a laser or spindle if required through the Modbus protocol. As arduino pwm signal this should have a resolution of 0-255. I also require enabling an output pin on arduino to enable a relay with the M03 command and disable with M05. Unfortunately I am not an expert programmer of Brain. So I ask for your help. In the modbus tester stage. Everything works very well.
But in Brain something does not work. The two digital outputs that I have. when they are activated. They deliver a signal that is not constant. It varies with a frequency of 5.19Hz and a period of 190 milliseconds. which is bad because it does not work for me. And as much as I have tried I can not find the solution. In the attached brain photo. You can see that the DRO  169-CMD Spindle RPM acquires the value of spindle speed.  But it never leads out. In this out is the modbus register that I need to load to control the PWM signal. And this never happens.

On the other hand. I have three digital inputs that generally work fine. On occasions these signals are not activated when they should be. This happens when I start mach3. This I solve by performing a test on the modbus communication. After this the signals are communicated with mach3. But I wonder if this could be done automatically?

I think my syntax is very poor and that is the problem.  Is there a function that will help me solve the problem?

I would appreciate any help. Honestly I am very interested in learning this I / O expansion technique which I consider too interesting.

5
Brains Development / Spindle PWM output - Brain Editor
« on: July 14, 2020, 09:10:51 PM »
I need to send the speed signal from the spindle to an arduino uno to control the intensity of a laser or spindle if required. Through the Modbus protocol. As arduino pwm signal this should have a resolution of 0-255. I also require enabling an output pin on arduino to enable a relay with the M03 command and disable with M05. Unfortunately I am not an expert programmer of Brain. Which has led me to many failed attempts. So I ask for your help. In the modbus tester stage. Everything works very well for me. But in Brain something does not work well. In the attached brain photo. You can see that the DRO  169-CMD Spindle RPM acquires the value of spindle speed.  But it never leads out. In this out is the modbus register that I need to load to control the PWM signal. It is also required that when you turn off the spindle the speed signal turns off which is not currently the case.

I hope someone can help me please.

6
Dear Sir:

Thanks for replying to this post.as well I said. the purpose of this experimental circuit is to protect the BOB inputs from being damaged? Unfortunately because of my lack of experience. I can't get the right way to connect this circuit in my head. After much thought, design the attached diagram. I think it is better than the previous one. But I find the problem of calculating the resistors R3 Value. The model of the optocoupler used is PC817. Some of the values in the datasheet are confusing to me.  These are the current values in mA. in the transistor stage. These are the current values in mA. in the transistor stage which are several. I don't know which one to use to calculate resistance R3. The ones that confuse the most:

Collector Current = IC = 50mA
Current transfer ratio = CTR = IF = 5mA, V CE = 5V
Collector-emitter saturation voltage = VCE (sat) = IF = 20mA, I C = 1mA.

Depending on the value that I choose. The results are very different and confusing.

I hope you can help me.

Best regards


7
Hi Craig:

Thank you very much for answering my question. In relation to your contribution. I tell you that it is not a problem to eliminate the LED diode and the resistance at the output of the emitter of the optocoupler. I incorporated this LED diode into the circuit with the experimental objective of seeing that the optocoupler conducted a voltage at the output. Anyway. To make all these modifications. I still do not know how to connect the emitter of the optocoupler to the circuit board.

8
Dear Friends:

I am inexperienced in the world of electronics, so I ask for your help.I need to make a protection circuit for the digital inputs of my mach3 Circuit Board. This is for the purpose of protecting digital inputs. because they have been burned previously. Due to increased accidental voltages of unknown origin. I have developed an experimental circuit with opto couplers PC817 according to the attached image. The problem that appears to me is how to connect the output of the opto coupler to the digital input of my circuit board mach3. The optocoupler output generates 3 output pins. One is the operating voltage which is 9v supplied by the GND pin of the mach3 circuit board. The second Pin is the logical output that corresponds to the circuit board input of mach3. The third pin is the GND of the opto coupler output circuit. This is the pin that is difficult to know where to connect. I hope you can help me.

Best regards

9
G-Code, CAD, and CAM discussions / Re: Prepatory G code
« on: November 14, 2019, 11:06:15 AM »
Hoooo !!! I am really sorry. I had no way of knowing that the license was false. This mach3 license came along with a USB control card that I bought on Ebay! You think I bought an original license. This problem would be solved?

Best regards

10
G-Code, CAD, and CAM discussions / Prepatory G code
« on: October 30, 2019, 12:39:15 PM »
Dear Friends:

I am new to the use of Mach3. I am trying to create my first G code using the Inkscape Gcodetools. I have the following problem. When loading my program in mach3. In the toolpath window there are huge spirals that do not correspond to my program. Apparently some preparatory codes are missing. On all the codes associated relations with circular compensation etc. In some occasions I introduce these codes and G21 G64 G41 G40 G71 is solved. But this is eventual. It is not always.

I hope you can help me.

Best regards

Pages: 1