# Applied Scientific Instrumentation

### Products

 Custom Optics diSPIM FTP FW1000: Filter Wheel MPPI MS2000, MFC2000 and RM2000 Controller Piezo Systems RAMM, MIM and VTS Portal Serial Command Software TG-1000/Tiger Controller Tracking & Stabilization XY Stage Z-Drive and Focus Stage

commands:vb

# Command:VB

This command has a slightly different usage on Tiger then in MS2000 and RM2000.

MS2000 or RM2000 syntax and function
Shortcut VB VB [X=binary_code] [Y=TTL IN1 state (read only)] [Z=read_decimal_places] integer Using SS Z v8.5+

Adds serial communication verbose modes for special functions. The binary_code is the sum of the bit values for the desired functions from the list below. The Y argument allows the TTL IN1 input state to be directly queried via serial command. The number of decimal places for the WHERE command is set by read_decimal_places.

 Bit 0 Bit 1 1 Send character ‘N’ upon completion of a commanded move. 2 Send ‘p’ for joystick quick-press and release, ‘P’ for long-press. 4 Send ‘H’ for TTL IN1 low-to-high transition; ‘L’ for high-to-low. 8 Changes the reply termination for + to just  16 Move and Move Rel will print the new Target Position. 32 Axes positions reported upon completion of a commanded move.

Example VB X=7 turns on the first three of the above functions.

Tiger syntax and function

The Z argument sets the number of decimal places for the WHERE command. This is card-addressed so that different cards can be set differently. It is saved to non-volatile memory using the SS Z command.

The F argument sets the reply syntax. Setting to 0 (default) is the MS-2000 syntax, and setting to 1 gives the Tiger syntax (see above section for details). The syntax state does not persist when power is turned off.
Reply Note that this command does NOT return :A or other acknowledgement.

The X argument implemented in firmware version 3.17 and above . When set with the Binary bit shown in the table below, performs the corresponding action

 Bit 4 16 Move and Move Rel will print the new Target Position.Vector command will print the current position
1vb x=16

<LF>
ve x=1 y=-1
:A -0 -0
<LF>
ve x=2 y=-2
:A 66562 -66567
<LF>
ve x=0 y=0
:A 156651 -156663
<LF>


In the above example , XY stage is on Card Addr#1. Because VB X=16 , BIT4 was set. This makes the Vector command reply with the axis's current position.