EIPStopDevice: Disables the Remote Adapter

Function Block Description

This function block disables the Remote Adapter and stops the connections of a device.

Graphical Representation

Inputs

This table describes the input variables:

Input

Data type

Comment

i_xExecute

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE. Another rising edge of the Execute input while the function block is executing is ignored.

  • FALSE: If the input Execute is set to FALSE during the execution of the function block, the output Done or Error is set to TRUE for one cycle.

  • TRUE: The output Done or Error is set to TRUE as long as the input Execute is set to TRUE.

Inputs / Outputs

This table describes the input / output variables:

Input / Output

Data type

Comment

iq_fbRemoteAdapter

EIPRA.FB_RemoteAdapter

Remote Adapter of the device to be stopped.

Outputs

This table describes the output variables:

Output

Data type

Comment

q_xDone

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution has not been started, or an error has been detected.

  • TRUE: Execution terminated without an error detected.

q_xBusy

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Function block is not being executed.

  • TRUE: Function block is being executed.

q_xError

BOOL

Value range: FALSE, TRUE.

Default value: FALSE.

  • FALSE: Execution of the function block is running, no error has been detected.

  • TRUE: An error has been detected in the execution of the function block.

q_uiErrorNumber

UINT

Value range: 0...65535

Default value: 0

Provides the error information if the output Error is TRUE. The error number is direct linked to the EtherNet/IP Scanner library.

Properties

This table describes the properties:

Property

Data type

Comment

timTimeout

TIME

Default value: 1000 ms

Set method: used to change the time value of the watchdog inside the function block.