L_IF1P_ConnectedDeviceData (Struct)

Information structure for the use of the L_IF1P_GetConnectDevices FB.

Name

Data type

Info/adjustment options

FunctionModuleHandler

ModuleHandler of the connected function (axis or encoder)

DeviceModuleHandler

Module handler of the connected device

sFunctionName

STRING

Name of the function

uiSubDevice

UINT

SubDevice of the device to be connected

Default: uiSubdevice = 0

Is required for devices that provide several submodules, e.g. i700 double axis:

Axis A: uiSubdevice = 1

Axis B: uiSubdevice = 2

sDeviceName

STRING

Name of the device

eConnectionState

L_IF1P_ConnectionState

 

 

 

 

 

0

Unknown

1

NotConnected

2

Connecting

3

Disconnecting

4

Connected

10

Error

eErrorId

L_IE1P_Error

Error when establishing or terminating the connection.