As of right now there is no direct interface to do this. You can only connect Boolean IOs to the robot as far as I know. But you are able to configure signal variables on KRL side by grouping such Boolean inputs. I think this approach could also work for OPC UA variables.
Check out this post, which shows a very basic example on how to define such signals (Send_Value_Robot_To_Robot.vcmx)