Moving a robot while on a 7th axis

Hello community,

I’m in a bit of a pickle. We have a UR20 upside down on a 7th horizontal axis. The robot must big up and place an rather large object. It need to be in a controlled manner and straight up in the Z axis without moving in x y while the the 7th axis is moving. We can send position, velocity and acceleration to the 7th axis. What is the best/easiest way to program this with an UR robot?

Best regards,

Asger Printz Madsen
Software Engineer
Technicon a/s