Siemens SIMATIC Ident Installation Manual page 16

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
Parameter
com_handle
com_event
user_id
msg
Return value
X
Notes
● If an asynchronous send or receive call is completed and if the corresponding event is
● "user_id" and "msg" are used only for the events specified in this call. By calling the
ComDisableEvent
comInt
This function disables events (for checking the asynchronous transfer).
Parameter
com_handle
com_event
Return value
X
16
interface handle from
Event to be enabled
possible functions: COM_READ_EVENT, COM_WRITE_EVENT (both
ORed)
ID to be assigned by the user
Message number to be assigned by the user
Screen with the current events prior to the call
activated using this routine, a Windows message is sent to the window with the handle
from
with the message ID "msg". The data of this message can be queried with
ComOpen
the help of "COMGetNotify". The "user_id" is sent with every message for simpler
message identification.
"COMEnableEvent" function several times it is therefore possible to combine various
message types for reading and writing.
ComDisableEvent
interface handle from
Event to be disabled
possible functions: COM_READ_EVENT, COM_WRITE_EVENT (both
ORed)
Screen with the current events prior to the call
ComOpen
(int com_handle,
int com_event)
ComOpen
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