how to add parallel parport to 5axis_sim.hal?

More
15 Dec 2013 16:58 #41619 by tiffany
hello

I learned a lot in this forum, but 5axis_sim.hal doesn't contain the parallel parport, if I want add parport component to 5axis_sim.hal,
which pins shoud connect parallel?

net J0pos=>parport.0.pin-01-out
net J1pos=>parport.0.pin-02-out
......
net J8pos=>parport.0.pin-08-out

But I was confused why the connection is different from tb6560_v5,
net Xstep => parport.0.pin-02-out
net Xdir => parport.0.pin-03-out
net Ystep => parport.0.pin-04-out
net Ydir => parport.0.pin-05-out
net Zstep => parport.0.pin-06-out
net Zdir => parport.0.pin-07-out


I really confused about this,anyone could help me solve it?how shoud I do?
Attachments:

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

More
15 Dec 2013 17:31 - 15 Dec 2013 17:39 #41620 by cncbasher
a sim component is simple that, a simulation configuration , this in turn needs to simulate a parallel port and is linked to different files to fool linuxcnc that a parallel port exists
however it's a simple matter to copy and paste the parallel port parts to the 5 axis sim , or vise versa , if the tb6560 is working then i would copy the 5 axis parts to that configuration
the confusion arises as the 5 axis sim is using Joints rather than axis. so not perhaps the best example .

are you just wishing to add an additional axis to your tb6560 config ?
as it's easier to copy an axis block in your config and then rename to axis 3 or 4 etc
and copy the same in the ini file i.e copy axis 2 and then rename to axis 3 for
Last edit: 15 Dec 2013 17:39 by cncbasher.

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

More
15 Dec 2013 20:57 #41626 by tiffany
thank you for your reply, but my meaning is:
5axis_sim.hal could simulate a 5 axes machine, but I just don't understand why there is a j0pos instead of j0step or j0dir so that I can net j0step/j0dir=>
parport?

how to comprehend j0pos?

I'm sorry if my question is foolish~~

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

Time to create page: 0.183 seconds
Powered by Kunena Forum