ICmpIoDrvBusControl2.DeactivateBus (METH)ΒΆ

METHOD DeactivateBus : UDINT

This method deactivates a fieldbus. The new state is not saved permanently. After a restart of the application, the fieldbus is in the state, which is defined in the project. ATTENTION: Some drivers may reset the whole iec application. Please check the documentation for the driver.

InOut:

Scope

Name

Type

Comment

Return

DeactivateBus

UDINT

Input

xEnable

BOOL

If TRUE the bus reset starts immediately, if FALSE the bus reset must be done manually