EasyManua.ls Logo

Scanivalve MPS4232 - Get PTP Time; Set PTP Time; Get UTC Offset

Default Icon
96 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 acve on the network, the me set by the SETTIME command is over
wrien by the grand master me in the module is congured 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 oset.
SYNTAX GETUTCO

Table of Contents

Related product manuals