![Mitsubishi Electric CR750 Series Скачать руководство пользователя страница 408](http://html.mh-extra.com/html/mitsubishi-electric/cr750-series/cr750-series_instruction-manual_238840408.webp)
4-388
Detailed explanation of Robot Status Variable
P_ECord
[Function]
Returns the Ex-T coordinate system origin data currently used during the Ex-T control/Ex-T spline interpola-
tion movement.
[Format]
[Terminology]
<Position Variables>
Designates the numerical variable substituted for the reference results.
<Mechanism Number>
Sets the mechanism No. that executes Ex-T control/Ex-T spline interpolation.
Setting range: 1 to 3
When omitted: 1
If a non-existent mechanism No. is designated, the error L3870 (designated
mechanism No. invalid) will occur when execution is started.
[Reference Program]
1 P1 = P_ECord
' The Ex-T coordinate system origin data that executes interpolation is substi-
tuted for position variable P1.
[Explanation]
(1) During Ex-T control/Ex-T spline interpolation, the Ex-T coordinate system origin data most recently used
is returned.
(2) By referring to the P_ECord value with multi-task, the operation process or signal output, etc., can be
executed according to the progress of spline interpolation.
(3) P_ECord returns the value indicated in the following table according to the state.
Table 4-42:Value returned by P_ECord
(4) P_ECord is a read-only status variable.
[Related instructions]
EMvc (E Move C), EMvr (E Move R), EMvr2 (E Move R 2), EMvr3 (E Move R 3), EMvs (E Move S), EMvSpl
(E Move Spline)
Example)<Position Variables>=P_ECord [(<Mechanism Number>)]
Status
Value returned by P_ECord
Immediately after power ON
(0.0,0.0,0.0,0.0,0.0,0.0)(0,0)
During Ex-T control/Ex-T spline interpola-
tion execution
The Ex-T coordinate system origin data used for
interpolation
After Ex-T control/Ex-T spline interpolation
The Ex-T coordinate system origin data most
recently used
Immediately after main program’s End
command is executed
(0.0,0.0,0.0,0.0,0.0,0.0)(0,0)
Immediately after program reset operation
(0.0,0.0,0.0,0.0,0.0,0.0)(0,0)
Mechanism not compatible with Ex-T con-
trol/ Ex-T spline interpolation
(0.0,0.0,0.0,0.0,0.0,0.0)(0,0)