MySQL_Close
MySQL_Close (FB)
MySQL_Close (FB)FUNCTION_BLOCK MySQL_Close
Kurze Beschreibung:
Dieser Funktionsbaustein beendet die MySQL-Verbindung.
Detaillierte Beschreibung: Der Schließvorgang startet mit einer steigenden Flanke von „xStart“. Die Variable „xStart“ wird am Ende des Vorgangs zurückgesetzt. Tritt während des Schließvorgangs ein Fehler auf, wird ein FEHLER-Code sowie der aktuelle Ausführungszustand angezeigt, was bei der Identifizierung des Problems hilft.
InOut:
Scope
Name
Type
Comment
Inout
xStart
BOOL
Start execution on a rising edge
Inout
MySQL_Connection
MySQL_ConnectionString
MySQL connection string which holds the server and login information
Output
eError
ERROR
Error type
Output
sExeute_State
STRING(200)
Current execute state
Zuletzt aktualisiert

