![IMS MDrive 34 Plus Series Hardware Reference Manual Download Page 42](http://html.mh-extra.com/html/ims/mdrive-34-plus-series/mdrive-34-plus-series_hardware-reference-manual_2049848042.webp)
2-18
MDrive34Plus Motion Control Hardware Revision R080106
Output Interface Example (Sinking Output)
The following circuit example shows a load connected to an I/O point that will be configured as a sinking
output.
Code Sample
For the code sample, the load will be an LED. The I/O point will be configured such that the LED will be
unlit while the velocity is changing. Use the switch set-up from the previous input, modified to be sinking,
example to soft stop the motor.
S1=5,0,0
‘set IO point 1 to be a Soft Stop input, active when LOW,
‘sinking.
S1=20,0,0
‘set IO point 2 to be a Velocity Changing output, active when
‘LOW
SL 2000000
‘enter this to slew the motor at 200000 µsteps/sec
While the motor is accelerating the LED will be dark, but will light up when the motor reaches a constant
velocity. When the Soft Stop switch is depressed the motor will begin to decelerate, the LED will go dark again
while velocity is changing.
S1=16,1,0
Output, Active HIGH, Sinking
O1=1 (Sink OFF, Hi-Z)
O1=0 (Sink ON)
S1=16,1,1
Output, Active LOW, Sourcing
O1=1 (Sink ON)
O1=0 (Sink OFF, Hi-Z)
Internal
pull-up
voltage
24.9k ohms
Sinking Output Equivalent Circuit
always
off
switched
65-160
µ
A
IOx
GND
MDrivePlus
load current, sinking
up to
24 V
LOAD
Sinking Output
+
Diode recommended for
inductive loads
Figure 2.3.7: Sinking Output Example
NOTE: On
the Standard
MDrivePlus, when
configured as outputs, the
I/O set is sinking ONLY!
The Plus2 Models add the
functionality of I/O Power,
which enables the user to
use all the outputs, both
Standard and Enhanced, as
Sinking or Sourcing.
Summary of Contents for MDrive 34 Plus Series
Page 12: ...1 6 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Page 24: ...1 18 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Page 26: ...2 2 MDrive34Plus Motion Control Hardware Revision R080106 ...
Page 50: ...2 26 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...