
2-30
Motion Control MForce MicroDrive Hardware Manual Revision R112706
Input Interface Example - Switch Input Example (Sourcing Input)
The following circuit example shows a switch connected between an I/O point and a voltage supply which will
source the input to perform a function.
Code Sample
For the code sample, the switch will be set up as a Soft Stop sourcing input, active when HIGH.
When pressed, the switches will stop the motor.
S1=5,1,1
‘set IO point 1 to be a Soft Stop input, active when HIGH,
‘sourcing
SL 200000
‘enter this to slew the motor at 200000 µsteps/sec
When the switch is depressed the motor will decelerate to a stop.
Figure 2.4.10 Sourcing Input Example using a Push Button Switch
Switch Input, Sourcing
Internal
pull-up
voltage
detect
logic
40 - 135 uA
24.9k ohms
100k ohms
3.3 V
The internal pull-up voltage
cannot provide output
current / voltage
IOPWR
IOx
IOGND
Iih
MForce Plus
2
Vih = 2.31 V
Vil = 0.99 V
Threshold (nom) = 1.5 V
Iih = -1.24 mA