Programming via XML interface
10.3 XML commands
SIMATIC RF650R/RF680R/RF685R
Configuration Manual, 03/2018, C79000-G8976-C386-06
211
10.3.2.10
getTime
This command requests the current time stamp of the internal reader clock.
Command
<frame>
<cmd>
<id> value_id </id>
<getTime/>
</cmd>
</frame>
Reply
<frame>
<reply>
<id> value_id </id>
<resultCode> 0 </resultCode>
<getTime>
<returnValue>
<utcTime> value_utcTime </utcTime>
</returnValue>
</getTime>
</reply>
</frame>
The error codes for negative replies ("resultCode" ≠ 0) are described in the section "
XML replies (Page 263)".
Parameter
Parameter
Type
Values
Description
value_id
Decimal value
0...9
0...4294967295
Unique command identifier
value_utcTime
Time
--
UTC time stamp (Universal Time Co-
ordinated) in ISO 8601 format:
yyyy-MM-ddTHH:mm:ss.fffzzz
e.g.: 2009-12-24T18:34:56.929+00:00.