DaveNewConnection: Unterschied zwischen den Versionen
Aus API-Wiki
Zeile 4: | Zeile 4: | ||
Vorbereitung einer Struktur zur Verbindung zum daveInterface. Die Link-Library libnodave dient zur Kommunikation mit speicherprogrammierbaren Steuerungen ([[SPS]]) vom Typ [[Simatic]] der Firma Siemens. | Vorbereitung einer Struktur zur Verbindung zum daveInterface. Die Link-Library libnodave dient zur Kommunikation mit speicherprogrammierbaren Steuerungen ([[SPS]]) vom Typ [[Simatic]] der Firma Siemens. | ||
− | < | + | <syntaxhighlight lang="vb"> |
' Setup a new connection structure using an initialized daveInterface and PLC's MPI address. | ' Setup a new connection structure using an initialized daveInterface and PLC's MPI address. | ||
Zeile 15: | Zeile 15: | ||
ByVal Slot As Long) As Long | ByVal Slot As Long) As Long | ||
− | </ | + | </syntaxhighlight> |
== Quelle == | == Quelle == |
Aktuelle Version vom 7. Oktober 2016, 21:22 Uhr
Diese Beschreibung ist noch unvollständig und soll Besucher des API-Wiki dazu anregen, selbst tätig zu werden, sie zu vervollständigen.
Vorbereitung einer Struktur zur Verbindung zum daveInterface. Die Link-Library libnodave dient zur Kommunikation mit speicherprogrammierbaren Steuerungen (SPS) vom Typ Simatic der Firma Siemens.
' Setup a new connection structure using an initialized daveInterface and PLC's MPI address.
' Note: The parameter di must have been obtained from daveNewinterface.
Private Declare Function daveNewConnection Lib "libnodave.dll" ( _
ByVal di As Long, _
ByVal mpi As Long, _
ByVal Rack As Long, _
ByVal Slot As Long) As Long
Inhaltsverzeichnis
Quelle
http://sourceforge.net/projects/libnodave
Autor der DLL
Thomas Hergenhahn
Lizenzbedingungen für Verwendung der DLL
GNU Library General Public License
Diskussion bei ActiveVB.de
http://foren.activevb.de/cgi-bin/foren/view.pl?forum=4&msg=359550&root=359550&page=1