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.