MB2HAL error

More
23 Dec 2019 21:48 - 23 Dec 2019 21:51 #153140 by DC67
Replied by DC67 on topic MB2HAL error
I'm gettin ahead.At first i changed baud rate (thx to mike for that hint) then I got connected but gettin a checksum error.Trying out change decimal from 4097 described in the manual to 4098 I got the frequency displayed in modpull .Frequency changes are shown in Terminal if i turn pots on VFD. I have to add all the decimal numbers I need by 1 digit for whatever reason it works(linuxcnc start counting decimal 0 or 1?)Just wonder whats wrong here. I still get a loop error when I call mb2hal.ini in hal terminal.


log file from loop error

File Attachment:

File Name: log.txt
File Size:12 KB
Attachments:
Last edit: 23 Dec 2019 21:51 by DC67.

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

More
24 Dec 2019 15:26 #153159 by zajc3w
Replied by zajc3w on topic MB2HAL error
Looks like halrun/mb2hal is missing write rights to /dev/ttyUSB0
modpoll works because you're running it as sudo.
The following user(s) said Thank You: DC67

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

More
25 Dec 2019 11:28 #153191 by DC67
Replied by DC67 on topic MB2HAL error
I have testet without sudo and it still works . So i can exclude this error. Anyone another idea?

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

More
26 Dec 2019 15:20 #153243 by DC67
Replied by DC67 on topic MB2HAL error
Hello
Today I managed to get the vfd to connect without an error after calling Mb2hal.ini in a terminal. Now I can go to Custom.hal. Thanks to the help from everyone first. I will contact you as soon as I have progressed or have a question about it.
regards
Michael

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

More
29 Dec 2019 14:48 - 29 Dec 2019 15:06 #153437 by DC67
Replied by DC67 on topic MB2HAL error
Hello
I now had support from my son (computer science student) and we were now able to set up the VFD and control it with gmoccapy. the whole thing looks like this now.

File Attachment:

File Name: custom_pos...2-29.hal
File Size:1 KB

File Attachment:

File Name: mb2hal_2019-12-29.ini
File Size:6 KB

File Attachment:

File Name: machine_20...2-29.ini
File Size:5 KB

File Attachment:

File Name: vfd.hal
File Size:7 KB

The VFD works without problems and Gmoccapy also shows the changes via speed and LED.
I am grateful for any information about making adjustments.
Attachments:
Last edit: 29 Dec 2019 15:06 by DC67.

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

Time to create page: 0.167 seconds
Powered by Kunena Forum