Easyc Motor Sync

Hey all, I posted once about this and didnt get much back. Im trying to sync our motors on the slide of our scissor. I have 2 393’s on each side, one with a motor encoder to get position. Now, for the code. I started with code mid january and am completely teaching myself. Im doing the motor sync in a user function. I tried using PID’s but nothing is working right.