Mitsubishi MELFA CR1D Instruction Manual page 317

Table of Contents

Advertisement

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 1000
2 Act 1=1
3 Mov P1
4 Mov P2
5 Act 1=0
:
100 P100=P_Curr
101 Mov P100,-100
102 End
[Explanation]
(1) This can be used to identify the current position.
(2) This variable only reads the data.
[Reference]
J_Curr
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.
Detailed explanation of Robot Status Variable 4-304
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents