PLC-based control of a robot manipulator with closed kinematic chain