Hello Guest it is August 14, 2020, 08:33:19 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 - arachid

Pages: 1
General Mach Discussion / uc300 trouble
« on: June 14, 2018, 02:41:30 AM »
Hi, I have a uc300-5lpt (usb) since 4 year. i very like this card but sometime i get syncro error on usb. I tried to find a solution but i did not find it them i bought a uc300eth (ethernet). i tried to install it with same motherboard. i just switch the card on motherboard and not change other set-up.
them i installed driver plug in for mach3 for this card. all axe work on jogging arrow.  now i try real test. after 2-3 part I realized the z axi was not at right position. I homming my z and retry, after 2 part same trouble z axi not at right position.  i made the test 5-6 time and alway same trouble, sometime after 1 par sometime after 3 part.  them i come back with my uc300-5lpt usb  and make  10 part without any trouble. I retry to install my uc300eth again and get same trouble. 
i tried to change step rate of the card but not change trouble.
do you know a solution?
i used my network configuration, if i try with cros-over wire can it fix trouble?
is it posible a bad uc-300eth??

Mach SDK plugin questions and answers. / input/output in plug in
« on: December 30, 2016, 01:40:08 PM »
Hello, is it posible to read/write pin port in a plug in. I try to make a plug in and i need to read a input port.
similar in a macro:
If IsActive(OEMTRIG17) Then
  End If

but in plug in is active is not a good syntax.

General Mach Discussion / mach3 input
« on: December 30, 2016, 12:38:57 PM »
Hi, i tried to change my cnc step up to have more function. i use a uc300-5lpt and mach3. now i use the 4 input in mach 3 associate to pin/port of my uc300-5lpt. all work great but i need more input. i have it on my card but mack3 have just 4 input tab on port/pin to associate port/pin to a input. ny body know if posible to have more input?
on macro I use input1, input2,input3,input4 but i need more input (like input5...)?   or maybe i can accosiate with a oemled them i can check led start on macro?
thanks for help

I resolve my trouble by adding DoButton(1003);  (or stop) before my code.
 now i like to know is it posible to pass a m code from a text box on my form to Code, like  Code(textbox1->text)  ???  and how use string in my code?? 
exemple :
int i=680;


 int i=680;
string s="m";

this code not work but how i can do it??

Mach SDK plugin questions and answers. / piUpdate() delay question
« on: July 03, 2016, 01:33:41 AM »
Hi, i try to make my first plug in for mach3. i use vs2008 with Ed Bryson’s wizard.
my plug in work but with whne mach 3 not run a code but when he run a code there are 3-5 sec of delay.

my code in piUpdate():

pressure is a value of pressure of the air system, dro1139 is the minimum value autorized.
led 2011 is a led to indicate at system when ready to check pressure.

when I initialise mach3 and remove air them my m680 work very fast and no trouble but when i execute a gcode them i remove air mach 3 wait 3-5 sec before execute my m680.
why this delay??

Pages: 1