Hello Guest it is October 02, 2023, 08:15:47 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 - wantcnc

Pages: 1 2 3 4 »
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 / Re: GetPortByte with CSMIO
« on: May 21, 2018, 05:03:33 PM »

will try as soon as I get the outputs to behave.
 currently coded it with getinbit which "compiles" and runs.
for some reason the outputs ignore me, eventhough the power relay works from mach....

Thanks for the suggestion

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 ?

General Mach Discussion / Re: Turn Eccentric Wizard
« on: April 01, 2010, 03:06:32 AM »
I'm not sure yuo do need an Y axis, in that video the indeed use it, however in this video it is not used


also it mentiones gibscam as the cam generator...

Still the machine axis sync seems to me the hardest thing to solve, stepper drive will be so slow that cutting speeds will be to low
, unless you have fitted servos

I do like the of center clamp insert though...

General Mach Discussion / Re: Turn Eccentric Wizard
« on: March 25, 2010, 06:32:07 PM »
have a look at this vid.

slow going, needs accurate control



« on: December 11, 2008, 02:43:12 PM »
Each machine will have a different requirement to be safe in case of an Estop
When using inverters and AC motors on the spindle, the last thing you want to do is "switching off" the inverted as it will have no means to brake
Sending it a stop signal while keeping it energized is far better.

A lot of commercial kit Estops in sequence, where after a short while they also switch of the power to the drives
On heavy gantries with free running ball screws the same counts, (think punching machines), taking power away from the drive will allow nature to take over (inertia).

It is striking to see the changes in the EU machinery directive over the last few years where the safety schemes have changed from prescriptive to functional as the editors understood that each machine design has its particular challenges, and what works for one may actually be unsafe for another.

I have to agree that only relying on the charge pump is a bad thing, the Estop when pressed by the user should override all, and bring all moving parts to a stop in the fastest way possible without causing a danger in doing so (think of machine becoming unstable due to braking)

The above does not take away that SS bug should be repaired as they said they wood

machinery safety... I find it one of the most fascinating things to think of as there are so many conflicting issues, a real puzzle

"Just looking back at the pics WantCNC posted my steppers look a lot bigger than his (no not showing off "

Yes you are :)

you do need to be aware that steppers need to have some work to do in order to run at full speed
to large is not a good thing either... looks like your OK
the double shaft was selected in case I wanted to put encoders on (to check for missed steps)


as promissed some pictures

X and Y are on the proper brackets, Z is still on a lash-up one day I'll get the time to finish that one
for now it works....

I got my belt bits from RS, not the cheapest but it got me going in a hurry

work is getting in the way at the moment, will try to post a few pics later this week

motor 3 turns shaft 1 turn....
never tried it 1:1 I would be supriced if it would work, on ball screws it may work...but then that is  ££££
X axis rotate was done since I started to fit the motor on the right side, and then realized I needed that for the scale later on
since the shaft is bigger on the right side, I had no choice but to rotate the screw.
I took of the hand wheels....no point if you have a jog wheel and it only adds to the inertia
I still need to cut of the excess shaft.

I'm in NW London :(

I converted a Warco VMC which is the same machine as the 626
I used the Motioncontrol MSD542 with the 86BYG stepper on all axis
Which includes the Knee. The reason for this was that the play on the rack and pinion on the quill is rather large (I tried),  where as the weight of the knee pushes all the play to one side.

The ratio used is 3:1 as this works well with the lead screw 3mm pitch
The Z runs on a 6:1 due to the weight
It all runs happily at 600mm/minute which I regard as about the limit for soft cast-iron ways.
The screws are frequently adjusted and lots of lube is required on them

I “customized” three large transformers to give 50V DC at the drives

The machine runs at least 2 days a week production work 8 hours long, and not a beat is missed.

I have been able to fit all the motors in such a way that the machine is not bigger…
I turned around the X axis screw and then fitted the X motor “under” the table
This is done so I can fix a scale on the other side of the knee.
The Y axis also lives “under” the knee, and finally the Z axis. I removed the hand crank
and fitted the toothed wheel on the Z screw the stepper sits on a plate inside the Knee
which is fixed in place of the crank bearing plate. In this way the envelope is not larger due to the stepper motors, which you often see in conversions
when you remove the screws to install wheels, check the bearings and how they are fitted
the Chinese have a thing against finishing…..

I would like to have ball screws, and in time when the machine has earned some of its keep I will fit them. For now I am a happy with the machine and the conversion

Pages: 1 2 3 4 »