Help with pncconf and Optimum stepper drivers

More
16 Oct 2021 08:33 #223286 by Moltenaluminium
I'm replacing the Old Siemens controller with LinuxCNC and a 7i76e Mesa card. Everything is wired in (maybe). I'm trying to get the pncconf set up correctly with the Optimum Stepper drivers. I can't find any documentation that tells me the Step on-time, step space, etc.. Does anybody have experience with the Optimum drivers? 

Also This machine has an MPG, Which I've wired in based on this diagram  but the pncconf wizard doesn't give any indication as to how to set the pins. Any help on this is appreciated. 

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

More
16 Oct 2021 22:53 #223334 by Moltenaluminium
It seems I have to set the cast to "Mode 2" but I can not find any documentation on how to do that.

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

More
16 Oct 2021 23:49 #223344 by PCW
Usually

steplen = 5000
stespace = 5000
dirhold = 20000
dirsetup = 20000

is a good place to start

To set the 7I76E field I/O section mode to '2', you would
set sserial port 0 channel 0 to mode 2 in the hostmot2
driver config string:

sserial_port_0=20

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

More
17 Oct 2021 00:49 - 17 Oct 2021 00:53 #223349 by Moltenaluminium
Thanks, PCW. This is my first time with a Mesa Card. My previous emc2/linuxcnc projects were all parport with gekos.

Which file is used with the hostmot2 driver? Or is this something set in pncconf?

EDIT: I'm guessing it's in linuxcnc/MYMACHINE/MYMACHINE.hal  Please correct me if I am wrong. 
Last edit: 17 Oct 2021 00:53 by Moltenaluminium. Reason: update

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

More
17 Oct 2021 02:36 - 17 Oct 2021 03:49 #223359 by Moltenaluminium
I'm confused, because I set the line in MACHINE.hal as:

loadrt hostmot2
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=3 sserial_port_0=20"


but running pncconf to set the pins resets this value. I'm guessing the pncconf GUI has no ability to set this value.

Also 10000 is the maximum pncconf will allow me to set dirhold and dirsetup.
Last edit: 17 Oct 2021 03:49 by Moltenaluminium. Reason: addendum

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

More
17 Oct 2021 04:15 #223360 by PCW
At some point you usually have to start editing the hal/ini files by hand
There does seem to be a bug in pncconf though, it has a way of selecting
the sserial mode (to 0 or 2) on the "I/O Connector 1" page but its grayed-out.
Interestingly, this selection works on the very similar 5i25/7I76 configuration.

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

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