User Tools

Site Tools


commands:lock

Command:LOCK (LK)

This command has slightly different usage for CRISP, Phototrack, and SERVOLOCK_TTL, and very different use for TGPMT card.

CRISP usage
Tiger Syntax
Shortcut LK
Format [Addr#]LK [X] [Y] [Z=lock_offset] [F=code]
Type Card-Addressed
Remembered Using [Addr#]SS Z
MS2000 and RM2000 Syntax
Shortcut LK
Format LK [X] [Y] [Z=lock_offset] [F=code]
Remembered Using SS Z

The LOCK command without any arguments X, Y, or Z advances to the next system state just as would a short-press of the @ button.

LK X? returns the single character indicating the current CRISP system state as described in the table CRISP System States. For historical reasons, do not use LK X to set the current state, instead use LK F.

LK Y? returns the present value of the focus error which is also shown on the LCD display.

LK Z? returns the present value of the focus error lock_offset. The offset is automatically determined during calibration and is modified when the command wheel on the controller is used to focus a locked system. The offset is also reset with a >10 sec. press of the @ button. A particular value of lock_offset may be set using LK Z= lock_offset.

LK F=code will unconditionally set the focus state. Code is the ASCII decimal equivalent for the ‘state’ character that is displayed on the LCD. For example, to unconditionally enter the ‘B’ state the command would be LK F=66. Not all states are best entered directly. See the CRISP system state table for the appropriate ASCII code to enter a particular state gracefully.

LK X?
:A W

Shows the system is in the WAIT state.

SERVOLOCK_TTL usage
Tiger Syntax
Shortcut LK
Format [Addr#]LK [X] [F=code]
Type Card-Addressed
Remembered Using [Addr#]SS Z

The LOCK command without any arguments toggles the SERVOLOCK_TTL function from active to inactive. As short-press of the @ button will also do unless the firmware build also has CRISP, in which case CRISP takes priority. See full documentation of SERVOLOCK_TTL firmware module.

LK X? returns the single character indicating the current state, which for SERVOLOCK_TTL is the letter T for enabled and Z for disabled. If CRISP is also present in the firmware module then those states will also appear. LK F=code will unconditionally set the focus state. Use LK F=84 (ASCII letter T) to enable SERVOLOCK_TTL control and LK F=90 (ASCII letter Z) to disable it when done

TGPMT usage
Shortcut LK
Format [Addr#]LK [X] [Y] or
[Addr#]LK [X?] [Y?]
Type Card-Addressed
Remembered Using [Addr#]SS Z

This command has a different function on a TGPMT card. Here its used to check the status of PMT (overloaded or not). Then if it is overloaded, issue a reset pulse to clear the overload. Duration of the reset pulse is set with the RT Y command

[addr#] LK X? , Query PMT0's status. Controller return a 0 if Overloaded , and 1 if not overloaded.

[addr#] LK Y? , Query PMT1's status. Controller return a 0 if Overloaded , and 1 if not overloaded.

[addr#] LK X , Issue a reset pulse to PMT0.

[addr#] LK Y , Issue a reset pulse to PMT1.

Alternately , the status of the PMTs is also indicated by the LEDs on the TGPMT card (Green is ok , Red is overloaded). And the reset button can be pressed to clear the overload state.

Example

7lock x?
:A 0

Query the status of PMT0 on TGPMT card at address 7 for status. 0 is returned, indication PMT0 is overloaded

7lock x
:A

Issue reset pulse to PMT0 on TGPMT card at address 7.

7lock x?
:A 1

Overloaded was cleared, Query the status of PMT0 on TGPMT card at address 7 for status again. 1 is returned, indication PMT0 is NOT overloaded

On Phototrack systems
Shortcut LK
Format LK [X] [Y] [Z=sum_min] [F=quad_order]
Remembered Using SS Z

LK with no argument performs same action as “@” short press.

LK X performs same action as “@” long press.

LK Y performs same action as “HOME” very long press.

Use sum_min to set the minimum sum-signal level required for tracking the sample. If the sum signal is less than sum_min, tracking will PAUSE.

The quad_order is the relative orientation of the PMT assembly and is normally set during calibration.

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/lock.txt · Last modified: 2019/05/26 00:11 by jon