Microchip LN-CSAC-SA65 handleiding

50 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 35 van 50
LN-CSAC Model SA65-LN User’s Guide
2024 Microchip Technology Inc. and its subsidiaries DS50003805A-page 35
The format for setting the cable length compensation value is !DCX[CRLF] where X is
the new compensation value.
Example: Set cable length compensation to +15 nanoseconds:
Command: !DC150[CRLF]
Response: 150[CRLF]
To query the current compensation setting, without modifying the value, use the com-
mand !DC?
Example: Query current compensation setting:
Command: !DC?[CRLF]
Response: 150[CRLF]
To store the current compensation setting in non-volatile RAM, use the command !DCL
Example: Latch current value of compensation to power-up default:
Command: !DCL[CRLF]
Response: Phase comp latched[CRLF]
3.3.8 Time-of-Day (TOD)
TOD is maintained internally within the LN-CSAC, represented by a single unsigned
long integer value, which begins counting up from 0 when the LN-CSAC is powered on.
The TOD is synchronized with the 1 PPS output. TOD is routinely transmitted in the
telemetry string (see Section 3.3.1 “Telemetry (6 and ^)”).
TOD may be set externally with the !T command in this format: !TYXXXX[CRLF]
where Y is either A for absolute setting or D for a delta adjustment of TOD and XXXX is
either an unsigned integer TOD or a signed integer adjustment to the TOD.
Example: Absolute setting TOD to 1221578499:
Command: !TA1221578499[CRLF]
Unit response: TimeOfDay = 1221578499[CRLF]
Example: Retard TOD by 3600 seconds = 1 hour:
Command: !TD-3600[CRLF]
Unit response: TimeOfDay = 1221574902[CRLF]
The TOD may be reported synchronous with the 1 PPS output:
Example: Retrieve TOD command:
Command: !T?[CRLF]
Unit Response: XXXX[CRLF] where XXXX is the current TOD.
When queried with the !T? command, the first character of TOD appears on the com-
munications port within 20 ms following the rising edge of the next 1 PPS output pulse.
Because this necessarily creates a delay of up to a second between sending the !T?
command and receiving a response from the LN-CSAC, the host system must allow for
an RS-232 receive timeout of at least 1000 ms when anticipating a response to the !T?
command. For less critical timing applications, the TOD can be somewhat ambiguously
parsed from the standard telemetry string (see Section 3.3.1 “Telemetry (6 and ^)”).
Note: This response does not occur until the next 1 PPS output pulse.
Note: The single-character T is a shortcut for !T?[CRLF].

Bekijk gratis de handleiding van Microchip LN-CSAC-SA65, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkMicrochip
ModelLN-CSAC-SA65
CategorieNiet gecategoriseerd
TaalNederlands
Grootte6392 MB