Mitsubishi Electric CR750-Q Instruction Manual page 727

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

<Sample program>
1 Def Map 3,851,On,1,PC1,PC2,20,10
2 Mov PM1
3 GpsChk On,3
4 Mvs PM2
5 GpsChk Off,3
6 M1=M_Gps(3)
7 If M1=0 Then Error 9000
8 For M2=1 To 20
9 M_Out(6100+M2)=M_Map3(M2) ' The results of the mapping are output with a signal (the signal number "6101" is assigned for the
10 Next M2
' The position data of the mechanism No. 1 is recorded for the monitoring No. 3 when the signal
No. 851 is turned on, and the mapping is executed according to the defined condition.
PC1: Lowest point (first segment) in a cassette, PC2: Highest point (last segment) in a cassette,
20: the number of segments in a cassette (20 segments), 10: a sensitive area of a sensor (10
mm)
' The robot moves its arm to the mapping start position.
' Monitoring a condition for the monitoring No. 3 is started.
The position data of the mechanism No. 1 is recorded when the signal No. 851 is turned on.
' The robot moves its arm to the mapping stop position.
' Monitoring a condition for the monitoring No. 3 is stopped.
' Using the recorded position data, the segment number in which the workpiece is present is
stored in the M_Map3().
' The number of the position data recorded in the P_Gps3 is stored.
' The error 9000 is generated if no position data is recorded.
'
first result).
' The process performed for the first segment is repeated for the remaining segments.
Get-position-quick function Appendix-707
7Appendix

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents