Saia-Burgess
Controls Ltd.
Manual Modem PCDxx7 Serie│Doc. 26/793; Ed. E2│30.04.2005
Appendix
9
9-2
Appendix 2, Error Codes
9.2
Appendix 2, Error Codes
9.2.1 Error returned by the Modem Driver function
Error during initialization
Error number Description
-101
Not valid COM port number
-102
Not enough S7 memory to create the Buffer, but will be possible if you Com-
press the S7 memory.
-103
Not enough S7 memory to create the Buffer, even if you compress the Com-
press the S7 memory.
-105
Not valid interface parameters (BaudRate, DataBit, StopBit or Parity)
-108
Not valid value in ZVZ or QVZ Parameter
-111
Not valid value in SENDBuffer or RCVBuffer Parameter
-112
The total memory of the RCVBuffer and the SENDBuffer is bigger than the
64k Bytes allowed
-113
The SFC was called with the sum of the parameter RCVBuffer and the
SENDBuffer different from the first call of the SFC.
Error in Receiving
Error number Description
-396
Length too long compare to the buffer size
-401
Invalid com port
-402
COM port not initialized
-403
Invalid DB number
-404
DB not loaded
Error in Sending
Error number Description
-304
DB is not loaded
-305
Invalid length
-303
Invalid DB number
-289
Can’t execute function, because already being executed
Error during Init modem or Reset modem
Error number Description
-270
Modem didn’t answer during the preset time
-275
Modem returned an answer which could not be identified
-303
Invalid DB number
-289
Can’t execute function, because already being executed
In all this case, the ERROR bit will be set and the error code will be returned through
the RET_VAL parameter. The driver will not be initialized correctly and can’t be oper-
ated. Parameters have to be corrected and a restart of the driver will be necessary.
To restart the driver the flag START_FLAG has to be reset.