Output Interface Example (Sourcing Output); Figure 2.4.12: Sourcing Output Example - IMS Mforce micro drive Reference

Motion control
Table of Contents

Advertisement

2-32

Output Interface Example (Sourcing Output)

The following circuit example shows a load connected to an I/O point that will be configured as a sourcing
output.
The internal pull-up voltage
cannot provide output
current / voltage
Internal
pull-up
voltage
switched
always
off
Sourcing Output Equivalent Circuit
Code Sample
For the code sample, the load will be a relay. The output will be configured to be a General Purpose user out-
put that will be set active when a range of motion completes.
******Setup Variables******
S1=16,1,1
'set IO point 1 to be a user output, active when HIGH,
'sourcing.
******Program******
PG 100
'Enter program at address 100
MR 2000000
'Move some distance in the positive direction
H
'Hold execution until motion completes
MR -1000000
'Move some distance in the negative direction
H
'Hold execution until motion completes
O1=1
'Set output 1 HIGH
Enter EX 100 to execute the program, the motion will occur and the output will set high.
S1=16,1,1
Output, Active HIGH, Sourcing
S1=16,0,1
Output, Active LOW, Sourcing
MForce Plus 2
IOPWR
load current, sourcing
IOx
24.9k ohms
IOGND

Figure 2.4.12: Sourcing Output Example

O1=1 (Source OFF, Hi-Z)
Motion Control MForce MicroDrive Hardware Manual Revision R112706
+
12 to
24 V
LOAD
Sourcing Output
O1=1 (Source ON)
O1=0 (Source OFF, Hi-Z)
O1=0 (Source ON)

Advertisement

Table of Contents
loading

Table of Contents