! ---------------------------------------------------------------------------- ! CAN node ID for the GPI Encoded Zoom motor controller SdoZoomCanNode% = 0x40 ! Motion mode register SdoMotionModeIndex% = 0x2002 SdoMotionModeSubindex% = 0 ! Current position register, int32 SdoCurPosIndex% = 0x6064 SdoCurPosSubindex% = 0 SdoPosAvgCount% = 200 ! Set position register, int32 SdoSetPosIndex% = 0x607A SdoSetPosSubindex% = 0 ! Status register 1, uint8 SdoStatus1Index% = 0x2001 SdoStatus1SubIndex% = 0 SdoStatus1MotorMovingBit% = 0x2 ! Current register (to simulate wand move) SdoCurrentIndex% = 0x2007 SdoCurrentSubindex% = 0 ! Keypress mode register (to simulate wand move) SdoKeypressIndex% = 0x2044 SdoKeypressSubindex% = 1 SdoKeypressZoomDown% = 6 SdoKeypressZoomUp% = 7 ! Software Limit Registers, int32 SdoSoftNegLimitIndex% = 0x607D SdoSoftNegLimitSubindex% = 1 SdoSoftPosLimitIndex% = 0x607D SdoSoftPosLimitSubindex% = 2 ! Backlash register, int32 BacklashIndex% = 0x2019 BacklashSubindex% = 0 ! Maximum time allowed to finish moving in seconds SdoMaxMoveTime = 10