EasyManua.ls Logo

Siemens SIMATIC S7 - Active Partner (Client)

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
Loading...
Libraries
9.4 Open user communication library
S7-200 SMART
526 System Manual, V2.3, 07/2017, A5E03822230-AF
9.4.4.1
Active partner (client)
This program implements a simple state machine to manage the creating of a connection,
cyclically sending/receiving a message, and handling errors.
The flow of this state machine is to connect, then repeatedly send and receive a message. If
the connection is dropped, the state machine tries to reconnect.
Refer to the "Active partner symbol table" (Page 536) to see the symbol table for this
program.
Network 1
: On the first scan....
Initialize the State variable to initiate a connection. Clear the good and bad receive counts,
and initialize some data to send.
Network 2
: Process the state machine...
Determine the current state of the state machine and jump to the label for the state handler.
If the state is ever illegal, the CPU goes to the STOP mode.

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals