L_IF1P_GetConnectDevices

This FB is used to determine which devices the parametrized functions are connected to. If there is a connection between a device and a function, the device information is returned.

The "FunctionModuleHandler" in the ConnectedDeviceData array must be parametrized.

The remaining values (DeviceModuleHandler, uiSubDevice, sDeviceName, eConnectionState, eErrorID) of the structure are returned by the FB after it has been executed.

 

 

 

L_IF1P_GetConnectDevices

 

 

 

BOOL

–

 

xExecute

xBusy

 

–

BOOL

L_IF1P_ConnectDeviceData

–

 

aScConnectedDeviceData

xDone

 

–

BOOL

 

 

 

 

xError

 

–

BOOL

 

 

 

 

eErrorId

 

–

L_IE1P_Error

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Info/adjustment options

xExecute

BOOL

FALSE->TRUE Start execution of the FB and read out connection information.

aScConnectedDeviceData

L_IF1P_ConnectDeviceData

Array of connection information.

Outputs

Name

Data type

Info/adjustment options

xBusy

BOOL

FB is executed.

xDone

BOOL

The data of the created function is output at the FB outputs.

xError

BOOL

An error has occurred.

eErrorId

L_IE1P_Error

If xError=TRUE: Error number of the error that has occurred.