Why PLC cannot be reomte monitor by GSM modem as if the program in PLC inculdes sending SMS function?

The COM port would be occupied as long as there is sending SMS instruction in the program, so the COM port cannot be used to monitor anymore.