2-22
MDrive34Plus Motion Control Hardware Revision R080106
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.
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
O1=1 (Source ON)
O1=0 (Source OFF, Hi-Z)
S1=16,0,1
Output, Active LOW, Sourcing
O1=1 (Source OFF, Hi-Z)
O1=0 (Source ON)
Internal
pull-up
voltage
The internal pull-up voltage
cannot provide output
current / voltage
24.9k ohms
Sourcing Output Equivalent Circuit
always
off
switched
IOPWR
IOx
IOGND
MDrivePlus
2
LOAD
12 to
24 V
+
load current, sourcing
Sourcing Output
40-135
µ
A
Figure 2.3.11: Sourcing Output Example
Содержание MDrive 34 Plus Series
Страница 12: ...1 6 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 24: ...1 18 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 26: ...2 2 MDrive34Plus Motion Control Hardware Revision R080106 ...
Страница 50: ...2 26 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Страница 52: ...A 2 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...
Страница 66: ...A 16 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...
Страница 82: ...A 32 MDrive34Plus Motion Control Hardware Manual Revision R080106 Page Intentionally Left Blank ...