Please enable JavaScript to view this site.

Function used to close the connection with the specified Modbus TCP server.

Syntax

i32 mbc_shutdown (i32 mbc)

mbc

Handle Modbus returned by the previous function mbc_init()

Result

Returns:

Value

Meaning

>= 0

ERROR if OK disconnect operation or one of the reference MBC_const codes

-1

Illegal arguments

-4

Client already disconnected from the server (MBC_CONN)

Validity

Task

System Requirements

From RTE 34.30.0

Note


 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC