First off, take a breath and order a cup of coffee. Start simple, what is the error message??? It’s “Feed rate has not yet been set or is undefined.” CNC machines need to know how fast to move, that’s the feed rate. If you tell it to move, but don’t tell how fast you gag the software, I.E. get that error message. Find a simple grbl command to send it via the console, such as $J=G21G91X0Y-5F600 This works find on my little cnc and moves the y direction by 5mm, if set in the mm mode. The negative sign might be required depending on your home quadrant. Mine homes to the rear left, the only direction available is negative direction.
Another indicator is that it fails “On or near line 4:”, so you should post at least the first five lines of the actual gcode for the support people to look at. Also double check your grbl configuration, especially any of the configuration that is a ‘maximum’ such as “$110 = 1000.000” (X-axis maximum rate, mm/min)." These are like speed limits, if one is set to zero it may be a problem. I would look “On or near line 4” before doing anything… and see what you’re telling it to do that chokes it. It’ll have to be a gcode move without a feedrate.
Maybe this will help in debugging: I sent >> $J=G21G91X0Y-5F600, which works, then the output when I remove the ‘F600’
> >> $J=G21G91X0Y-5F600
> >>> $J=G21G91X0Y5
> [Error] An error was detected while sending '$J=G21G91X0Y5': (error:22) Feed rate has not yet been set or is undefined. Streaming has been paused.
> [Error] Error while processing response <An error was detected while sending '$J=G21G91X0Y5': (error:22) Feed rate has not yet been set or is undefined. Streaming has been paused.>
> >>> $G
> [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
The $G is for the parser output, or what the machine needs to do for that command. Notice that the last two being the feed rate and spindle speed, I believe… Feed rate is 0. This relates to parsed output of the jog command ($J=G21G91X0Y5) that failed because the feed rate is zero. These are all techniques of debugging. After all it’s only a machine…
Above all relax and have fun, you’ll solve it! and