Artificial intelligent assistant

Z motors work synchronously ToyRep I have a problem with Z direction. As you know it has two motors. And my problem is that one sometimes goes to the different direction (so basically one is screwing and another one unscrewing). It is like random, sometimes it is ok, sometimes this one goes to the different direction. Could you help me, please? Wiring is like in building tutorial. The tutorial is here < . I am using Marlin and Pronterface. Code I took here <

The problem was in the wiring of the motor. According to different sources it says to check wiring, everything seemed ok, but I've found one wire was damaged.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 7213206397a24e946384526bcfb83f30