stepper motor skip stepping control

More
8 years 1 month ago #116983 by alex123
"You dont need a specific 5Abob hal file, _any_ mesa step/dir hal file will work as a starting point for hand editing "

Yes, but for the firmware 5ABOB_enc, one of the ports completely encoder inputs and how linux will know where (on which pins) does it read the encoder of which axis? Where it is necessary to finish this?

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

More
8 years 1 month ago #116985 by PCW
LinuxCNC only knows its has N encoders available (0 through N-1)

LinuxCNC doesn't need to know what pins they are on to work properly (though you do of course)

To determine the pin-out of a specific firmware image, you can refer to the
corresponding .pin file if its available, or run mesaflash with the --readhmid option:

mesaflash --device 7i92 --readhmid

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

More
8 years 1 month ago #116987 by alex123
It is clear what is stored in the XML file with the name of the working machine, there is just a bunch of lines with pins, etc.
Do you really need to correct it?
about "near" прочитал, но мне до конца не ясен синтаксис и не получается его без ошибок запустить.
Надо на его входные пины подать
hm2_7i92.0.encoder.00.position
hm2_7i92.0.stepgen.00.position-fb
In addition, we need to fix the hal part, which works with an oracular encoder link.
I started to do it, it turned out that the configurator for 7i92 (generating the start hal) when connecting the encoder to any axis except the spindle immediately generates hal with errors and it is NOT WORKABLE

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

More
8 years 1 month ago #116988 by PCW
The XML file is only needs by pncconf, LinuxCNC uses hal and ini files

Since you have a very non-standard configuration I would abandon pncconf and xml files and just work by editing the ini /hal files

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

More
8 years 1 month ago #116991 by andypugh
I think that the problem might be that instead of correcting the reference to encoder-fb the relevant lines were simply commented-out

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

Time to create page: 0.080 seconds
Powered by Kunena Forum