73
MPS4232
Section 5: Software
COMMAND GETTIME
TYPE Get
DESCRIPTION Gets the current PTP me as used by the MPS. Time is adjusted by UTCOFFSET.
SYNTAX GETTIME
RETURNS Current Time yyyy/mm/dd hh:mm:ss sec nnnn ns
Followed by a prompt when ready for next command.
EXAMPLE GETTIME
Current Time 2014/2/6 0:23:52.0 sec 3335 ns 439809720
>
COMMAND SETTIME
TYPE Set
DESCRIPTION Sets the current PTP me as used by the MPS. Time is adjusted by UTCOFFSET.
When a grandmaster is acve on the network, the me set by the SETTIME command is over
wrien by the grand master me in the module is congured as a PTP Slave (PTPEN == 1).
SYNTAX SETTIME <yyyy/mm/dd> <hh:mm:ss>
Where:
yyyy = Year
mm = Month
dd = Day
hh = Hours (24 hour format)
mm = Minutes
ss = Seconds
RETURNS Current Time yyyy/mm/dd hh:mm:ss sec nnnn ns
Followed by a prompt when ready for next command.
EXAMPLE SETTIME 2016/6/22 14:20:0.00
Entered 2016/6/22 14:20:0
Time is 1466605200
COMMAND GETUTCO
TYPE Get
DESCRIPTION Retrieves the current UTC oset.
SYNTAX GETUTCO