Mitsubishi Electric CR750-Q Instruction Manual page 406

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

Advertisement

4MELFA-BASIC V
P_Curr
[Function]
Returns the current position (X, Y, Z, A, B, C,L1,L2) (FL1, FL2).
[Format]
Example)<Position Variables>=P_Curr [(<Mechanism Number>)]
[Terminology]
<Position Variables>
<Mechanism Number>
[Reference Program]
1 Def Act 1,M_In(10)=1 GoTo *LACT
2 Act 1=1
3 Mov P1
4 Mov P2
5 Act 1=0
:
100 *LACT
101 P100=P_Curr
102 Mov P100,-100
103 End
[Explanation]
(1) This can be used to identify the current position.
(2) This variable only reads the data.
[Reference]
J_Curr,
P_Fbc
4-386 Detailed explanation of Robot Status Variable
Specifies the position variable to assign.
Enter the mechanism number. 1 to 3, If the argument is omitted, 1 is set as the
default value.
' Defines interrupt.
' Enables interrupt.
' Disables interrupt.
' Loads the current position when an interrupt signal is
received.
' Moves 100 mm above P100 (i.e, -100 mm in the Z direc-
tion of the tool).
' Ends the program.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents