
62
DL-V3 Firmware Reference Manual Rev 2
Chapter 2
DL-V3 Commands
2.35 SITE
Control Site Occupations
The
site
command allows you to control site occupations.
The
site
enter
command defines the site-occupation start time for a site record
name
. This command
does not result in a site record being entered into the logfile – the site record is written to the logfile
when the
site leave
command is received.
The
site
cancel
command cancels a previously-defined site. This command does not delete site
records already written to a logfile with previous
site
enter
and
site
leave
commands. Rather, if at a
site, as indicated by a preceding
site
enter
command, the
site
cancel
command terminates the site
occupation without writing a site record to the logfile.
The
site
leave
command ends occupation of a previously-defined site. If at a site, as indicated by a
preceding
site
enter
command, the
site
leave
command terminates the site occupation and write a site
record (
sitedefb
) to the logfile. There is no limit on the number of
sitedef
logs entered into a single log
file.
• The
FirstGPSWeek/Sec fields of the
sitedef
record are set to correspond to the time of the first
position
log (
bestpos
,
matchpos
,
range
,
rangec
,
rangedelta
,
rtkdata
) received
with the number of SVs used in generation of these logs > 0, between
site enter
and
site leave
commands.
• LastGPSWeek/Sec fields of the
sitedef
log are set to correspond to time of the last
position
log
received with the number of SVs used in generation of these logs > 0, between
site enter
and
site leave
commands.
• If
no
position
logs are received with the number of SVs used in generation of these logs > 0
between
site enter
and
site leave
commands:
• the FirstGPSWeek/Sec and LastGPSWeek/Sec fields of the
sitedef
log are set to
correspond to the times at which the
site enter
and
site leave
commands
were issued, respectively,
• the SITE_ST_INVALID bit (0x01) is set in the SiteStatus field of the
sitedef
log
• If
no
position
logs are received with the number of SVs used in generation of these logs > 0
within 30 seconds after a
site enter
but such logs are received before a
site leave
command:
• the SITE_ST_STARTTRUNCATE bit (0x02) is set in the SiteStatus field of the
sitedef
log
• If
no
position
logs are received with the number of SVs used in generation of these logs > 0
within 30 seconds before a
site leave
but such logs are received at some time after a
site enter
command:
• the SITE_ST_ENDTRUNCATE bit (0x04) is set in the SiteStatus field of the
sitedef
log
• If both of the above conditions apply, (that is, if no
position
logs are received with the number
of SVs used in generation of these logs > 0 within 30 seconds after a
site enter
but such
logs are received before a
site leave
command and if no
position
logs are received with
the number of SVs used in generation of these logs > 0 within 30 seconds before a
site
leave
but such logs are received at some time after a
site enter
command):
• both, the SITE_ST_STARTTRUNCATE and SITE_ST_ENDTRUNCATE bits are set
in the SiteStatus field of the
sitedef
log