Help choosing a good card setup

More
08 Oct 2019 20:42 #147496 by PCW
Replied by PCW on topic Help choosing a good card setup
That will have the driver included

man hm2_eth

Should give you the basic loading instructions

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

More
08 Oct 2019 21:37 #147500 by jonch919

bevins wrote:

jonch919 wrote: I'm running linuxcnc-stretch-uspace-amd64.iso


What version linuxcnc are you using?

What is the output of uname -a

Show us your hal and ini files.

bevins wrote:

jonch919 wrote: I'm running linuxcnc-stretch-uspace-amd64.iso


What version linuxcnc are you using?

What is the output of uname -a

Show us your hal and ini files.


LinuxCNC version 2.7.14

unama -a -->
Linux cortini 4.9.0-11-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux

Hal and ini just created without real numbers for testing.

Also an error.txt for when I start linuxcnc with my profile.
It starts fine with just axis, but not with my own config. (which Tommy asked about above, sorry)
Attachments:

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

More
09 Oct 2019 00:56 - 09 Oct 2019 01:32 #147523 by bevins
Should be posted something like this. These are your files. Cant read it the way you posted.

Warning: Spoiler! [ Click to expand ]



Warning: Spoiler! [ Click to expand ]



Your missing sserial port 1 entry in your loadrt.

Try something like this....
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=200xxx sserial_port_1=00000000"

I guess networking is ok if linuxcnc starts, but can you ping 10.10.10.10?

Why do you have stepgens all over. Do you not have a 7i77?

post the hal file that you can start linuxcnc with.
Last edit: 09 Oct 2019 01:32 by bevins.

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

More
09 Oct 2019 16:16 #147574 by jonch919

bevins wrote: Should be posted something like this. These are your files. Cant read it the way you posted.

Warning: Spoiler! [ Click to expand ]



Warning: Spoiler! [ Click to expand ]



Your missing sserial port 1 entry in your loadrt.

Try something like this....
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=200xxx sserial_port_1=00000000"

I guess networking is ok if linuxcnc starts, but can you ping 10.10.10.10?

Why do you have stepgens all over. Do you not have a 7i77?

post the hal file that you can start linuxcnc with.

Thanks, will try that later.
I can connect and ping the 7i92. But I still get some errors. Maybe I should try more cables.
What still bothers me is the red LED CR6 being on, whick means field power fault.

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

More
09 Oct 2019 16:46 #147576 by PCW
Replied by PCW on topic Help choosing a good card setup
The red LED on a 7I77 or 7I84 is the generic fault light
It will be illuminated on any fault so will always be illuminated
when LinuxCNC is not communicating with the board
(so you have a watchdog timeout fault)

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

More
09 Oct 2019 17:01 #147577 by tommylight
Working 7i92 and lights



Attachments:
The following user(s) said Thank You: chimeno

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

More
09 Oct 2019 17:40 #147578 by jonch919

tommylight wrote: Working 7i92 and lights



Sorry, I meant on the 7i84.

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

More
09 Oct 2019 17:41 #147579 by jonch919

PCW wrote: The red LED on a 7I77 or 7I84 is the generic fault light
It will be illuminated on any fault so will always be illuminated
when LinuxCNC is not communicating with the board
(so you have a watchdog timeout fault)

Aah, thanks. I must have misinterpreted the manual.

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

More
09 Oct 2019 18:55 - 09 Oct 2019 19:14 #147585 by jonch919

bevins wrote: Should be posted something like this. These are your files. Cant read it the way you posted.

Warning: Spoiler! [ Click to expand ]



Warning: Spoiler! [ Click to expand ]



Your missing sserial port 1 entry in your loadrt.

Try something like this....
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=200xxx sserial_port_1=00000000"

I guess networking is ok if linuxcnc starts, but can you ping 10.10.10.10?

Why do you have stepgens all over. Do you not have a 7i77?

post the hal file that you can start linuxcnc with.

I've tried putting the extra sserial info in HAL, but it didn't do any difference. Should the it look exactly like that or are the numbers different for everyone? If so, how can I find out what to put there?

Not sure about those stepgens. How do I setup the second port on the 7i92 to communicate with the Leadshine MX4660 and send stepper signals etc properly? In pncconf there are limited options for firmwares.
What I've done now is to select the 7i84 as a sserial on port 1.

If I comment out all stepgen lines in HAL I can start LinuxCNC but with an error that can be closed:


When Axis start I galso get realtime error and a 7i92 error.


Under HAL configuration I see nothing about the 7i84, and also the red light CR6 is still on.


I can not ping the 7i92 on 10.10.10.10 while Axis is running. But it works fine when Axis is not running.

Current HAL:
Warning: Spoiler! [ Click to expand ]
Attachments:
Last edit: 09 Oct 2019 19:14 by jonch919.

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

More
10 Oct 2019 00:53 #147605 by bevins

jonch919 wrote:

bevins wrote: Should be posted something like this. These are your files. Cant read it the way you posted.

Warning: Spoiler! [ Click to expand ]



Warning: Spoiler! [ Click to expand ]



Your missing sserial port 1 entry in your loadrt.

Try something like this....
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=200xxx sserial_port_1=00000000"

I guess networking is ok if linuxcnc starts, but can you ping 10.10.10.10?

Why do you have stepgens all over. Do you not have a 7i77?

post the hal file that you can start linuxcnc with.

I've tried putting the extra sserial info in HAL, but it didn't do any difference. Should the it look exactly like that or are the numbers different for everyone? If so, how can I find out what to put there?

Not sure about those stepgens. How do I setup the second port on the 7i92 to communicate with the Leadshine MX4660 and send stepper signals etc properly? In pncconf there are limited options for firmwares.
What I've done now is to select the 7i84 as a sserial on port 1.

If I comment out all stepgen lines in HAL I can start LinuxCNC but with an error that can be closed:


When Axis start I galso get realtime error and a 7i92 error.


Under HAL configuration I see nothing about the 7i84, and also the red light CR6 is still on.


I can not ping the 7i92 on 10.10.10.10 while Axis is running. But it works fine when Axis is not running.

Current HAL:
Warning: Spoiler! [ Click to expand ]


First things first. You have a 7i77 which is a card for servo's not steppers. Do you have servos or steppers?

You have a lot going on there. Start with the config that linuxcnc starts. upload the hal and ini for that configuration.
Will start from a known good position.

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

Moderators: PCWjmelson
Time to create page: 0.363 seconds
Powered by Kunena Forum