ModBus Error Message - "CNC Error"

Hey Lowkey,

are you sure you don’t mean “CRC Error” instead of “CNC Error”? There exists no such error in the source code. But if you have CRC Errors, this does mean that the data on your serial line get corrupted. I would strongly recommend to check your wire and its connections.

Note that single strand wire is for permanent, fixed installation only and not suitable for applications where movement is expected (for example, if the cable hangs freely and could be bumped, or if there is still trial and error with the positioning of the components of the installation, or if the machine is occasionally disassembled. Also, single strand wires should always be secured to the underlying surface with nail clamps). Better use twisted pair, shielded, stranded wire with cross-sectional area according to your VFD manual (e.g. 0.14–0.75 mm² / 28–14 AWG) with matching wire ferrules and correct wire ferrule crimp pliers (e.g. wire ferrule crimping pliers from Knipex or crimping die for insulated and non-insulated wire ferrules for the Crimp System Pliers for exchangeable crimping dies (version with case) (version without case) or the PreciForce® Crimping Pliers or the Crimping Pliers for two-hand operation). Note that wire ferrules for wires smaller than 0.25 mm² can only be crimped by Self-Adjusting Crimping Pliers for wire ferrules.

Also if your VFD offers an internal termination resistor (my VFD does) then it’s good to turn it on, because expectedly your VFD is the last device on the line.

Further Reading

CRC
Modbus RTU frame format

1 Like