![IMS MDrive 34 Plus Series Hardware Reference Manual Download Page 67](http://html.mh-extra.com/html/ims/mdrive-34-plus-series/mdrive-34-plus-series_hardware-reference-manual_2049848067.webp)
A-17
Appendices
appendix D
I/O Application Guide
Standard I/O Set Interfacing and Application
NPN Sinking Input
Application Example
Proximity sensor will operate as a +Limit. When active LOW will index the motor to a specified
position.
‘[VARIABLES]
S1=2,0,0 ‘set IO1 to Limit+, Active LOW, sinking
‘[PROGRAMS]
PG 100 ‘enter program mode at address 100
LB AA ‘label program AA
MR 200000000 ‘move relative x distance
H ‘hold program execution until move completes
CL AB , I1 = 0 ‘call subroutine AB if I1 = 0 (limit reached)
BR AA , I1 = 1 ‘branch to AA if I1=1
LB AB ‘Label Sub AB
PR “Error 83, Positive Limit Reached”
ER=0
MA - 10000 ‘Absolute move to Pos. -10000
H ‘hold program execution until move completes
E ‘end program
PG ‘exit program.
‘[END]
NPN Input, Sinking
Internal
pull-up
voltage
detect
logic
24.9k ohms
100k ohms
3.3 V
GND
Iil
65 - 160 uA
MDrivePlus Sinking Input
Equivalent Circuit
IOx
Vih = 2.31 V
Vil = 0.99 V
Threshold (nom) = 1.5 V
Iil = 100 µA
up to
24 V
NPN
+
Figure D.1: NPN Interface to an MDI Sinking Input
Summary of Contents for MDrive 34 Plus Series
Page 12: ...1 6 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Page 24: ...1 18 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...
Page 26: ...2 2 MDrive34Plus Motion Control Hardware Revision R080106 ...
Page 50: ...2 26 MDrive34Plus Motion Control Hardware Revision R080106 Page Intentionally Left Blank ...