Panasonic FP7 Series Command Reference Manual page 932

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

17.9 NTPcSV (NTP Destination Server Setting Instruction)
● The settings remain valid until the power is turned OFF. Also, the setting is valid until PROG.
mode changes to RUN mode after a project is copied using an SD card and a
communication command (download of project, backup/restoration of project, writing of
configuration fixed area, forced cancel of security, initialization of system (factory default
setting)) is executed. However, the time acquisition timing (CPU configuration) setting follows
the project setting simultaneously when the project is changed, regardless of the mode
change from PROG. to RUN.
● The settings will not be lost even when the IPv4SET instruction is executed.
● This instruction can be executed when the Ethernet initialization active flag (X61) is OFF. As
an execution condition of the instruction, insert a program that checks the status of the flag
(X61). If this instruction is executed when the flag (X61) is ON, the system relay SR9 (carry
flag CY) is set and the instruction is terminated without being executed.
● When the instruction is completed successfully, the system relay SR9 (carry flag CY) and the
system data register SD29 (Ethernet communication error code) are cleared.
Details of operand [S1]
Starting address of the device area that stores the string data that indicates the parameters for
specifying a server, or a character constant.
Setting
Settings
item
NTP server IP
address
or host name
(can be omitted)
S1
Time zone
Set
(can be omitted)
● Input "IP address or host name of NTP server" and "Time zone setting" separated by a
comma ",".
● The keywords should be specified in the order shown in the above table. Upper and lower
case characters can be used for specifying keywords.
● A part of parameters can be omitted. Omitted parameters are not changed.
● When omitting the part before a specified keyword, omit only "keyword" without omitting ",".
● When omitting the part after a specified keyword, omit both "," and "keyword".
● It is prohibited to specify the same keyword redundantly. An error is caused in the case of
redundant specification.
17-44
Specify IP address or host name. For an IP address, specify the keyword
"IPv4=" or "IPv6=" at the beginning. For a host name, specify "HOST=".
* The number of characters should be within 68 characters including a keyword
("IPv4=", "IPv6=", or "HOST=").
● For an IPv4 address
"IPv4=111.122.133.144"
● For an IPv6 address
"IPv6=1111:1222::1555:0:0:1888"
● For a host name:
"HOST=ntp.pidsx.com"
Specify the time zone setting in "dHHMM" format (d: "+" or "-", HH: hour "00" to
"24", MM: minute "00" to "59").
Specify the keyword "TIMEZONE=" at the beginning.
● For GMT+09:00 (Osaka, Sapporo, Tokyo)
"TIMEZONE=+0900"
● For GMT-10:00 (Hawaii)
"TIMEZONE=-1000"
● For GMT 00:00 (Greenwich Mean Time)
"TIMEZONE=+0000"
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents