2010. gada 3. jūnijs 16:28 Andy Pugh <[email protected]> rakstīja:
> 2010/6/3 Viesturs Lācis <[email protected]>:
>
>> In kinematics.hal I have following assignement between joints and axis:
>>
>> setp gantrykins.joint-0 0
>> setp gantrykins.joint-1 0
>> setp gantrykins.joint-2 1
>> setp gantrykins.joint-3 2
>
> The rest of your HAL and INI would work better with
>
> setp gantrykins.joint-0 0
> setp gantrykins.joint-1 1
> setp gantrykins.joint-2 2
> setp gantrykins.joint-3 0
>

Ok, thank You, I will try this out.
Could You, please, be more specific on what is the difference between
both of these options?

My hardware part has already been created and X1 step and dir pins
have to be 2nd and 3rd, X2 step and dir have to be 4th and 5th pins.
So with Your suggestion in stepconf wizard I will have to create
following pin assignement - joint 0 step and dir - 2nd and 3rd pins,
joint 1 step/dir - 6th/7h, joint 2 - 8th/9th, joint 3 - 4th and 5th.
Do I correctly understand that?

Second question - I will need to add 2 more axis for the rotary head.
On the first parallel port I have 1 unused output pin left (17th pin
is free, 14th is "water ON", 16the is "abrasive ON" (for EMC -
"spindle ON" and "coolant flood" respectively)). How do I assign these
2 rotary axis to second parallel port? I tried the stepconf, added the
second parallel port, I think, that I entered correct address for the
port and in the drop-down menu chose "out" (I tried to follow
Integrator's manual on this topic, including "lspci -v" command in
terminal to find the second parallel port), but when I came to the
window, where the pins are assigned, I was not presented with pins of
the second port.
Then I understand, that I will have to do it manually in HAL file. The
way I see it now, is  that I will have to indicate not only pin
number, but also port number/address, so that EMC knows - this
particular signal has to go to second port. I did not see anything
about this in the Integrator's manual.
Or is it possible to transfer all the input pins to second parallel
port, so that all pins on first port are output pins (also 10-13 and
15)?

Viesturs

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to