"Now check your direction of moment,
X -ve should move head left, X+ve should move head right
Y -ve should move bed back, Y +ve should move bed forward
Z -ve should move head down, Z +ve should move head up"
X -ve should move head left, X+ve should move head right
Y -ve should move bed back, Y +ve should move bed forward
Z -ve should move head down, Z +ve should move head up"