time
3-22
PACSystems* RX3i PROFINET Controller Command Line Interface Manual
– July 2011
GFK-2572
3
time
Non-Global Command
This command can be used to display the PNC’s current time or to change the internal module
clock
Note that the PNC synchronizes its internal clock with the PLC CPU at module powerup.
Changes made using the
time
command do not persist over power cycles. For more
information see “PLC Time Synchronization” in the
PROFINET Controller Manual, GFK-2571.
time Command Format
time [<date>] [<time>]
Format for date:
DD-MON-YYYY
Format for time:
<HH>[:<MM>[:<SS>]]
< DD >
Specifies the day of the month with a two-digit decimal number. Valid values are
from 1 to 28 for all months and 29 to 31 depending on the month.
< MON >
Specifies the month of the year in 3-character format (JAN, FEB, MAR, APR, MAY,
JUN, JUL, AUG, SEP, OCT, NOV, DEC). The month values are not case-sensitive.
< YYYY >
Specifies the year with a four-digit decimal number. Valid values are from 2000 to
2105 inclusive.
< HH >
Specifies the hour of the day in 24-hour format using two decimal digits. The valid
values are 00 through 23 inclusive.
< MM >
Specifies the minutes within the hour using two decimal digits. The valid values are
00 through 59 inclusive. If unspecified, defaults to 00.
< SS >
Specifies the seconds within the minute using two decimal digits. The valid values
are 00 through 59 inclusive. If unspecified, defaults to 00.
Examples
Displaying the PNC’s Current Time
Screen Display
device-name= time
01-JAN-2000 05:44:17.0000
device-name=
Changing the Date
Screen Display
device-name= time 22-FEB-2007 13
22-FEB-2007 13:00:00.0000
device-name=
Changing the Date and Time
Screen Display
device-name= time 29-OCT-2008 20:30:55
29-OCT-2008 20:30:55.0000
device-name=