Hello Guest it is September 27, 2023, 07:44:23 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.

Topics - wantcnc

Pages: 1
CS-Lab / Confused on how to address outputs in VB with CSMIO
« on: May 22, 2018, 04:26:41 PM »
have been struggling with this for several days now.
I want to control output 3:
So in VB  I Set adn reset Outbit (90,3)
then in ports and pins I set output #3 to port 10 and then pin number 3....

result it works.. Now I change the pin number to 4 assuming that that changes the output pin(terminal) as per documentation
and it does not change, it stays at 3 as before

the strange thing is that #outout 1 and 2 controling the spindle are routed to pin number 12 and 13 in the ports and pins and this works fine

what am i missing...

additional info
it seems that the spindle controll does adhere to the ports and pins pin number, but the VB side does not, it only follows the VB code and that needs to allign with the signal output# number

still confused as the documentation does not explain this verry well

CS-Lab / GetPortByte with CSMIO
« on: May 20, 2018, 12:44:47 PM »
I'm trying to get my Emco 120P ATC to work directly with CSMIO,
the ATC uses 4 signals for 8 tool positions, therefore its easier to read a whole byte of port pins and then mask of the top 4 and then looking for a value as it rotates.

so can I use GetPortByte() which seems to be a mach3 function or do I need to use the Modbus functions such as GetInbit  as the CSMIO sample shows ?

Tangent Corner / Perfect reason to own a CNC lathe
« on: March 19, 2008, 07:10:40 PM »
I finally found a legitimate reason to own a CNC lathe ::)


How did I ever do without it ;D


General Mach Discussion / Emco Turn 120P
« on: February 10, 2008, 03:21:48 PM »
Just got myself an old emco turn 120P  ;D
when I picked it up I got a shock :o in that it has a large DC spindle, which I did not expect
This motor is a siemens 1GL5104-0EZ40-6JU7-Z  and the drive is the emco one, which seems 3 phase fed.
I would love to keep the motor, so am trying to get info on it, none seems available on the net

Has anyone converted a 120P to mach and retained the steppers and drivers, seem Ok so why waste them?

any info would be welcome
especially schematics as I would happily pay for those....


Tried to get stepper drive to work, and found it only runs in the + direction.
When looking at the signals with a scope, I see the step in pulse as is should be in both directions (+ and -)
However the dir pin is stable (low) in the + direction, and pulses in the - direction

Both pulse and dir are set to 15 micro seconds pulse

I bet I will feel silly.....


Pages: 1