Commissioning
97/146
9.8.2
Setting date and time of the device via OPC UA
Requirements
·
You have an OPC UA client.
·
You know the username and password, and you have the permission to
write.
·
You know the IP address of an NTP server.
·
You have converted the IP address of the NTP server into a decimal
number, as described below.
·
You have already established a connection to the device.
Example of an NTP server
NTP server
ptbtime1.ptb.de
of the German Federal Institute of the
Physikalisch-Technische Bundesanstalt in Braunschweig with the IP
address
192.53.103.108
Substitude NTP server (optional) of the NTP server
ptbtime2.ptb.de
of
the Physikalisch-Technische Bundesanstalt in Braunschweig with the IP
address
192.53.103.104
Converting an IP address into a decimal number
To convert the IP address to a decimal number, use the following formula.
Starting from an IP address in the format
A.B.C.D
:
((A * 256 + B) * 256 + C) * 256 + D = IP address as a decimal number
Example of IP address 192.53.103.108
((192 * 256 + 53) * 256 + 103) * 256 + 108 = 3224725356
Step-by-step instructions
Ø
In the window
Address Space
, open the context menu:
Root> Objects> DeviceSet> [Device name] >
Configuration> NtpClient>
NtpClientUpdateConfiguration
.
Figure 50: Node NtpClientUpdateConfiguration (1)
Ø
In the context menu select
Call
.
NFD-3090-PNS-IOLM\W | Hardware, installation and commissioning
DOC201101UM03EN | Revision 3 | English | 2022-02 | Released | Public
© Hilscher 2020 - 2022