Programming FCs (Functions) and FBs for S7 Ethernet CPs
Parameter | Declara- | Type | Possible | Remarks |
| tion |
| Values |
|
|
|
|
|
|
ID | INPUT | INT | 1,2...16 for | The connection number of the connection is |
|
|
| specified in the parameter ID. (see | |
|
|
| 1,2...64 for | Configuration Section 4.3.1) |
|
|
|
| |
|
|
|
| |
|
|
|
|
|
LADDR | INPUT | WORD |
| Module base address |
|
|
|
| When you configure the CP with STEP 7 |
|
|
|
| hardware configuration, the module base |
|
|
|
| address is displayed in the configuration table. |
|
|
|
| Specify this address here. |
|
|
|
|
|
STATUS | OUTPUT | WORD | see following | Status code |
|
|
| table | For meaning, refer to the table below. |
|
|
|
|
|
Condition Codes
The following table shows the STATUS code that must be evaluated by the user program.
Table
STATUS
Meaning
7000 | CP is not processing a job |
|
|
7001 | FETCH active |
|
|
7002 | WRITE active |
|
|
8183 | FETCH/WRITE not configured for this connection |
|
|
8186 | ID number not in permitted range (e.g. 1...64 with |
|
|
196 | SIMATIC NET NCM S7 for Industrial Ethernet |
Release 6/2003 |