User manual

IEC61131 User and Reference Manual
April 22, 2008
311
Initialize modem status codes
Error
Code
Description
0
No Error
1
Bad configuration error occurs when an incorrect initialization string is
sent to the modem. This usually means the modem does not
understand a specific command in the initialization string.
2
The controller serial port is not set to RS232 Modem.
3
Initialization error occurs when the modem does not respond to the
initialization string and may be turned off.
6
Call aborted by the program. This will occur if the enable input goes
OFF before a modem connection occurs.
9
“Serial port is not available” error occurs when the function block
attempts to use the serial port when another communication function
block, C program or an incoming call has control of the port.