eipRestartCnx

PLCopen motion icon Pipe Network motion icon This function/function block was added in KAS v4.03.

 Function - The EIP I/O connection is restarted when this function is called.

Example: ForwardClose and ForwardOpen requests are sent to the specified EIP adapter IP address. RJ45


  • This function should be only called under certain conditions (e.g., IF statements, etc.).
    It should not be called every cycle.

Inputs

Input

Data Type

Range

Unit

Default

Description

IP

STRING

No range

N/A

No default

IP address of the Ethernet I/P adapter device.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

FALSE, TRUE

N/A

Result of the function call.

If FALSE, the specified IP address in the Input is incorrect.

Figure 1: eipRestartCnx

Remarks

None

FBD Language Example

Not available.

FFLD Language Example

IL Language Example

Not available.

ST Language Example

IF bRestartEipCnx THEN
    bOK := EipRestartCnx( '10.50.66.109');
    bRestartEipCnx := FALSE;
END_IF;