EasyManua.ls Logo

Galil DMC-4040 - Page 137

Galil DMC-4040
284 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1. Give the AL XYZW command or ABCDEFGH for DMC-4080, to arm the latch for the main encoder and
ALSXSYSZSW for the auxiliary encoders.
2. Test to see if the latch has occurred (Input goes low) by using the _AL X or Y or Z or W command.
Example, V1=_ALX returns the state of the X latch into V1. V1 is 1 if the latch has not occurred.
3. After the latch has occurred, read the captured position with the RL XYZW command or _RL XYZW.
Note: The latch must be re-armed after each latching event.
Example:
#Latch Latch program
JG,5000 Jog Y
BG Y Begin motion on Y axis
AL Y Arm Latch for Y axis
#Wait #Wait label for loop
JP #Wait,_ALY=1 Jump to #Wait label if latch has not occurred
Result=_RLY Set value of variable ‘Result’ equal to the report position of y axis
Result= Print result
EN End
DMC-40x0 User Manual Chapter 6 Programming Motion 128

Table of Contents

Related product manuals