Changing Slave Address Modbus RS485 RTU Timeout

Hi there,

I'm using IL_AXL_Master along with FC3 and FC6 to read and write to a Motor drive on Slave address 1.
Works well with no issues!

I have 2 motor drives, Slave address 1 and Slave address 2.
Changing my code to Slave address 2, then reads drive 2, Works well with no issues!

BUT - I would like the same routing to read and write to both drives.
In my code, I do the read and writes to slave address 1 (works well), and then change slave address to value 2, but after that I get modbus timeout error upon SendRequest.

I've tried a few things (activating and deactiving, etc), but not had any luck yet...

Is there a specific method to follow when changing the Slave address value before doing SendRequest? (does it need delays?)

Thanks

All sorted now, turns out it was a timing issue.