Siemens Logo Modbus variables

Hi everybody

I'm using nodered with Siemens PLC. I declared the modbus variables in the S7 Endpoint node and I'm managing the variables using the related blocks.

My question is : Do you know how to use the declared variables inside some function blocks? For example I'd like to setup timebands and once reach the time overwrite the variable value.

Many thanks in advance