Application Notes
Configuring MDrive I/O: Sinking I/O
Home > Resources > Application Notes > Configuring MDrive I/O: Sinking I/O
Description
A sinking device provides a path for the current to ground. Terms used to describe sinking devices include NPN, Open Collector, Normally High, and IEC Negative Logic.
For this part of the tutorial, we will use the same hardware configuration examples as was used in the Connecting Power and I/O tutorial to show the configuration of I/O points to various I/O uses.
Applicable
- MDrive Linear Actuator
- MDrive Plus
- MForce
Requirements
DC power supply
Optional: +5 to +34 VDC Auxiliary supply
+5 to +24 VDC I/O supply (if using sourcing outputs).
Input and/or output devices
Cabling: 22 AWG shielded twisted pairs for I/O, Shielded twisted pair for power, AWG determined by length and current.
Details
NPN input
This setup example uses the hardware configuration shown in the illustration labeled A on the right. In this example case, we will assume that we need a PLC output to stop the motion of an axis due to an event elsewhere in the system. Thus we will configure I/O point 1 as a Soft Stop Input which will activate when LOW.
The command:
1 | S1=5,0,0 |
will set I/O1 to function as we desire:
- S1=: setup I/O 1
- 5: Soft Stop input function
- 0: Active when LOW
- 0: Sinking input type
Switch input
In this example case we will assume a linear actuator is needing positive and negative limit switches. We will use I/O3 as the positive limit and I/O4 as the negative limit.
The commands:
1 2 | S3=2,0,0 S4=3,0,0 |
will set I/O 3 and 4 to function as we desire:
- S3=: setup I/O 3
- 2: Positive Limit input function
- 0: Active when LOW
- 0: Sinking input type
- S4=: setup I/O 4
- 3: Negative Limit input function
- 0: Active when LOW
- 0: Sinking input type
Inductive load output
In this example case we will configure a sinking output. When active, the output will open a relay which will de-energize another part of the system on an error or fault.
The command:
1 | S2=18,1,0 |
will set I/O 2 to function as we desire:
- S2=: setup I/O 2
- 18: Fault/Error output function
- 1: Active when HIGH
- 0: Sinking output type
LED output
In this example case we will configure an output to illuminate a LED indicator when the axis is in motion.
The command:
1 | S1=17,0,0 |
will set I/O 1 to function as we desire:
- S1=Moving output function
- 0: Active when LOW
- 0: Sinking output type
When it comes to your form, fit and function requirements, don’t settle. Get precisely what you need working with us. We know motion.
Contact us with any questions about how we can help you with your motion application or for assistance with your IMS products.