Technical data

Table Of Contents
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
iii
Contents
19
SFCs for Global Data Communication 19-3
19.1
Sending a GD Packet with SFC 60 "GD_SND".............................................. 19-3
19.2
Programmed Acceptance of a Received GD Packet
with SFC 61 "GD_RCV".................................................................................. 19-3
20
Overview over the S7 Communication and the S7 Basic Communication 20-3
20.1
Differences between the Blocks of the S7 Communication
and the S7 Basic Communication .................................................................. 20-3
20.2
Data Consistency............................................................................................ 20-3
20.3
Overview of the S7 Communication Blocks.................................................... 20-3
20.4
Overview of the Blocks for the S7 Basic Communication .............................. 20-3
21
S7 Communication 21-3
21.1
Common Parameters of the SFBs/FBs and SFCs/FCs
for S7 Communication .................................................................................... 21-3
21.2
Startup Routine of SFBs for Configured S7 Connections .............................. 21-3
21.3
How SFBs React to Problems ........................................................................ 21-3
21.4
Uncoordinated Sending of Data with SFB 8/FB 8 "USEND".......................... 21-3
21.5
Uncoordinated Receiving of Data with SFB/FB 9 "URCV"............................. 21-3
21.6
Sending Segmented Data with SFB/FB 12 "BSEND" .................................... 21-3
21.7
Receiving Segmented Data with SFB/FB 13 "BRCV".................................... 21-3
21.8
Writing Data to a Remote CPU with SFB/FB 15 "PUT".................................. 21-3
21.9
Read Data from a Remote CPU with SFB/FB 14 "GET"................................ 21-3
21.10
Sending Data to a Printer with SFB 16 "PRINT" ............................................ 21-3
21.11
Initiating a Warm or Cold Restart on a Remote Device
with SFB 19 "START"..................................................................................... 21-3
21.12
Changing a Remote Device to the STOP State with SFB 20 "STOP" ........... 21-3
21.13
Initiating a Hot Restart on a Remote Device with SFB 21 "RESUME"........... 21-3
21.14
Querying the Status of a Remote Partner with SFB 22 "STATUS"................ 21-3
21.15
Receiving the Status Change of a Remote Device
with SFB 23 "USTATUS"................................................................................ 21-3
21.16
Querying the Status of the Connection Belonging to an SFB Instance
with SFC 62 "CONTROL"............................................................................... 21-3
21.17
Querying the Connection Status with FC 62 "C_CNTRL".............................. 21-3
21.18
Work Memory Requirements of the S7 Communication SFBs/FBs............... 21-3
22
Communication SFCs for Non-Configured S7 Connections 22-3
22.1
Common Parameters of the Communication SFCs ....................................... 22-3
22.2
Error Information of the Communication SFCs for Non-Configured
S7 Connections ..............................................................................................22-3
22.3
Sending Data to a Communication Partner outside the Local S7 Station
with SFC 65 "X_SEND" .................................................................................. 22-3
22.4
Receiving Data from a Communication Partner outside the
Local S7 Station with SFC 66 "X_RCV" ......................................................... 22-3
22.5
Writing Data to a Communication Partner outside the Local S7 Station
with SFC 68 "X_PUT"..................................................................................... 22-3
22.6
Reading Data from a Communication Partner outside the Local S7 Station
with SFC 67 "X_GET"..................................................................................... 22-3