Please clarify me about how PLC Input variables will be updated between PLC --> Zenon RT --> VSTA and for output VSTA --> Zenon RT --> PLC while macro is executing?

For example, i am triggering VSTA macro in RT using reaction matrix and it is started executing. I want to use particular input from PLC in that condition and it is triggered while macro is executing. Macro will take the updated value in that condition or it will carry the status of the variable while macro is called.

Whether input and output variable values will be updated dynamically in VSTA while macro is executing or it will update the values when macro execution is completed.