IoDrvEtherNetIP (FB)

FUNCTION_BLOCK IoDrvEtherNetIP EXTENDS IoDrvBase IMPLEMENTS ICmpIoDrvParameter, IScanner, IoDrvEtherNetIPAdapter.IScannerExtension, CmpEventMgr.ICmpEventCallback

Driver FB: Don´t create this FB directly.

Following Vendor specific cip objects are implemented for the scanner:

  • Class 0x300 ConsumingAssemblyManager: read consuming I/O data (O–>T) from the connection of each remote adapter

    Attribute

    ID

    Datatype

    Instance 0

    Revision

    1

    UINT

    NumOfRemoteAdapter

    2

    UINT

    Instance X (Index of remote adapter in device tree starting by 1)

    List of Assemblies

    1

    Amount of Assemblies and Array of InstanceID (UDINT + N*UDINT)

    Data of Assembly

    N (Index of list)

    ARRAY of octet

  • Class 0x301 ProducingAssemblyManager: read producing I/O data (T–>O) from the connection of each remote adapter

    Attribute

    ID

    Datatype

    Instance 0

    Revision

    1

    UINT

    NumOfRemoteAdapter

    2

    UINT

    Instance X (Index of remote adapter in device tree starting by 1)

    List of Assemblies

    1

    Amount of Assemblies and Array of InstanceID (UDINT + N*UDINT)

    Data of Assembly

    N (Index of list)

    ARRAY of octet

InOut:

Scope

Name

Type

Initial

Comment

Input

xReset

BOOL

Rising edge to reset the scanner.

Output

eState

ScannerState

ScannerState.UPDATE_CONFIGURATION

State of the EtherNet/IP Scanner see ScannerState

eError

ERROR

Specifies the error, if scanner is in error state see ERROR

Properties:

MaximumExplicitMessageSize

State

Methods:

IOCycle

ServiceCycle

Structure: