Linking to Other Systems with FETCH/WRITE
a) Structure of WRITE Frames
The meaning and values of parameters shown without values in the following table can be found in the section “Parameter Values“.
WRITE request frame
0 | System ID | =”S” |
|
|
|
1 |
| =”5” |
|
|
|
2 | Length of header | =16d. |
|
|
|
3 | ID OP code | =01 |
|
|
|
4 | Length OP code | =03 |
|
|
|
5 | OP code | =03 |
|
|
|
6 | ORG field | =03 |
|
|
|
7 | Length ORG field | =08 |
|
|
|
8 | ORG ID |
|
|
|
|
9 | DBNR |
|
|
|
|
A | Start address | High Byte |
|
|
|
B |
| Low Byte |
|
|
|
C | Length | High Byte |
|
|
|
D |
| Low Byte |
|
|
|
E | Empty field | =FFh. |
|
|
|
F | Length empty field | =02 |
|
|
|
| Data up to 64 K |
|
|
|
|
WRITE acknowledgment frame
0 | System ID | =”S” |
|
|
|
1 |
| =”5” |
|
|
|
2 | Length of header | =16d. |
|
|
|
3 | ID OP code | =01 |
|
|
|
4 | Length OP code | =03 |
|
|
|
5 | OP code | =04 |
|
|
|
6 | Ack field | =0Fh |
|
|
|
7 | Length ack field | =03 |
|
|
|
8 | Error field | =No |
|
|
|
9 | Empty field | =FFh |
|
|
|
A | Length empty field | =07 |
|
|
|
B |
|
|
|
|
|
C |
|
|
|
|
|
Dfree
E F
244 | SIMATIC NET NCM S7 for Industrial Ethernet |
Release 6/2003 |