A-18
MDrive34Plus Motion Control Hardware Manual Revision R080106
PNP Sourcing Input
Application Example
Will use this input as a general purpose input which will run a motion subroutine when HIGH.
‘[VARIABLES]
S1=0,1,1 ‘set IO1 Gen Purpose User, active HIGH, src
S2=0,1,1 ‘set IO1 Gen Purpose User, active HIGH, src
‘[PROGRAMS]
‘*****Main Program*****
PG 100
LB AA
CL SA,I1=1 ‘call sub SA if IO1=1
CL SB,I2=1 ‘call sub SB if IO2=1
BR AA
‘******Subroutines*******
LB SA ‘Subroutine will perform some motion
MR 200000
H
MR -200000
H
BR SA,I1=1 ‘conditional branch to beginning of sub
BR AA,I1=0 ‘Branch to main program if IO1=0
RT
LB SB ‘Subroutine will perform some motion
MR 10000
H
MR -10000
H
BR SB,I2=1 ‘conditional branch to beginning of sub
BR AA,I2=0 ‘Branch to main program if IO1=0
RT
E
PG
‘[END]
PNP Input, Sourcing
Internal
pull-up
voltage
detect
logic
40 - 135 uA
24.9k ohms
100k ohms
3.3 V
The internal pull-up voltage
cannot provide output
current / voltage
IOx
GND
Iih
MDrivePlus Sourcing Input Equivalent
Vih = 2.31 V
Vil = 0.99 V
Threshold (nom) = 1.5 V
Iih = -1.24 mA
up to
24 V
PNP
+
Figure D.2: PNP Interface to a Sourcing 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 ...