Siemens SIMATIC Ident Installation Manual page 20

Simatic 3964r protocol for windows 9x/xp/7
Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

Programming interface
4.1 Functions of the serial interface
ComGetVersion
comInt
This function returns the version number of the DLL being used and an expanded version
string (if required).
Parameter
ver_string
Return value
X
Notes
● The current version returns the value "450" for version 4.50 and the following expanded
● The transferred buffer area should have a minimum size of 100 characters.
ComString
comInt
This function returns an error text for the transferred error value.
Parameter
errs
error
typ
20
(char *ver_string)
ComGetVersion
Buffer for the expanded version string
No expanded version information if "NULL".
Version number (version x.y → x × 100 + y)
version string "3964R / Lauf for Windows 95/NT/XP/7, version 4.50, November 2012".
(char *errs,
ComString
int error,
int typ)
Buffer for error text
Error number (result of a function of the user programming interface)
possible error message:
COM_STR_OPEN = ComOpen
COM_STR_RDWR = ComRead or ComWrite
COM_STR_STATE = ComReadState or ComWriteState
COM_STR_EVENT = ComEnableEvent or ComDisableEvent
COM_STR_CLOSE = ComClose
Installation Manual, 01/2013, J31069-D0131-U001-A2-7218
SIMATIC 3964R protocol for Windows 9x/XP/7

Advertisement

Table of Contents
loading

Table of Contents