Close (FB)

FUNCTION_BLOCK Close EXTENDS CBM.ETrig

Close a serial com port opened via the FB COM.Open. The output handle hCom must be used here to close the COM port!

InOut:

Scope

Name

Type

Comment

Input

hCom

CAA.HANDLE

Handle to the open COM port. Ist returned by the COM.Open function block.

Output

eError

ERROR

Local library error ID (0: no error; 5001: time out)