24
I n t e r f a c i n g O u t p u t s
The MDrive Motion Control Outputs may be configured as either general purpose or set to one of two dedicated functions, Fault or
Moving. These outputs will sink up to 700 mA max and may be connected to +5 to +24VDC. Note that a current limiting resistor may
be required to limt the current to 700 mA.
As with the inputs the MDrive Motion Control Outputs may be used singularly or collectively as a group.
I n t e r f a c i n g a S i n g l e O u t p u t E x a m p l e s
Figure 2.7: Output Interfaced to an LED
Figure 2.8: Output Interfaced to a Relay
PIN 1
MDrive23 Motion Control
Sample Software Configuration #1: FAULT
S4=18,0 'Set IO4 to Fault, Active State=LOW
Sample Software Configuration #2: General Purpose
S4=16,0 'Set IO4 to General Purpose, Active State=LOW
+5 to +24 V
*External Resistor may be needed to
limit output sink current to 700mA
PIN 1
MDrive23 Motion Control
Sample Software Configuration
'set outputs to user outputs active low,
S1=16,0
S2=16,0
S3=16,0
S4=16,0
OT=<0-15> `Set outputs as 1 value
+5 to +24VDC
Figure 2.9: Outputs Interfaced to LED’s as a Group
Input Functions
S<point>=
Function
Active
16
General Purpose
0/1
17
Fault
0/1
18
Moving
0/1
Table 2.5: Output Functions
I n t e r f a c i n g O u t p u t s a s a G r o u p E x a m p l e
To write to the outputs as a group the OT instruction is
used. This will give you a binary output of 0000 to 1111
from a decimal entry of 0-15. Output 1 will be the Least
Significant Bit (LSB), Output 4 will be the Most Significant
Bit (MSB).
See Table 2.4 for Truth Table.
PIN 1
MDrive23 Motion Control
Sample Software Configuration #1: FAULT
S4=18,0 'Set IO4 to Fault, Active State=LOW
Sample Software Configuration #2: MOVING
S4=17,0 'Set IO4 to Moving, Active State=LOW
(LED will illuminate when Axis is moving)
+5 to +24 V
Summary of Contents for 17
Page 1: ...OPERA TING INSTRUCTIONS T intelligent motion systems inc Excellence in MotionTM TM ...
Page 5: ...3 Part 1 General Information and Hardware Specifications ...
Page 6: ...4 Intentionally Left Blank ...
Page 19: ...17 Part 2 Connecting Configuring and Programming the MDrive Motion Control ...
Page 20: ...18 Intentionally Left Blank ...