Hi, Maxmyo
Some printer cards, cables and cnc boards don't support/use all the same Gnd pins 18 through 25, Thy just use a couple of them.
Check that you have a good Gnd from the computer and your cnc board, I've seen this a couple of times
Hope this Helps, Chip