EasyManuals Logo

Siemens SIMATIC S7 System Manual

Siemens SIMATIC S7
866 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #543 background imageLoading...
Page #543 background image
Libraries
9.4 Open user communication library
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
543
Network 23
: State "Disconnect Wait"...
Wait in this state for the disconnect operation to complete.
Network 24
: Call the DISCONNECT instruction with Req = FALSE to check the status of the
disconnect operation.
Network 25
: If Done is TRUE, this means that the disconnect is complete, so try to reconnect
on the next scan.
If Busy is TRUE (this would be normal), stay in the "Disconnect Wait" state.
If there is an error, check the reason, and you may need to change state based upon the
error code.
Network 26
: Exit Switch.
9.4.4.5
CheckErrors subroutine
The CheckErrors subroutine (Page 535) checks the Open User Communication error codes
and determines if the program requires a state change. You use the same CheckErrors
subroutine for both the Active partner (client) and Passive partner (server).

Table of Contents

Other manuals for Siemens SIMATIC S7

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7 and is the answer not in the manual?

Siemens SIMATIC S7 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7
CategoryController
LanguageEnglish

Related product manuals