Programming interface
4.2 Error and status messages
SIMATIC 3964R protocol for Windows 9x/XP/7
Installation Manual, 01/2013, J31069-D0131-U001-A2-7218
25
System error messages
Used by:
•
ComOpen
•
ComRead
•
ComWrite
•
ComGetNotify
•
ComClose
Messages of this class show that function calls have failed and usually mean a serious error
in the system and/or in the configuration settings.
This protocol implementation uses only a subset of the error messages listed in the header
file. All the relevant error messages are listed below:
System error messages
COM_HANDLE_FALSE
Transferred handle is invalid
COM_ALREADE_OPEN
Interface is already open
COM_DDFINI_ERROR
Interface initialization error
COM_NO_MEMORY
Not enough memory available
COM_2SMALL
Buffer overflow
COM_READ_ERROR
Bad receive job
COM_WRITE_ERROR
Bad send job
COM_UNKNOWN_EVENT Message parameter invalid
COM_NOT_OPEN
Interface is not open
COM_NO_HANDLE
No further port can be opened
COM_REGISTRY
Error accessing the Windows registry
COM_NO_CONFIG
The addressed port is not configured