How to transfer an URScript variable to my URCap?

Hello,

how can I transfer a variable from URScript to my URCap installation node? I already used the scriptCommunicator, but as soon as I have several variables the program performance suffers.

Thanks