Omron CS1W-EIP21 Network Card User Manual


 
328
Automatic Clock Adjustment Switch Section 12-3
12-3 Automatic Clock Adjustment Switch
The Automatic Clock Adjustment Switch is allocated in the CIO Area as
shown below. The first word n of the CIO Area is calculated using the following
equation.
n = CIO 1500 + (25
× unit number)
Automatic Clock
Adjustment Switch
(Bit 05 of n)
The Unit control bit is shown in the following diagram.
When the Automatic Clock Adjustment Switch turns from OFF to ON, the Eth-
erNet/IP Unit or built-in EtherNet/IP port obtains the clock data from the SNTP
server on the network, and applies it to the local CPU Unit. After applying the
data, the switch automatically turns OFF again.
12-4 Automatic Clock Adjustment Error Processing
12-4-1 Automatic Clock Adjustment (SNTP) Errors
The following table shows the main causes and remedies for errors that occur
in the automatic clock adjustment function (SNTP).
12-4-2 Error Log Error Codes for the Automatic Clock Adjustment
Function
When an error occurs while the EtherNet/IP Unit or built-in EtherNet/IP port is
operating, the error code, detailed error code, and time the error occurred are
saved in the error log. The following table provides a list of the error codes.
Retry timer Set the time to elapse before retrying when a connec-
tion to the SNTP server fails. This setting does not
normally need to be changed.
0
(10 s)
Adjust Time This sets in the CPU Unit's clock data the time differ-
ence made up from the SNTP server's clock data.
To use the clock data from the SNTP server just as it
is, input 0.
+0:0
Item Contents Default
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
n
Automatic Clock
Adjustment Switch
Cause Correction
SNTP, DNS server address not set Reset each server address (IP address or
host name).
SNTP, DNS server communications time-
out
Inspect the communications path (Ether-
Net/IP Unit or built-in EtherNet/IP port,
cable connections, hub, router, server),
and correct the situation that is causing
the error.
CPU Unit internal clock could not be set The automatic clock adjustment function
is not supported by certain CPU Units
(models, lot numbers) if they are in RUN
or MONITOR mode.