RemoteAdapter (FB)

 

FUNCTION_BLOCK RemoteAdapter EXTENDS LAT.Element IMPLE­MENTS CmpEventMgr.ICmpEventCallback, IRemoteAdapter2, ENIP.IEtherNetIPService3

Every device under the scanner is type of RemoteAdapter. Driver FB: Don´t create this FB directly.

InOut:

Scope

Name

Type

Comment

Input

xReset

BOOL

Rising Edge: Reset this RemoteAdapter instance. Note: Device will not be reset (may be done through the ENIP Services library)

xAcknowledge

BOOL

Rising Edge: Acknowledge diagnosis information --> xDiagnosticAvailable and sDiagString will be reset

Output

eState

AdapterState

State of the RemoteAdapter

xDiagnosticAvailable

BOOL

TRUE if diagnostics is available

sDiagString

STRING

Diagnosis string - also shown in status page of the device