Input Interface Example - Switch Input Example (Sourcing Input); Figure 2.4.10 Sourcing Input Example Using A Push Button Switch - IMS Mforce micro drive Reference

Motion control
Table of Contents

Advertisement

2-30

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
Vih = 2.31 V
Vil = 0.99 V
Threshold (nom) = 1.5 V
Iih
Switch Input, Sourcing

Figure 2.4.10 Sourcing Input Example using a Push Button Switch

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.
2
MForce Plus
= -1.24 mA
IOPWR
IOx
Iih
40 - 135 uA
IOGND
Motion Control MForce MicroDrive Hardware Manual Revision R112706
The internal pull-up voltage
Internal
cannot provide output
pull-up
current / voltage
voltage
3.3 V
100k ohms
detect
logic
24.9k ohms

Advertisement

Table of Contents
loading

Table of Contents