Sure! That is definitely doable. In fact you can make it such that after the first scan that set the baud rate, everytime you flip your baud rate control switch the PLC baud rate can be changed. What you need to do is to make the switch control a [DIFD] relay for the "ON to OFF" detection and then run a custom function to switch the baud rate.