7i92 default firmware version and pncconf

More
5 years 3 weeks ago - 5 years 3 weeks ago #222563 by hwe
 

File Attachment:

File Name: linuxcnc.report.txt
File Size:5.47 KB
Hi,after finalizing my pncconf-setup and starting Linuxcnc, I get the following error:....hm2_pci: rtapi_app main: No such device (-19) ...Please see the error-report attached.What I am doing wrong ?
Last edit: 5 years 3 weeks ago by hwe.

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

More
5 years 3 weeks ago #222566 by PCW
If you used pncconf configuration for a pci card,
you will need to change the driver name in the hal file
from hm2_pci to hm2_eth (and add the ip address to the
driver command line)

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

More
5 years 3 weeks ago - 5 years 3 weeks ago #222567 by hwe
Like this:
loadrt hm2_eth config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx ip=192.168.1.121"

??

Or which commandline you refer to ?
Last edit: 5 years 3 weeks ago by hwe.

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

More
5 years 3 weeks ago #222570 by PCW
loadrt hm2_eth board_ip=192.168.1.121 config="some config stuff"

man hm2_eth

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

More
5 years 3 weeks ago - 5 years 3 weeks ago #222571 by hwe
Looks like this now:

loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
#setp hm2_5i25.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.y,pid.z,pid.s

addf hm2_5i25.0.read servo-thread
addf motion-command-handler servo-thread#

EDIT: corrected to board_ip=192.168.1.121   but no success. Same error.



So - first complained about watchdog.timeout - I commented out
Now - complains about "hm2_5i25.0.read not found"


Is there a tutorial somewhere I can follow to setup a simple 7i92 configuation ?
Shouldn't be so hard to config this .....
Last edit: 5 years 3 weeks ago by hwe.

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

More
5 years 3 weeks ago - 5 years 3 weeks ago #222573 by hwe
I did not yet flash the 7i92 with any linuxcnc-software.
Is this required ?

I think the default config should be fine just to get out some signals of the 7i92.

Added the error message in screenshot.

One more thing: my lan-port is "enp0s25" instead of "eth0"  - is this a problem ?
 

 
Last edit: 5 years 3 weeks ago by hwe.

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

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