I am using MQTT Paho, and I have 2 questions about it:
How many words can I send as a payload message? For example, can I send all lines below as one payload?
O1000 T1 M6 (Linear / Feed - Absolute) G0 G90 G40 G21 G17 G94 G80 G54 X-75 Y-75 S500 M3 (Position 6) G43 Z100 H1 Z5 G1 Z-20 F100 X-40 (Position 1) Y40 M8 (Position 2) X40 (Position 3) Y-40 (Position 4) X-75 (Position 5) Y-75 (Position 6) G0 Z100 M30
If any of these lines don't work, can I make it send message to the broker? These lines are G-Code of CNC machine. Usually, when any line isn't executed, the whole program will stop at that line. Is it the same with MQTT?