RobotStudio event

Offset Robtarget from HMI

Hello all,

I'm very new to ABB robots

I'd like to have the ability to make and offset in the XYZ of a robtarget from an HMI. Has anyone does this? and if so do you mind showing what your rapid / PLC code looks like.

Thank you so much!