-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H100 VFD #22
Comments
MODVFD could not be used? |
I tried but I can't make it work. If it works with FluidNC it must also work with grblhal the Vfd H100 is the same. |
I think that the problem is the 512 address |
The commands that the grblhal driver sends to the Vfd are the same as those sent by fluidnc, except that it writes the speed to be reached in address 512 instead of 513. |
Try this binary: |
Thanks for now, I'll let you know on monday, I'm out now. |
Perfect. Work perfect. >>> send M3 S7200 [18/09/2023 09:17:11] [18/09/2023 09:17:11] [18/09/2023 09:17:11] [18/09/2023 09:17:11] [18/09/2023 09:17:11] [18/09/2023 09:17:11] [18/09/2023 09:17:12] [18/09/2023 09:17:12] [18/09/2023 09:17:13] (The spindle run 7200 rpm) >>> send M3 S10000 [18/09/2023 09:17:19] [18/09/2023 09:17:19] [18/09/2023 09:17:19] [18/09/2023 09:17:19] [18/09/2023 09:17:19] [18/09/2023 09:17:20] [18/09/2023 09:17:20] (The spindle run 10000 rpm) >>> send M5 [18/09/2023 09:17:24] [18/09/2023 09:17:24] [18/09/2023 09:17:24] [18/09/2023 09:17:24] [18/09/2023 09:17:24] [18/09/2023 09:17:25] [18/09/2023 09:17:25] [18/09/2023 09:17:25] [18/09/2023 09:17:26] [18/09/2023 09:17:26] (The spindle is stopped) M3, M4 and M5 now work very fine. Thanks. |
The board is MKS Tinybee.
I have several problems with this driver:
I analyzed the data flow on Modbus by comparing a working configuration to verify what happens (I attach the files).
H100 whith FluidNC.txt
H100 whith grblHAL.txt
Whith grblHAL the commands M3, M4 and M5 are received correctly, but he speed S(xxxx) is written in the register with address 512 instead of 513, and I think it is the cause of the speed limitation and maybe also the other problems.
This log is when IOSENDER send M3 S10000 (firmware fluiNC):
[14/09/2023 15:36:49]
Modbus Response (COM11)
Address: 1
Function: 6 (0x06) - Write Single Register
Address: 513
Value: 1666
Checksum: 0x5a73 - OK
[14/09/2023 15:36:50]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 05 c2 06 82
Register0: 1474
Register1: 1666
Checksum: 0xd975 - OK
[14/09/2023 15:36:50]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 06 6f 06 82
Register0: 1647
Register1: 1666
Checksum: 0x48d0 - OK
[14/09/2023 15:36:50]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 06 82 06 82
Register0: 1666
Register1: 1666
Checksum: 0xd8e5 - OK
The spindle run at 10000 rpm correctly.
This log is when IOSENDER send M3 S10000 (firmware grblHAL):
(send M3 S10000)
[14/09/2023 17:21:16]
Modbus Response (COM11)
Address: 1
Function: 5 (0x05) - Write Single Coil
Address: 73
Value: 65280
Checksum: 0x5dec - OK
[14/09/2023 17:21:16]
Modbus Response (COM11)
Address: 1
Function: 6 (0x06) - Write Single Register
Address: 512 <<<<<<<<<<<<<<<<< (not is 513)
Value: 1670
Checksum: 0x0a70 - OK
[14/09/2023 17:21:16]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 00 73 00 32
Register0: 115
Register1: 50 <<<<<<<<<<<<<<<<<<< (always locked to 50)
Checksum: 0x8b8a - OK
[14/09/2023 17:21:17]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 02 af 00 32
Register0: 687
Register1: 50
Checksum: 0x4bc8 - OK
[14/09/2023 17:21:18]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 04 b0 00 32
Register0: 1200 <<<<<<<<<<<<<<<<<<< (instant speeds 1200=7200 rpm)
Register1: 50
Checksum: 0x7a86 - OK
[14/09/2023 17:21:22]
Modbus Response (COM11)
Address: 1
Function: 4 (0x04) - Read Input Registers
Byte Count: 4
Values: 04 b0 00 32
Register0: 1200
Register1: 50
Checksum: 0x7a86 - OK
Register1 (which should set the speed to reach) is blocked at 50. The splindle run to min speed 7200 rpm
I attach the manual of my VFD
new H100 manual V1.8.pdf
Is there anyone who uses this driver or has done any testing?
Thanks
The text was updated successfully, but these errors were encountered: