![Galil DMC-4040 Скачать руководство пользователя страница 189](http://html1.mh-extra.com/html/galil/dmc-4040/dmc-4040_user-manual_3282915189.webp)
Limit Switch Routine
The DMC-40x0 provides forward and reverse limit switches which inhibit motion in the respective direction. There
is also a special label for automatic execution of a limit switch subroutine. The #LIMSWI label specifies the start of
the limit switch subroutine. This label causes the statements following to be automatically executed if any limit
switch is activated and that axis motor is moving in that direction. The RE command ends the subroutine.
The state of the forward and reverse limit switches may also be tested during the jump-on-condition statement. The
_LR condition specifies the reverse limit and _LF specifies the forward limit. X,Y,Z, or W following LR or LF
specifies the axis. The CN command can be used to configure the polarity of the limit switches.
Limit Switch Example:
#A;JP #A;EN
Dummy Program
#LIMSWI
Limit Switch Utility
V1=_LFX
Check if forward limit
V2=_LRX
Check if reverse limit
JP#LF,V1=0
Jump to #LF if forward
JP#LR,V2=0
Jump to #LR if reverse
JP#END
Jump to end
#LF
#LF
MG
“
FORWARD LIMIT
”
Send message
STX;AMX
Stop motion
PR-1000;BGX;AMX
Move in reverse
JP#END
End
#LR
#LR
MG
“
REVERSE LIMIT
”
Send message
STX;AMX
Stop motion
PR1000;BGX;AMX
Move forward
#END
End
RE
Return to main program
DMC-40x0 User Manual
Chapter 8 Hardware & Software Protection
•
180
Содержание DMC-4040
Страница 17: ...DMC 4080 Layout Figure 2 2 Outline of the of the DMC 4080 DMC 40x0 User Manual Chapter 2 Getting Started 8...
Страница 19: ...DMC 4040 Dimensions Figure 2 5 Dimensions of DMC 4040 DMC 40x0 User Manual Chapter 2 Getting Started 10...
Страница 20: ...DMC 4080 Dimensions Figure 2 6 Dimensions of DMC 4080 Chapter 2 Getting Started 11 DMC 40x0 User Manual...
Страница 54: ...Chapter 3 Connecting Hardware 45 DMC 40x0 User Manual...
Страница 55: ...DMC 40x0 User Manual Chapter 3 Connecting Hardware 46...
Страница 56: ...Chapter 3 Connecting Hardware 47 DMC 40x0 User Manual...
Страница 73: ...Figure 4 1 GalilTools DMC 40x0 User Manual Chapter 4 Software Tools and Communication 64...
Страница 185: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 7 Application Programming 176...
Страница 205: ...THIS PAGE LEFT BLANK INTENTIONALLY DMC 40x0 User Manual Chapter 10 Theory of Operation 196...
Страница 220: ...Step 2 Remove ICM For DMC 4040 Proceed to Step 3 Configure Circuit Appendices 211 DMC 40x0 User Manual...
Страница 222: ...Step 2 Remove ICM s Appendices 213 DMC 40x0 User Manual...
Страница 232: ...DMC 4080 Steps 4 and 5 Step 4 Replace ICM s Appendices 223 DMC 40x0 User Manual...