PNSlave.SetCommunicationState (METH)ΒΆ

METHOD SetCommunicationState : DED.ERROR

Control the connection establishment.
eRequestedState := STOP / RESET:
Abort an existing profinet connection. Do not try to reconnect.
eRequestedState := START:
Try to connect to the profinet device.
Repeat connect in interval of some seconds in case of failure.
InOut:

Scope

Name

Type

Comment

Return

SetCommunicationState

DED.ERROR

Input

eRequestedState

DED.DEVICE_TRANSITION_STATE

State to which the device shall move.