Libraries
9.4 Open user communication library
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
533
: Go to the "Idle" state in all situations.
: State "Disconnect"...
Initiate a disconnect.
: Initiate the disconnect with the ConnID by calling the DISCONNECT instruction
with Req = TRUE.
: If Done is TRUE, this means that the disconnect is complete (probably will
never happen), so go try to reconnect.
If Busy is TRUE (this would be normal), go to the "Disconnect Wait" state.
If Error is TRUE, check the reason, and you may need to change state if there is a
connection issue.
: State "Disconnect Wait"...
Wait in this state for the disconnect operation to complete.