2-32
Motion Control MForce MicroDrive Hardware Manual Revision R112706
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
MForce Plus2
LOAD
12 to
24 V
+
load current, sourcing
Sourcing Output
Figure 2.4.12: Sourcing Output Example
Содержание Mforce micro drive
Страница 8: ...vi Page Intentionally Left Blank ...
Страница 14: ...This Page Intentionally Left Blank ...
Страница 16: ...1 8 Motion Control MForce MicroDrive Hardware Manual Revision R112706 Page Intentionally Left Blank ...
Страница 32: ...2 2 Motion Control MForce MicroDrive Hardware Manual Revision R112706 This Page Intentionally Left Blank ...
Страница 68: ...A 2 MForce MicroDrive Motion Control Hardware Manual Revision R112706 ...