Appendix B: I/O Application Guide; Standard I/O Set Interfacing And Application; Application Example - IMS Mforce micro drive Reference

Motion control
Table of Contents

Advertisement

ap pe n di x B

Standard I/O Set Interfacing and Application

NPN Sinking Input

Application Example

Vih = 2.31 V
Vil = 0.99 V
Threshold (nom) = 1.5 V
Iil
+
NPN
up to
24 V
NPN Input, Sinking
Proximity sensor will operate as a +Limit. When active LOW will index the motor to a specified
position.
'[VARIABLES]
S1=2,0,0
'[PROGRAMS]
PG
100
LB AA
MR 200000000
H
CL AB , I1 =
BR AA , I1 =
LB AB
PR "Error 83, Positive Limit Reached"
ER=0
MA - 10000
H
E
PG
'[END]
Appendices
= 100 µA
65 - 160 uA
IOx
Iil
GND
Figure B.1: NPN Interface to an MForce Sinking Input
'set IO1 to Limit+, Active LOW, sinking
'enter program mode at address 100
'label program AA
'move relative x distance
'hold program execution until move completes
0
'call subroutine AB if I1 = 0 (limit reached)
1
'branch to AA if I1=1
'Label Sub AB
'Absolute move to Pos. -10000
'hold program execution until move completes
'end program
'exit program.
I/O Application Guide
Internal
pull-up
voltage
3.3 V
100k ohms
detect
logic
24.9k ohms
MForce Sinking Input
Equivalent Circuit
A-5

Advertisement

Table of Contents
loading

Table of Contents