Structure Of The Network Parameter Blocks (Npb); Table 4: Npb Structure - Siemens SIMATIC NET CP 243-1 Technical Manual

Communications processor for industrial ethernet
Hide thumbs Also See for SIMATIC NET CP 243-1:
Table of Contents

Advertisement

Configuration
4.4.3

Structure of the Network Parameter Blocks (NPB)

This data block is generated by the CP 243-1 itself in accordance with the current
set of network parameters. It contains the TCP/IP parameter values currently in
use, provided the CP 243-1 has been correctly configured. In the event of a con-
figuration error, the NPB will not contain any valid data.
Byte offset in
variables mem-
ory
108-109
Common flag byte
Bit [0] Duplex Mode
Bit [1] Data Rate
Bit [2] Auto Negotiation
Bit [3] BOOTP
Bit [4-15] Not in use
110-113
Current IP address
114-117
Current subnet mask
118-121
IP address of current Gate-
ways
122-127
MAC address

Table 4: NPB structure

42
Description
0: Half Duplex
1: Full Duplex
0: 10 Mbit/s
1: 100 Mbit/s
0: No auto negotiation
1: Auto negotiation
0: Use configured net-
work parameters
1: BOOTP
Calculation of the
Data format
value
Dependent on cur-
2 Byte Hex
rent configuration
Dependent on cur-
4 bytes hex
rent configuration
Dependent on cur-
4 bytes hex
rent configuration
Dependent on cur-
4 bytes hex
rent configuration
Read out from
6 bytes hex
hardware
09/02
Example
16#04: Auto nego-
tiation,
use configured
network parame-
ters
192.12.45.23:
16#C00C2D17
255.255.255.0:
16#FFFFFF00
192.12.45.24:
16#C00C2D18
16#080006021F04
08-00-06-02-1F-04
CP 243-1
J31069-D0428-U001-A1-7618

Advertisement

Table of Contents
loading

Table of Contents