Operating hardware
4.1 Diagnostics with SNMP
CP 1604 / CP 1616
38
Operating Instructions, 02/2017, C70000-G8976-C218-08
Variables
Access rights
Description
sysLocation
Read and write
Location of the device; factory default: empty string.
The possible value is string with a maximum of 255 characters.
sysServices
Read only
Shows the functions (services) provided by the component according to the
ISO/OSI model. Each bit stands for one of seven OSI layers.
For the CP 1616/CP 1604, the "OPC Scout" program displays the value "74"
dec. (01001010 binary or 4A hex). Converted to a binary value, this means the
following decoded from the back:
Bit 2 set – Layer 2, primary switching
Bit 4 set – Layer 4, configuration with RFC 1006
Bit 7 set – Layer 7, PROFINET IO
Variables in the "Interfaces" directory
The following table shows several SNMP variables for monitoring the device status from the
"Interface" directory:
SNMP variable
Access rights
Description
ifDescr
Read only
Description of and possibly other information for a port.
The possible value is string with a maximum of 255 characters;
for example "SIEMENS", "SIMATIC NET", "CP1616", "<MLFB>",
"HW:<hardware version>", "FW:<firmware version>", "Fast Ethernet Port <port
number>".
Explanation: The current value is entered in the pointed brackets.
Data type DisplayString
ifInErrors
Read only
Number of received packages that were not forwarded to higher protocol layers
because of an error.
Data type: Counter
ifLastChange
Read only
Time the selected port has been in its current status; see "ifOperStatus".
The information is in multiples of hundredths of seconds.
Data type: TimeTicks
ifNumber
Read only
Number of different interfaces available in the component.
For a CP 1616/CP 1604, the value 5 is displayed for this variable (4 physical
ports + 1 virtual port for the CP 1616/CP 1604 itself).
Data type: Integer
ifOperStatus
Read only
Current operating state of the Ethernet port
The following values are possible:
1.
up
2.
down
Data type: Integer
ifOutErrors
Read only
Number of packages that were not sent because of an error.
Data type: Counter
ifPhysAddress
Read only
Port MAC addresses of the CP 1616/CP 1604
•
Index 1 to 4: Port MAC address of the port
•
Index 5: MAC address for PROFINET IO
Data type: PhysAddress