@Chris Annin Finally the robot works. Goes to the specified coordinates. Only the J4 engine is overheating. From where?
You probably wired connections incorrect. You might have connected the cables cross. Check that J5 cables go to correct driver.