Modbus TCP issue with pokeys57E

More
6 years 5 days ago #187443 by Varang1an
Hi
I have been trying to set up modbus TCP with pokeys57E on linuxcnc 2.8 RT on debian stretch. For some reason I get error which has caused me to pull out my hair:silly: I took an error report from the whole modbus listing in case if someone knows what could be going on. The file happens to be 1.7mb so it won't fit here as attachment so I had to compress it.

I also attached my modbus.ini file so if anyone kind enough can take a look and hint me what I have set wrong or if pokey57e has some issue with modbus let me know.

Thank you in advance

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

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 4 days ago #187486 by BeagleBrainz
Replied by BeagleBrainz on topic Modbus TCP issue with pokeys57E
Code:
Debug file information: Note: Using POSIX realtime ./nyx.hal:125: Pin 'modbus.xplus' does not exist 4823 Stopping realtime threads Unloading hal components Note: Using POSIX realtime
is your error which is in your nyx.hal file @ or around line 125. After you clear this error you may have others pop up, so it's just a case of either closely reviewing your hal files or fixing one error at a time.

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

More
6 years 4 days ago #187511 by rootboy
You've got:

[modbus.xplus.num_errors]
[modbus.xplus.00]

created already.

Your error is:

"./nyx.hal:125: Pin 'modbus.xplus' does not exist"

Do you want to (or can you?) create a pin that is the root of existing ones?

Otherwise, I'm very familiar with this particular error message. Not all that proficient in fixing them yet however...

Can you post your nyx.hal file?

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

More
6 years 4 days ago #187519 by Varang1an
Ok got forward on this, I had to change "modbus.xplus" to "modbus.xplus.00" and it seems to not complain anymore modbus pins, now however it complains the pin which it is attached in hal "halui.jog.0.plus"

"net jog_x_plus <= modbus.xplus.00 => halui.jog.0.plus

dunno why it can't find the halui pin as I have also halui set in ini file

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

More
6 years 4 days ago #187521 by Aciera
Can you post your INI and HAL files?

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

More
6 years 4 days ago #187522 by Varang1an
Sorry, I found reason for this... I used hal documentation 2.8 : linuxcnc.org/docs/2.8/html/config/core-components.html

and when I tried instead commands from devel:
linuxcnc.org/docs/devel/html/man/man1/halui.1.html

it works. Dunno how it is possible as I have 2.8. It seems the documentation is not that great on linuxcnc at some parts. I used now "halui.axis.x.plus" and it was accepted

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

Time to create page: 0.106 seconds
Powered by Kunena Forum