This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
tcs:tcsng_command_list [2012/11/08 17:09] admin created |
tcs:tcsng_command_list [2019/08/28 13:12] (current) davner |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Mount | + | =====TCSng Commands===== |
| - | Request: | + | |
| + | This is the most comprehensive list to date of the TCSng requests and commands. | ||
| + | |||
| + | |||
| + | ==== Requests ==== | ||
| ALL Bulk information | ALL Bulk information | ||
| Args: N/A | Args: N/A | ||
| Line 13: | Line 17: | ||
| SECZ(airmass) = XX.xx | SECZ(airmass) = XX.xx | ||
| EPOCH = EEEE.e | EPOCH = EEEE.e | ||
| - | + | ||
| - | AZ Azmouth | + | |
| + | | ||
| + | AZ Azimuth | ||
| Args: N/A | Args: N/A | ||
| Returns: [ddd.dd] | Returns: [ddd.dd] | ||
| + | |||
| BEAM Chop/ | BEAM Chop/ | ||
| Args: N/A | Args: N/A | ||
| Returns: ??? | Returns: ??? | ||
| + | |||
| CORRECTIONS | CORRECTIONS | ||
| Line 69: | Line 77: | ||
| Args: N/A | Args: N/A | ||
| Returns: [JJJJJJJ.j] | Returns: [JJJJJJJ.j] | ||
| + | |||
| + | FLEXFILE Path and file name of current flex map Added by Scott 12/2012 | ||
| + | Args: N/A | ||
| + | | ||
| + | |||
| + | LIMITPROF Horizon limit profile as a function of azimuth | ||
| + | The first (and last) value given is the horizon limit at 0 degrees azimuth | ||
| + | each subsequent value is a horizon limit at increments of 15 degrees of azimuth | ||
| + | so the 2nd value is the limit at 15 degrees azimuth, the third is the horizon limit | ||
| + | at 30 degrees azimuth etc. | ||
| + | Args: N/A | ||
| + | | ||
| LIMIT limit status bits (ACCORDING TO JAVA GUI) | LIMIT limit status bits (ACCORDING TO JAVA GUI) | ||
| Args: N/A | Args: N/A | ||
| Returns: this returns an 8 bit integer whose bits represent the following | Returns: this returns an 8 bit integer whose bits represent the following | ||
| - | bit0(LSB) = RA low limit | + | bit0(LSB) = RA |
| - | bit1 = RA upper limit | + | bit1 = DEC |
| - | bit2 = DEC low limit | + | bit2 = Derotator |
| - | bit3 = DEC upper limit | + | bit3 = Hardware Horizon |
| - | bit4-6 = unknown ??????? | + | bit4 = Software Horizon |
| - | bit7 = limit warning? | + | bit5 = Focus Upper |
| - | bit8 = limit warning? | + | bit6 = Focus Lower |
| a 1 indicates limit active, 0 indicates limit not active | a 1 indicates limit active, 0 indicates limit not active | ||
| Line 94: | Line 114: | ||
| a 1 indicates limit active, 0 indicates limit not active | a 1 indicates limit active, 0 indicates limit not active | ||
| + | LIMITINHIBIT | ||
| + | args N/A | ||
| + | | ||
| + | ===SOFTLIMITS==== | ||
| + | [[tcs: | ||
| + | SOFTLIMITS | ||
| + | args N/A | ||
| + | |||
| + | | ||
| + | |||
| + | bit 0 = RA S2 | ||
| + | bit 1 = RA S1 | ||
| + | bit 2 = DEC S2 | ||
| + | bit 3 = DEC S1 | ||
| + | bit 4 = Horizon S2 | ||
| + | bit 5 = Horizon S1 | ||
| + | | ||
| + | |||
| + | |||
| + | | ||
| MOTION | MOTION | ||
| Args: N/A | Args: N/A | ||
| Line 167: | Line 207: | ||
| GUIDE(Guide Rate) = +XXXXXXXXX.xxx | GUIDE(Guide Rate) = +XXXXXXXXX.xxx | ||
| DRIFT(Drift Rate) = +XXXXXXXXX.xxx | DRIFT(Drift Rate) = +XXXXXXXXX.xxx | ||
| + | |||
| XRA " | XRA " | ||
| Line 180: | Line 221: | ||
| GUIDE(Guide Rate) = +XXXXXXXXX.xxx | GUIDE(Guide Rate) = +XXXXXXXXX.xxx | ||
| DRIFT(Drift Rate) = +XXXXXXXXX.xxx | DRIFT(Drift Rate) = +XXXXXXXXX.xxx | ||
| + | | ||
| + | | ||
| + | ===Satellite Requests=== | ||
| + | | ||
| + | | ||
| + | | ||
| + | Args: N/A | ||
| + | | ||
| + | |||
| + | GETSATECI | ||
| + | Args: N.A | ||
| + | | ||
| + | |||
| + | GETSATECEF Satellite Earth Centered Earth Fixed Cartesian coords | ||
| + | Args: N.A | ||
| + | | ||
| + | |||
| + | ===undefined Request=== | ||
| + | TEST1 ??? >> probably useless but is currently in the command set | ||
| + | Args: ??? | ||
| + | Returns: ??? | ||
| + | |||
| + | INDEX ??? | ||
| + | Args: ??? | ||
| + | Returns: ??? | ||
| + | |||
| + | PP ??? | ||
| + | Args: ??? | ||
| + | Returns: ??? | ||
| + | |||
| + | SRVFRQ | ||
| + | Args: ??? | ||
| + | Returns: ??? | ||
| + | |||
| + | |||
| + | ===Dome Request=== | ||
| + | |||
| + | DOME Dome control information | ||
| + | Args: " | ||
| + | Returns: | ||
| + | Parameters: | ||
| + | CPD(Counts Per Degree) = XXX.xxxxxxx | ||
| + | SD(Stow Degrees)= XXX.xxxxxxx | ||
| + | W(Dome Width) = XXX.xxxxxxx | ||
| + | SDW(Stow Dome Width)= XXX.xxxxxxx | ||
| + | NU = XXX.xxxxxxx | ||
| + | RHO = XXX.xxxxxxx | ||
| + | PHI = XXX.xxxxxxx | ||
| + | LOOK(Lookahead) = XX | ||
| + | HOLD(Hold Dome) = XX | ||
| + | |||
| + | Control Info: [DEL] [MOD] [INIT] [TELAZ] [AZ] [HOME] | ||
| + | DEL(Delta Position) = +XXX.XXXXXXX | ||
| + | MOD(Mode) = XX | ||
| + | INIT(Initialized) = XX | ||
| + | TELAZ(Telescope Azmouth) = +XXX.XXXXXXX | ||
| + | AZ(Dome Azmouth) = +XXX.XXXXXXX | ||
| + | HOME(Home Position) = +XXX.XXXXXXX | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ===Focus Request=== | ||
| + | FOCSPEED Focus Speed | ||
| + | Args: N/A | ||
| + | Returns: [" | ||
| + | |||
| + | FOCUS Focus position | ||
| + | Args: N/A | ||
| + | Returns: +XXXXX | ||
| + | |||
| + | === DIO Request === | ||
| + | **TODO make this consistent with Softlimits (use binary, not hex)** | ||
| + | |||
| + | DIO All 6 bytes of DIO | ||
| + | Args: N/A | ||
| + | Returns: A1 B1 C1 A2 B2 C2 as hex numbers | ||
| + | |||
| + | | ||
| + | A1: | ||
| + | Bit0: FOCUS UP | ||
| + | Bit1: FOCUS DN | ||
| + | Bit2: FOCUS F/S | ||
| + | Bit3: ESTOP STATUS | ||
| + | Bit4 HA ALT LIMIT | ||
| + | Bit5 DEC ALT LIMIT | ||
| + | Bit6 DEROT ALT LIMIT | ||
| + | Bit7 SPARE A7A | ||
| + | | ||
| + | B1: Paddle Buttons | ||
| + | Bit0: NORTH | ||
| + | Bit1: SOUTH | ||
| + | Bit2: EAST | ||
| + | Bit3: WEST | ||
| + | Bit4: GUIDE/DRIFT | ||
| + | Bit5: SLEW | ||
| + | Bit6: DOME RIGHT | ||
| + | Bit7 DOME LEFT | ||
| + | | ||
| + | C1: | ||
| + | Bit0: HA LIMIT | ||
| + | Bit1: DEC LIMIT | ||
| + | Bit2: HOR LIMIT | ||
| + | Bit3: HS NORTH | ||
| + | Bit4: HS EAST | ||
| + | Bit5: Dome Home | ||
| + | Bit6: Focus Up Limit | ||
| + | Bit7: Focus | ||
| + | | ||
| + | A2: | ||
| + | Bit0: HA E SLEW | ||
| + | Bit1: HA W SLEW | ||
| + | Bit2: DEC N SLEW | ||
| + | Bit3: DEC S SLEW | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | Bit0: HA DIR | ||
| + | Bit1: DEC DIR | ||
| + | Bit2: FOCUS DIR | ||
| + | Bit3: DEROT DIR | ||
| + | Bit4: HA INHIBIT | ||
| + | Bit5: DEC INHIBIT | ||
| + | Bit6: FOCUS INHIBIT | ||
| + | Bit7: DEROT INHIBIT | ||
| + | |||
| + | C2: | ||
| + | Bit0: RING BIT 0 | ||
| + | Bit1: RING BIT 1 | ||
| + | Bit2: SLEW PERMIT | ||
| + | Bit3: DEROT LIMIT | ||
| + | Bit4 DOME RIGHT OUT | ||
| + | Bit5 DOME LEFT OUT | ||
| + | Bit6 DOME ENABLE OUT | ||
| + | Bit7 SPAREC7B | ||
| + | |||
| + | | ||
| + | | ||
| + | ==== Commands ==== | ||
| - | Command: | ||
| ABERRATE | ABERRATE | ||
| Args: " | Args: " | ||
| Line 220: | Line 401: | ||
| ELAZ Move to position in Elevation and Azmouth | ELAZ Move to position in Elevation and Azmouth | ||
| - | Args: [EEE.EE] [AAA.AA] | + | Args: [EE.EE] [AAA.AA] |
| Returns: " | Returns: " | ||
| Line 273: | Line 454: | ||
| Returns: | Returns: | ||
| - | PAD Software paddle command [Direction] [rate] | + | PAD Software paddle command [Direction] [rate] |
| + | This function is not recommended for use near the horizon limits! | ||
| Args: [Direction] [rate] | Args: [Direction] [rate] | ||
| DIRECTION = NORTH, SOUTH, EAST, WEST, NE, NW, SE, SW | DIRECTION = NORTH, SOUTH, EAST, WEST, NE, NW, SE, SW | ||
| RATE = XXXXXXX.xx (arcsecs/ | RATE = XXXXXXX.xx (arcsecs/ | ||
| any string not described in DIRECTION will terminate paddle | any string not described in DIRECTION will terminate paddle | ||
| + | this terminate string must be sent at the end of each movement | ||
| + | when the button is released. | ||
| Returns: " | Returns: " | ||
| Line 333: | Line 517: | ||
| - | Catalogs | + | ===Catalogs Command=== |
| - | Command | + | |
| ABELL ABELL Catalog object XXXXXXX | ABELL ABELL Catalog object XXXXXXX | ||
| Args: XXXXXXX | Args: XXXXXXX | ||
| Line 371: | Line 555: | ||
| Returns: " | Returns: " | ||
| - | Planets | + | ===Planets Command=== |
| - | Command: | + | |
| MERCURY Track Mercury | MERCURY Track Mercury | ||
| Args: N/A | Args: N/A | ||
| Line 413: | Line 597: | ||
| Returns: " | Returns: " | ||
| - | Dome | ||
| - | Request: | ||
| - | DOME Dome control information | ||
| - | Args: " | ||
| - | Returns: | ||
| - | Parameters: | ||
| - | CPD(Counts Per Degree) = XXX.xxxxxxx | ||
| - | SD(Stow Degrees)= XXX.xxxxxxx | ||
| - | W(Dome Width) = XXX.xxxxxxx | ||
| - | SDW(Stow Dome Width)= XXX.xxxxxxx | ||
| - | NU = XXX.xxxxxxx | ||
| - | RHO = XXX.xxxxxxx | ||
| - | PHI = XXX.xxxxxxx | ||
| - | LOOK(Lookahead) = XX | ||
| - | HOLD(Hold Dome) = XX | ||
| - | |||
| - | Control Info: [DEL] [MOD] [INIT] [TELAZ] [AZ] [HOME] | ||
| - | DEL(Delta Position) = +XXX.XXXXXXX | ||
| - | MOD(Mode) = XX | ||
| - | INIT(Initialized) = XX | ||
| - | TELAZ(Telescope Azmouth) = +XXX.XXXXXXX | ||
| - | AZ(Dome Azmouth) = +XXX.XXXXXXX | ||
| - | HOME(Home Position) = +XXX.XXXXXXX | ||
| - | Command: | ||
| DOME Command dome control | DOME Command dome control | ||
| Args: This command takes one argument at a time from the following | Args: This command takes one argument at a time from the following | ||
| Line 473: | Line 633: | ||
| Returns: | Returns: | ||
| - | Focus | ||
| - | Request | ||
| - | FOCSPEED Focus Speed | ||
| - | Args: N/A | ||
| - | Returns: [" | ||
| - | FOCUS Focus position | ||
| - | Args: N/A | ||
| - | Returns: +XXXXX | ||
| - | Command | + | |
| FOCUS move to absolute focus value XXXXXXX | FOCUS move to absolute focus value XXXXXXX | ||
| Args: XXXXXXX | Args: XXXXXXX | ||
| Line 512: | Line 664: | ||
| Returns: " | Returns: " | ||
| - | PEC | + | [[tcs: |
| Request | Request | ||
| PECSTAT Current PEC operation status | PECSTAT Current PEC operation status | ||
| Line 598: | Line 750: | ||
| Returns: ??? | Returns: ??? | ||
| - | undefined??? | + | SYSSAVE ??? |
| - | Request | + | |
| - | TEST1 ??? >> probably useless but is currently in the command set | + | |
| Args: ??? | Args: ??? | ||
| Returns: ??? | Returns: ??? | ||
| - | INDEX ??? | + | SYSKILL Kills TCS process after disabling stopping all telescope motion. |
| - | Args: | + | Args: |
| - | Returns: | + | Returns: |
| + | |||
| + | SYSRESET Restarts TCS process after disbling the telescope | ||
| + | | ||
| + | Args: [TIME] [DD/MM/YY] [HH: | ||
| + | |||
| + | If no arguments are used the TCS simply restarts | ||
| + | as if you had restarted the TCS computer. If for some reason | ||
| + | the time is bad on the TCS computer you can add the TIME | ||
| + | | ||
| + | use this and not the computer time for astrometry. | ||
| + | |||
| + | | ||
| + | |||
| + | |||
| + | | ||
| + | Args: Follows this format exactly: [[https:// | ||
| + | |||
| + | |||
| + | | ||
| + | Args: N/A | ||
| - | PP ??? | ||
| - | Args: ??? | ||
| - | Returns: ??? | ||
| - | SRVFRQ | + | NEXTEVENT Gives you rise or set time in hours of coordinates set using the NEXTPOS command. |
| - | Args: ??? | + | Args N.A |
| - | Returns: | + | Returns: |
| - | + | ||
| - | Command | + | |
| - | SYSSAVE ??? | + | |
| - | Args: ??? | + | |
| - | Returns: ??? | + | |
| - | + | ||
| - | SYSKILL ??? | + | |
| - | Args: ??? | + | |
| - | Returns: ??? | + | |
| - | + | ||
| - | + | ||