SLB gSender 1.4.9 grblHAL wont run Spindle and Error 1

My LM Mk2 48x30 (using gSender 1.4.9/grblHAL) via SLB is not running the spindle even though the CW (M3) and Stop (M5) are able to be activated. Also getting Error 1 Expected command letter G-code words consist of a letter and a value. Letter was not found.

I’m able to generate gcode from Aspire and run projects in gSender via SLB (manually controlling spindle on/off).

Longmill MK2 48x30 with the SLB running gSender 1.4.9 (Firmware SLB_B5.0.5).
Using Aspire 12.0.10 (Sep 9, 2024). Machine identified in Aspire is “Benchtop 48x30” Longmill; using grbl (inch) and grbl (mm) post processors.
VFD and Spindle: Huanyang HY02D223D Single and three-phase 220V 50Hz, 2.2 kW Power; 10 Amp Output; 2.2 kW Motor – Spindle is G-Penny BST2.2C 80mm 24000 RPM 220V 2.2 kW

Wiring between SLB and VFD: RS485 to RS+/- on VFD

Key settings in gSender: SLB_SPINDLE, enabled as spindle 0; Huanyang v1, enabled as spindle 1, SDV; Note: also tried H-100 as the default spindle with the MODBUS address as 2

|$9|PWM Spindle Enable ON; RPM controls spindle enable signal: OFF
|$13|Report in inches|Enabled|
|$14|Invert control pins Reset OFF, Feed hold ON, Cycle start ON, Safety Door ON, E-Stop OFF
|$16|Invert spindle signals Spindle Enable ON, Spindle Dir OFF, PWM ON
|$30|Maximum spindle speed|24000|
|$31|Minimum spindle speed|7200 (120 Hz)|
|$32|Mode of operation|Normal|
|$300|Hostname|grblHAL|
|$301|IP mode|Static YES, DHCP NO, AutoIP NO|
|$302|IP address|192.168.5.1|
|$303|Gateway|192.168.5.1|
|$304|Netmask|255.255.255.0|
|$305|Telnet port|23|
|$307|Websocket port|80|
|$308|FTP port|21|
|$370|Invert I/O Port inputs|All OFF|
|$372|Invert I/O Port outputs|All OFF|
|$374|Modbus baud rate|19200|
|$375|Modbus RX timeout|50|
|$376|Rotational axes|A-Axis: ON (1)|
|$384|Disable G92 persistence|Disabled (0)|
|$392|Spindle on delay|4|
|$395|Default spindle|SLB_SPINDLE|
|$456|Aux output 0 trigger|Spindle/laser enable (M3/M4)|
|$457|Aux output 1 trigger|Flood enable (M8)|
|$458|Aux output 2 trigger|Spindle/laser enable (M3/M4)|
|$462|Run/stop register|8192|
|$463|Frequency set register|8193|
|$464|Frequency get register|8451|
|$465|Run CW command|18|
|$466|Run CCW command|34|
|$467|Stop command|1|
|$468|RPM input multiplier|50|
|$469|RPM input divider|60|
|$470|RPM output multiplier|60|
|$471|RPM output divider|100|
|$477|Spindle 1 Modbus address|2|
|$478|Spindle 2 Modbus address|3|
|$511|Spindle 1|Huanyang V1|
|$512|Spindle 2|Disabled|
|$513|Spindle 3|MODVFD|

VFD Settings:
PD 000 0 / 1 (Unlock/Lock)
PD 001 0 / 1 / 2
PD 002 0 / 1 / 2
PD 005 400
PD 004 400
PD 003 400
PD 006 3.0
PD 007 0.5
PD 072 400
PD 073 0 or 120
PD 144 3000
PD 10 8
PD 11 120 (7200 RPM) have also set as 150 (9000 RPM)
PD 141 220
PD 142 10
PD 143 4
PD 70 0 (0-10v) or 1 (0-5v)
PD 44 1 (Run) or 2 (Fwd Rotation)
PD 45 0 (Invalid) (Factory setting is 03 for Rev rotation)
PD 14 5 (Accel time in sec)|
PD 15 5 (Decel time in sec)|
PD 41 8 (Carrier frequency)|
PD 164 2 (19200 b/s)
PD 165 have tried both 3 (8N1 for RTU) and 4 (8E1 for RTU)
PD 23 0

Here’s a sample head and foot gcode being generated from Aspire:

(VECTRIC POST REVISION)
(D6636633856CDF96EB5CCA1E1D47044A)
T1
G17
G20
G90
G0Z0.8000
G0X0.0000Y0.0000
S12000M3
G0X49.4600Y0.3429
~
G1X49.5500
G0Z0.2000
M5
G0Z0.8000
G0X0.0000Y0.0000
M2

This is a lot of great info, thanks for providing it @DLGai. Could you do another quick thing for me? Go to run the file like you’re trying to do, make sure the Error 1 pops up again, then cancel the job. Once you’ve done that go to Calibrate → Diagnostic PDF → and once you’ve generated it then post it in this thread. Once I have a look at that I’ll be able to say more confidently what issue you might be running into.

All the best, Chris

@DLGai would you have that info yet?

Hi Chris. Apologies for not updating things. I wasn’t able to isolate and replicate the error nor determine where the break in Comms was occurring. I ended up biting the bullet and got a VFD from PWNCNC. The Vortex upgrade to the closed stepper arrived a few days ago, just in time to coincide with the latest grblHAL version. All seems to be running great at this point.

Next week I will be running some test projects on the Vortex. I loaded the A axis post processor in Aspire and currently made the Vortex settings in grblHAL. Did some basic test moves to verify. I’ll peruse the forum but do you recommend using HAL or Edge for the closed stepper Vortex (with the SLB, LM MK2 48x30, VFD, spindle)?

Totally separate issue, was Windows 10 to Windows 11 forced updates wouldn’t fully install on the dedicated computer. My wife’s not happy I’m having to use my design computer in the shop. Timing sucks with lead time of your gControl so I’m looking at a refurbished Panasonic Toughbook for the dedicated.

R/ Dave