Controlling Modem Communication from Client
How can I control several remote modem connections to a single local modem?
Option 1
If all devices are the same type and the same tags are being read from each one, configure one channel and one device. Create a tag for each phone number in the server. When desired, write to the phone number tag to dial the number. (You may have to change the device address if each device has a unique value.) Once data is received, wait for a predetermined period before hanging up. You can then write these values to alias tags that are unique for each device to ensure data can be segregated as needed. If your devices do not have a unique address or ID, store a unique value in a memory location to monitor the connection with the device. Wait up to 20 seconds after the hang-up before re-dial. (The modems will say the line is clear in many cases before the line will allow a re-dial which can cause problems. The time is often much less then 20 seconds, but you will have to test to find out what the right amount is for your system.)
Option 2
If different tags are being read from each device, disable the devices you are not currently dialing out to by writing to the System_Enabled tag at the device level.