L_IF1P_ConnectDeviceData (Struct)

Command structure for using the L_IF1P_DeviceConnectionHandler FB.

The elements sFunctionName, sDeviceName, eConnectionState and eErrorId of the structure L_IF1P_ConnectDeviceData are enriched with information at the time the command is executed.

Name

Data type

Info/adjustment options

FunctionModuleHandler

L_IMHP_IModuleHandler

ModuleHandler of the connected function (axis or encoder).

DeviceModuleHandler

L_IMHP_IModuleHandler

ModuleHandler of the connected device

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

eDisconnectMode

L_IF1P_DisconnectMode

 

1

Disable

2

Virtual

sFunctionName

STRING

Name of the function

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.