MySQL_Close

MySQL_Close (FB)

FUNCTION_BLOCK MySQL_Close

Short description:

This function block terminates the MySQL connection.

Detailed description: The close operation starts on a rising edge of "xStart". The variable "xStart" is reset at the end of the operation. If an error occurs during the close operation, an ERROR code and the current execution state are displayed, which helps identify the problem.

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

Last updated