background image

date
page

10/2010

9 of 13

20050 SW 112

th

 Ave. Tualatin, Oregon 97062     phone 503.612.2300    fax 503.612.2380   www.cui.com

PART NUMBER:   

 

 

 

      DESCRIPTION: 

 

 

 

 

AMT203

DEMO KIT USER GUIDE

© 2010 CUI Inc. All rights reserved.

Information in this document is subject to change without notice.

STEPPER CONTROLS IN EXPANSION CONNECTOR

There are two signals used for stepper control: rc2 is used for stepping and rc3 is used for direction. rc2 is pulsed 
high for 30 microseconds per step. rc3 is initially low but can be set high by the “z” command or set low by the “Z” 
command.

The GND and VDD signals in the Expansion Connector can be used to power the opto isolated input circuit on a 
stepper driver.

AMT-DMBD USER COMMANDS

• p

: read Position.

• d

: set display radix 10 (decimal)

• h

: set display radix 16 (hex) This is the default.

• 0

: (zero) set position to zero.

• y

: set fast read

• Y

: set no fast read

• k

: set encoder position increasing CW

• K

: set encoder position increasing CCW

• l

: (small L) go to LCD mode (exit the serial control mode)

• eNN01

: read encoder eeprom location NN (hex 00:FF)

• uNNHH

: write user data location NN (hex 00:FF) data HH (hex). The user should only modify locations between 

00 and 7f hex. Writing to other locations will render the encoder inoperative.

• x

: step. This produces a 30 microsecond high pulse on rc2.

• z

: stepper driver direction high. This sets rc3 high.

• Z

: stepper driver direction low. This sets rc3 low.

• t

: turn off <lf>$ part of prompt. This command has no reply and it is used to simplify automation, for example 

when using the TCL procedures to talk to the USB/Serial port.

Содержание AMT203

Страница 1: ...AMT203 ABSOLUTE ENCODER Demo Kit User Guide...

Страница 2: ...DATE for XP86 XP64 and Vista 32 and 64 bit The USB connector provides power whether or not the driver is installed on the host PC If the board is first plugged into the USB connector the AMT DMBD will...

Страница 3: ...the USB interface is more useful for automatic testing NO CONNECT Figure 2 shows the display when there is no encoder attached The version is shown as V11 The firmware can be updated using a Microchi...

Страница 4: ...when viewed from front QAQB STB QAQB for standard 90 deg quadrature output or STB for counter output NEXT go to the next Display Menu B3 B0 set the encoder resolution according to Resolution Table B4...

Страница 5: ...zero position or loading configured settings The buttons function as follows ZERO set current absolute position to zero PROGRAM load all configured settings into encoder memory Figure 7 displays the...

Страница 6: ...n This setting is to allow a logic analyzer to view the read protocol on the SPI lines EXIT return to the main menu NEXT returns eeprom XX location value XX displayed eeprom value swith has no functio...

Страница 7: ...mmands as described below A Set up Hyperterm in the properties menu for example set up a new session called usbftdi ht B Connect to set to the com port that C In the congifuration submenu the Bits per...

Страница 8: ...the com port driver including the USB serial driver This works for example if you exit Hyperterm abruptly and it will not start again because the port is unavailable Once again this is because the CO...

Страница 9: ...er AMT DMBD USER COMMANDS p read Position d set display radix 10 decimal h set display radix 16 hex This is the default 0 zero set position to zero y set fast read Y set no fast read k set encoder pos...

Страница 10: ...ckage and install it It will respond with the version number if all is well The package is permanently installed so it is not necessary to repeat this installation EXAMPLE 1 RUNNING GETPOS You must ex...

Страница 11: ...a number and steps that many increments with delta msec between proc step numsteps delta cm for set i 0 1 numsteps incr i 1 puts cm x gets cm yy after delta GetCSDPos takes a filename numsamp steps_pe...

Страница 12: ...in this document is subject to change without notice Figure 8 shows the TCLSH screen with the commands being run the output file is shown below the CSD is shown To output decimal data the d command co...

Страница 13: ...cated at the bottom right edge of the board Pin names are as shown and it is designed to match the ABS encoder connector The Expansion Connector is a 20 pin connector along the top edge of the board T...

Отзывы: