Advanced Modbus Driver , Modbus Slave RTU

The trigger tag will need a tag event script or a gateway tag change event script. Most tag configuration needs to be scripted, not bound.

I created a UDT and want to use the DrawBridge_Enable tag as a trigger.
When it's enabled or disabled, I want to enable or disable other tags that are transfer via the Modbus slave.
Could you show me an example of an event script for this?