beautypg.com

RMS Technologies R256 CONTROLLER/DRIVER User Manual

Page 18

background image

Input 3

Pin 7

Input 4

Pin 5

Table 7

Any of the four inputs can be connected to a push button. In our example above, pin

5 corresponds to input #4, therefore, if you want to program the motor to wait until
this button is pressed in order to begin movement, your program would look

something like this:

/1H04P50000R

H04 means to Halt until it sees a low, or 0, on input #4

P5000 move the motor in the positive direction by 5000 steps
R is to run this string of commands

The motor should send the command P5000 once the button has been pressed,

otherwise, it will continue to wait at “H04”

LED or other output

The two I/O lines, pins 2 & 8, can drive an external device such as solenoids, LED’s,
or switches. The bidirectional I/O’s are switches to ground internally, and therefore

need to be connected to the +V of the power supply. Below is a recommended
connection for lighting an LED with 20 mAmps:

Upon entering command /1J0R, both pins 2 & 8 will output 1 Amps. The 1.2k ohm

resistor will limit the current to 20 mAmps into the LED. Select any ohm value to
limit your current based on the device that is connected to the output.

I/O’s are 24VDC tolerant.

RMS Technologies

Page 18

Version 1.05

R256 Controller Manual

4/3/2009