× Forum Header

Help with tranlating puls/dir control signals

More
10 Sep 2013 06:24 #38580 by jandansson
Hi,

I'm new in building a CNC machine and feel little embarrassed of my ignorance. My mill is now built (no spindle yet) and the axis seams to work fine (from my current and limited test) and they have been homed for the first time (XYZ, ball screws, Nema 23 425 oz motors, combined limit and home switches).
The drives is DM542A, peak 4.2A, max 128 microsteps and a controller board. All including the mechanical parts is from China. Not much of documentation and info, it took a while to test and figure out the wiring. Still I'm not absolute sure if things are correct connected and the parameters in LinuxCNC are defined in the proper and best way. My main concern for now (I expect more to show up) is the parameters for Step Time, Step Space, Direction Hold and Direction Setup in the Stepconf interface. I requested parameters from China and they sent me some info that I can't translate to the parameters in Stepconf. My current parameters seams to work fine but they are based on wild guessing from drives that could be close to mine (Step Time 5050 ns, Step Space 5050 ns, Direction Hold 500 ns and Direction Setup 500 ns). Can someone help me to translate the Sequence control signals (DIR/PULS MODE) from Longs Motors to the Stepconf parameters? They are:
Width of PULSE 1.0 us, Width of PULSE space 1.0 us, PULSE frequency 500 KHz and time of change DIR 2.0 us. Picture in file from Longs Motor:



Thanks in advance
Jan Dansson
Sweden


Link for electronics here, shipped from EU to Sweden:
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 07:11 #38582 by PCW
That chart would translate to
step time 1000 (1 uS)
step space 1000 (1uS)
dir setup 2000 (2 uS
dir hold 2000 (2 uS)
The following user(s) said Thank You: jandansson

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 09:03 #38586 by jandansson
Thanks fore the timing parameters.

Should I add something for the Break out board with optical couplers (estimate, not much spec available) ?

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 09:52 #38588 by PCW
Yeah it is just guessing with unknown OPTOs/OPTO circuitry, but
probably a safe value is 5000,5000,10000,10000 (steplen,stepspace,dirsetup,dirhold)

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 10:24 #38589 by jandansson
Thanks again,

That's up from 1000 to 5000 steplen with the BOB included.
From my limited knowledge in the field, is this indicating it could be better performance with a BOB without optical couplers? Worth the effort to change? This kind of couplers are in the drivers to, are they also needed in the BOB?

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 11:58 #38590 by PCW
5000/5000 timing would allow 100K steps per second.
This step rate is normally not achievable with software stepping
so these timings will not be the limiting factor.

Please Log in or Create an account to join the conversation.

More
10 Sep 2013 14:33 #38594 by cncbasher
Note , as the stepper drivers have opto's fitted you do not need them in your interface ,

these stepper drivers are very common and are made by Leadshine , but appear under many brand names , the timings are listed in the wiki , you can get them to run perfectly at 2500 , 3000

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum