User Tools

Site Tools


commands:pg

Command:PG

Piezo
Shortcut PG
Format PG [axis]=[25 to 5101] (pre v2.84)
PG [axis]=[1 to 255] (v2.84 and above)
Units integer code
Type Axis-Specific
Remembered Automatically

PG command is used to set the gain of the feedback stage. The setting is stored in a non volatile memory on the ADEPT board. This is one of the settings that is automatically picked during long auto calibration. Please refer the calibration section for its usage. It is an Axis specific command. Setting is automatically saved in the non-volatile memory.

The settings set with this command can also be done with PZ commands. One does not have an advantage over another; usage is left to user preference.

Pre v2.83 a formula was used to convert 25-5101 to 8bit 255. We had rounding off issues and such. We removed the formula so now user can enter the setting directly and thus have more control.

Tunable Lens
Shortcut PG
Format PG [axis]=[1 to 255]
Units integer code
Type Axis-Specific
Remembered Automatically

On the Tunable Lens card , this PG is used to get and set a different parameter. Tunable lens diopter changes with temperature , this change varies with current being applied to the lens. So we built a model equation to help us calculate Diopter per Celsius change as a function of current. PG command sets the coefficient in this model equation. More info here

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/pg.txt · Last modified: 2021/09/23 17:16 (external edit)