7i76e: MPG and Analog inputs with pncconf?

More
14 Jan 2019 00:52 #124127 by cmorley
How do you connect that code to halui?
Can you make a HAL pin in the .axisrc file?

Chris M

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

More
14 Jan 2019 00:56 #124129 by phillc54
Yes, you can create a component and connect it in .axisrc

Cheers, Phill

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

More
17 Jan 2019 09:01 - 17 Jan 2019 09:02 #124336 by trilobyte
I have modified the hal file to usw ilopass for the mpgs:

this is working, but only for "jogincr.in00" the other increments 01,02 do not work anymore.
these worked before i added the ilowpass.

what is going wrong with my new hal?

File Attachment:

File Name: schaublin125.hal
File Size:14 KB


peter
Attachments:
Last edit: 17 Jan 2019 09:02 by trilobyte.

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

More
17 Jan 2019 13:56 #124352 by andypugh
You might need to make all the jogincr numbers (in the mux16) 100x smaller to compensate for the 100x scaling of ilowpass.

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

More
23 Jan 2019 15:32 - 23 Jan 2019 15:32 #124671 by trilobyte
i edited the second newest hal file, not the last one. this was my problem, now it is working.
@andypugh: i made the jogincr numbers smaler.

the maschine gos very smooth now with the mpgs!


Peter
Last edit: 23 Jan 2019 15:32 by trilobyte.

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

More
24 Jan 2019 08:15 #124714 by trilobyte

Clive s wrote: setp axis.x.jog-enable true
setp joint.0.jog-enable true
## The above line is to be able to jog without homing ##


i added these two lines for x and z axis (joint 0 and 1). but i'm still not able to move the machine until it is homed.
Where can I find documentation on the subject?

Peter

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

More
24 Jan 2019 09:08 #124715 by cmorley
Do you have this in the [TRAJ] section of the INI?

NO_FORCE_HOMING = 1

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

More
24 Jan 2019 18:59 #124750 by trilobyte
Yes i've this in my ini:
"[TRAJ]
COORDINATES = XZ
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 2.50
MAX_LINEAR_VELOCITY = 25.00
POSITION_FILE = position.txt
NO_FORCE_HOMING = 1"

Peter

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

Moderators: cmorley
Time to create page: 0.107 seconds
Powered by Kunena Forum