IDEC FC6A-C16K1CE Communications Manual page 47

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

To automatically acquire the current time, select the Automatic Acquisition check box.
4.
When a keep data error occurs and when the user program is downloaded and automatic acquisition is changed from off to on,
the current time is automatically acquired from the SNTP server.
To periodically acquire the current time at a timing other than the above, select the Cycle check box and select the cycle as
"Every 10 Minutes", "Every Hour", "Every Day", or "Every 30 Days".
To acquire the current time from the SNTP server when the FC6A Series MicroSmart power is turned on, select the At PLC power on
check box.
When the Automatic Acquisition check box is cleared, if special internal relay M8191 is turned from off to on, the current
time is acquired from the SNTP server.
5.
Click OK.
This concludes configuring the settings.
Adjusting the time zone (D8413)
The selected time zone (GMT-12:00 to GMT+13:00) can be adjusted in 15 minute increments with the value of special data
register D8413 (time zone offset).
For example, if GMT+09:00 is selected, storing +1 in D8413 advances the time by 15 minutes to make the time zone
"GMT+09:15". Storing -2 in D8413 sets the time back by -30 minutes to make the time zone "GMT+08:30".
Checking the operation status (D8414)
The SNTP Operation Status is stored in special data register D8414 (SNTP Operation Status). The operation status indicates the
operation status (status code) and the error details (error code).
The operation status (status code) is stored in the upper 12 bits of D8414 and the error details (error code) is stored in the lower
4 bits of D8414.
Bit
15
Upper 12 Bits
Status Code
Status Code
0 (000000000000)
32 (000000100000)
64 (000001000000)
Error Code
0 (0000)
2 (0010)
3 (0011)
9 (1001)
Acquire the current time at an arbitrary timing (M8191)
When special internal relay M8191 (SNTP time acquisition flag) is turned on, the current time is acquired from the SNTP server.
Elapsed time since acquiring the current time (D8415)
The elapsed time (0 to 65,535) in minutes since last acquiring the current time from the SNTP server is stored in special data
register D8415 (elapsed time since SNTP access). Since the values that can be stored are between 0 and 65,535, 65,535 minutes
/ 60 minutes / 24 hours = approximately 45 days, so the maximum value that can be measured is 45 days.
For example, when the date and time that the current time was last acquired from the SNTP server is January 1 at 12:00, if the
value of D8415 is checked on January 1 at 15:00, the value stored is "180" because 3 hours = 180 minutes have elapsed.
D8145 is reset to 0 when the current time is successfully acquired, then the elapsed time count starts. If acquiring the current time
from the SNTP server was not successful even once, the value of D8145 is not updated.
FC6A S
Bit
Bit
Bit
8
7
4
Operation Status
No operation
Waiting for response
Time information acquisition
successful
Error Details
Normal
Timeout error
The set SNTP server IP address could not be resolved by DNS
Invalid data was received
M
S
A
-
ERIES
ICRO
MART
LL
IN
Bit
Bit
3
0
Lower 4 Bits
Error Code
Status Description
When there is no access to the SNTP server
When the SNTP server has been accessed and waiting for the response from
the SNTP server
When the response from the SNTP server was normally received
-O
T
C
M
NE
YPE
OMMUNICATION
3: C
OMMUNICATION
FC9Y-B1730
ANUAL
S
ETTINGS
3-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents