eipAdapter

PLCopen motion icon

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - Provides information about the current state of the Scanner connection.

Inputs

Input

Data Type

Range

Unit

Default

Description

N/A

N/A

N/A

N/A

N/A

This functionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. block has no Inputs.

It automatically refers to the adapter in the project.

Outputs

Output

Data Type

Range

Unit

Description

Run

BOOL

FALSE, TRUE

N/A

TRUE, if the EIP stack is running.

IOcnx

BOOL

FALSE, TRUE

N/A

TRUE, if an I/O connection is established with the Scanner.

Remarks

Example

Inst_eipAdapter();   // read the EtherNetClosed Ethernet is a large, diverse family of frame-based computer networking technologies that operate at many speeds for local area networks (LANs)./IP adapter status

EIP_running := Inst_eipAdapter.Run; // is it running?
EIP_connected := Inst_eipAdapter.IOCnx; // and connected?

See Also