Configuration 7i92 and 7i77 - get error

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Feb 2021 10:13 #197401 by tommylight
Replied by tommylight on topic Configuration 7i92 and 7i77 - get error
Yes.
The following user(s) said Thank You: aleksamc

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

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 Feb 2021 14:51 #197432 by aleksamc
Replied by aleksamc on topic Configuration 7i92 and 7i77 - get error

I've check ping to mesa board and I got
rtt min/avg/max/mdev = 0.187/0.287/1.354/0.129 ms
for 100 packets


After adding idle=pool I get:
rtt min/avg/max/mdev = 0.181/0.290/0.594/0.064 ms
It takes 624 packets.

So, results are much better.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Feb 2021 16:15 #197447 by tommylight
Replied by tommylight on topic Configuration 7i92 and 7i77 - get error
This might improve things more, if it is not already set:
forum.linuxcnc.org/27-driver-boards/3868...orking-issues#161740

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

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Feb 2021 10:12 #197535 by aleksamc
Replied by aleksamc on topic Configuration 7i92 and 7i77 - get error
It's very strange but analogena=FALSE but Serovs are still in RUN condition,
Only manual disconect of the connector stops servos.
It seems that all 3 axis EN+ are shortcuicuited.
My hal example is here

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

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Feb 2021 14:49 - 03 Feb 2021 15:15 #197552 by aleksamc
Replied by aleksamc on topic Configuration 7i92 and 7i77 - get error
I have also problem with connecting MPG to 7i77.
I used example
I connected MPG to encoder.03.count and I have change of this imput.
joint.0.jog-scale is not zero
joint.0.jog-enable is TRUE
axis.0.jog-counts is changing sucsesfully

But axis i not moving.
I use PyQtvcp interface.
What problem could be in?
Last edit: 03 Feb 2021 15:15 by aleksamc.

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

More
03 Feb 2021 15:16 #197555 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error

It's very strange but analogena=FALSE but Serovs are still in RUN condition,
Only manual disconect of the connector stops servos.
It seems that all 3 axis EN+ are shortcuicuited.
My hal example is here


One possibility: The 7I77 analog enable outputs will appear to be shorted if connected backwards.

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

More
03 Feb 2021 15:26 - 03 Feb 2021 15:35 #197556 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error

I have also problem with connecting MPG to 7i77.
I used example
I connected MPG to encoder.03.count and I have change of this imput.
joint.0.jog-scale is not zero
joint.0.jog-enable is TRUE
axis.0.jog-counts is changing sucsesfully

But axis i not moving.
I use PyQtvcp interface.
What problem could be in?



That would be expected if the system was not homed, you would have change
the joint.0.jog-counts before homing and axis.0.jog-counts after homing.
(jogging before homing is a bit dangerous since no soft limits have been established)
Last edit: 03 Feb 2021 15:35 by PCW.
The following user(s) said Thank You: aleksamc

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

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Feb 2021 16:07 #197561 by aleksamc
Replied by aleksamc on topic Configuration 7i92 and 7i77 - get error
Thanks PCW, you've solved both my problems.
Before your answer I made thought about difference between jog and axis. But I work now in so noizy conditions, that I tried axis.a instead axis.x)))

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

  • aleksamc
  • aleksamc's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
04 Feb 2021 05:12 - 04 Feb 2021 05:14 #197619 by aleksamc
Replied by aleksamc on topic Configuration 7i92 and 7i77 - get error
I'm alsmost everything configured in hal.
But yesterday I gor comunication error 2 times.
Second time was at the end of the day when machine was stopped (not moved but turned off).
I have
setp "hm2_7i92.0.watchdog.timeout_ns 2000000"
Errors are
"smart Serial Card ... Local Error ... Timeout"
I must say that I use very short Ethernet cable, less then 0,5m.
Also this cable is shielded to machine GND that is Neutral.
Possibly, it's better to shield to 0V of DC current?
But I don't think that problem could be in this. 4 years ago I used 7i92m board to make comunication with PC on 25m length of Cable and there is no Problem with communication. But there watchdog is set to 5 000 000.

Attachments:
Last edit: 04 Feb 2021 05:14 by aleksamc.

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

More
04 Feb 2021 06:38 #197620 by PCW
Replied by PCW on topic Configuration 7i92 and 7i77 - get error
That looks like more of a real time issue than a sserial issue
What was the first error?

Starting LinuxCNC from the command line would probably help
when debugging since all the errors will be logged there and can be copy-pasted
here

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

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