User manual
MEX ASPERA-3
Ref.:
ME-ASP-MA-0002
Issue:
Issue 1 Rev. 4
Date:
15/2/2002
Page:
Page 32 of 58
ASPERA-3 EGSE User Manual
IFSI
CNR
tpoll 2 ; Start polling for telemetry every 2 seconds
3.1.3.3 High Level Commands
These commands are formed by an acronym possibly followed by parameters and generate a standard
packet telecommand. The commands are translated in the scoe module to low level commands and
transmitted to mexilt.
The tables in appendix 6.2, shows the ASPERA specific commands. APID, Packet Type and subtype
are shown here only for internal documentation.
The first 3 columns of this table are recorded in the file TeleCommand.txt used as a lookup table by
SCOE for high level commands decoding and are intended to be modified by the user.
File location: /Mex/CmdFiles/TeleCommand.txt
As an example the command:
ASPMELS30
send to the instrument APID=61 a telecommand packet type=191 subtype=1
3.1.3.4 Macro Commands
These commands just substitute the macro acronym with whatever follows in the macro definition line.
A macro acronym may be followed by parameters in that case the parameters are appended at the end of
the macro translation line.
The macro expansion may refer to any of the low or high-level commands and command sequence
instructions.
The commands are defined in /Mex/CmdLut/Macro.txt and are intended to be generated/modified by the
user.
Here are the initial instructions for the macro definition file
Macro name Macro expansion Comments
MAIN28on relay 0 200 ; Pulse relay # 0 for
200x122us = 24ms
MAIN28off relay 1 200
RED28on relay 2 200
RED28off relay 3 200
MAINCURRENT
PLOT 0 6 0xff 0xff 7 0xff00
0x100 12 0xffff 0 0x7fff
Set the plot # 0 (red) to
show the main bus current
_TOVer _SETRX 15 ; Set time-out for VERTM
_TOJmp _SETRX 14 ; Set jmp on time-out on
VERTM
3.1.3.5 Commands sequences
A command sequence is formed by standard commands plus a few "pseudo instructions" special
commands, defining elementary programming language statements (i.e. for loop, if statements, setting
of program variables etc).