Setipconfig - Siemens SIMATIC RF600 Series Configuration Manual

Hide thumbs Also See for SIMATIC RF600 Series:
Table of Contents

Advertisement

Programming via XML interface
10.3 XML commands
10.3.1.4

setIPConfig

This command is available as of API V2.2.
The IP address of the reader is changed with this command. If the transferred parameters do
not contain any inconsistencies, the reader will terminate the connection. This happens as
well if the parameters are identical to the previous settings. A response frame is sent in reply
to this command only if there is an error.
Command
<frame>
<cmd>
</cmd>
</frame>
// opt → Optional: Line can be omitted.
Reply
<frame>
<reply>
</reply>
</frame>
The error codes for negative replies ("resultCode" ≠ 0) are described in the section "Negative
XML replies (Page 213)".
Parameter
Parameter
value_id
value_iPAddress
148
<id> value_id </id>
<setIPConfig>
<iPAddress> value_iPAddress </iPAddress> // opt
<subNetMask> value_subNetMask </subNetMask> // opt
<gateway> value_gateway </gateway> // opt
<dHCPEnable> value_dHCPEnable </dHCPEnable> // opt
</setIPConfig>
<id> value_id </id>
<resultCode> 0 </resultCode>
<setIPConfig/>
Type
Decimal value
0...9
IP address
Values
Description
0...4294967295
Unique command identifier
1.0.0.1...
IP address of the reader
255.255.255.254
Parameter is ignored, if DHCP is acti-
vated:
value_dHCPEnable = True
Configuration Manual, 11/2018, C79000-G8976-C386-07
SIMATIC RF600

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents