FC_GetIoLinkMasterConnectionStatus

Overview

The function FC_GetIoLinkMasterConnectionStatus is used to retrieve the connection status of the IO-Link master. If the function returns the value TRUE, the connection between the controller and the IO-Link master specified at the function input is established and is running.

Interface

Input

Data type

Description

i_ifIoLinkMaster

SE_IoLinkBase.IF_IoLinkMaster

Interface of the IoLinkMaster.

NOTE: Provide the IoLink master instance of type FB_IoLinkMaster specified inside the Devices tree.

Output

Data type

Description

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.

q_sResultMsg

STRING [80]

Provides additional diagnostic and status information as a text message.

Return Value

Data type

Description

BOOL

If the function returns the value TRUE, the connection between the controller and the IO-Link master specified at the function input is established and is running.