Programming FCs (Functions) and FBs for S7 Ethernet CPs
5.1General Notes on FCs / FBs
Block Library
The functions (FCs) and function blocks (FBs) described here are supplied with the STEP 7 basic package unless indicated otherwise.
The following list shows the numbers of the FCs as they are supplied with the configuration tool. You can change these numbers. You will also find the following information on the block library in the SIMATIC Manager:
SSIMATIC_NET_CP
These blocks are available when you install the NCM S7 for Industrial Ethernet option (default setting in STEP 7 Setup). Please note that you must use different FCs for the
Communicatio |
| Block Type | SIMATIC Manager Library | Described in | |||
n Service |
|
|
|
|
|
|
|
|
|
| SIMATIC_NET_CP |
| |||
|
|
|
|
| |||
|
|
|
| CP 300 |
| CP 400 |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
SEND/RECEIVE | FC5 |
| AG_SEND | x |
| x | Chapter 5.3 |
|
|
|
|
|
|
| |
FC6 |
| AG_RECV | x |
| x |
| |
communication) |
|
|
|
|
|
|
|
FC7 |
| AG_LOCK | x |
| x |
| |
|
|
|
| ||||
|
|
|
|
|
|
|
|
| FC8 |
| AG_UNLOCK | x |
| x |
|
|
|
|
|
|
|
|
|
| FC50 |
| AG_LSEND |
|
| x |
|
|
|
|
|
|
|
|
|
| FC60 |
| AG_LRECV |
|
| x |
|
|
|
|
|
|
|
|
|
S7 | FB12 |
| BSEND | x |
|
| STEP 7 |
communication |
|
|
|
|
|
| Documentation |
FB13 |
| BRCV | x |
|
| ||
|
|
|
| /9/ | |||
|
|
|
|
|
|
| |
| FB15 |
| PUT | x |
|
|
|
|
|
|
|
|
|
|
|
| FB14 |
| GET | x |
|
|
|
|
|
|
|
|
|
|
|
| FB8 |
| USEND | x |
|
|
|
|
|
|
|
|
|
|
|
| FB9 |
| URCV | x |
|
|
|
|
|
|
|
|
|
|
|
| FC62 |
| C_CNTRL | x |
|
|
|
|
|
|
|
|
|
|
|
FTP | FC40 |
| FTP_CONNECT | x |
| x | SIMATIC NET |
|
|
|
|
|
|
| |
| FC41 |
| FTP_STORE | x |
| x | |
|
|
| /5/ | ||||
|
|
|
|
|
|
| |
| FC42 |
| FTP_RETRIEVE | x |
| x |
|
|
|
|
|
|
|
|
|
| FC43 |
| FTP_DELETE | x |
| x |
|
|
|
|
|
|
|
|
|
| FC44 |
| FTP_QUIT | x |
| x |
|
|
|
|
|
|
|
|
|
PROFInet | FB88 1) |
| PN_InOut 1) | x |
|
| Manual CP |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
1)FB88 supplied along with the engineering tool SIMATIC iMap.
2) Not to be used for the latest CPs
142 | SIMATIC NET NCM S7 for Industrial Ethernet |