Help with pncconf and Optimum stepper drivers

More
5 years 2 weeks ago #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 to join the conversation.

More
5 years 2 weeks ago #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 to join the conversation.

More
5 years 2 weeks ago #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 to join the conversation.

More
5 years 2 weeks ago #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. 

Please Log in to join the conversation.

More
5 years 2 weeks ago #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.

Please Log in to join the conversation.

More
5 years 2 weeks ago #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 to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum