Libraries
9.4 Open user communication library
S7-200 SMART
542 System Manual, V2.3, 07/2017, A5E03822230-AF
: If Done is TRUE, the send is complete so go to the "Receive" state.
If Busy is TRUE, stay in the "Transmit Wait" state.
If Error is TRUE, check the reason for the error and change the state if there is a connection
issue.
: 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 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.