ap pe n di x D
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
'[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
�����������
���
���
����������
���
�������������������������
Figure D.1: NPN Interface to an MDI 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
��������
�������
�������
�����
���������
������
�����
������������������
A-17
Need help?
Do you have a question about the MDrive17Plus and is the answer not in the manual?