Active Partner (Client) - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Libraries
9.4 Open user communication library
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.
526
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents