On Tue, 3 Jan 2017 09:40:39 +0700
TJoseph Powderly <tjt...@gmail.com> wrote:

> Nicklas, hello
> 
> 
> On 01/03/17 04:17, Nicklas Karlsson wrote:
> > I made local change to the hostmot2 stepper drivers to both send and 
> > receive absolute position encoder style. Behaviour could be changed with 
> > configuration parameter.
> do i think correctly ? the stepper gets position commands, not step & dir ?

Yes originally, but I made a small change to the driver so I could send 
absolute values, this was the simlest driver to modify. I only send like lower 
16 bits so it will be "encoder style".

> > The change is simple but I am still thinking about protocol because with 
> > interpolated position mode there is a need to set parameters. I read 
> > Profibus use same protocol on all media but it may be a little bit to 
> > complex and I do not know about parameters.
> does 'interpolated position mode' mean the position commands are delta? 
> dx dy dz commands

No delta, it is absolute values but only 16 bits so it will be like a 16 bit 
encoder counter.

> > CANopen have a dictionary which may be used for parameters and PDOs for 
> > real time data but I do not know if it is a good idea to use on other 
> > media. Via TCP/IP telnet may actually be a simple method to implement set 
> > parameters or a web server but a standard industrial protocol used with 
> > ordinary configuration tools are probably better.
> >
> new type drivers using 'standard ... protocols.. . with ordinary 
> configuration tools' is of benefit to larger non-edm audience

Yes I know, it will or are also used for other machines. For EDM feedback is 
needed but for other machines path is known beforehand and there could also be 
a small receive FIFO.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to