![Mitsubishi Electric CR800 Series Скачать руководство пользователя страница 175](http://html.mh-extra.com/html/mitsubishi-electric/cr800-series/cr800-series_instruction-manual_238852175.webp)
15 Maintenance of robot program
MELFA-BASIC V or MELFA-BASIC VI instruction 15-163
P_TrkTarget
[Function]
Refer to the information (“P_TrkWork”, “M_TrkEnc”) read from the tracking buffer when “TrkChk”, “TrkWait”
command is executed, and the current workpiece position calculated by the state vari
able “P_EncDlt”.
[Format]
[Referencing]
<Position variable> = P_TrkTarget
[Terminology]
<Position variable>
Return the information (P_TrkWork, M_TrkEnc) read from the tracking buffer when “TrkChk”, “TrkWait”
command is executed, and the current workpie
ce position calculated from the state variable “P_EncDlt”.
[Reference program]
M_TrkBuf(1) = 1
’ Tracking buffer corresponding to the condition number 1 uses number 1.
・・・・・
TrkChk 1, P1, PWAIT, *LTRST
’ Check the workpiece of the specified tracking buffer.
・・・・・
PWrkNow = P_TrkTarget
’ Substitute the current workpiece position.
[Explanation]
(1)
You can confirm the current workpiece position by referencing the information read from the tracking
buffer when “TrkChk”, “TrkWait” command is executed.
(2)
If you execute the writing to “M_TrkTarget”, L3210 (This variable is write protected) error occurs.
Содержание CR800 Series
Страница 2: ......
Страница 12: ......
Страница 29: ...3 Specification Q173DPX manual pulser input unit specification 3 17 3 Specification of hardware 7 1ms ...
Страница 202: ...18 Appendix 18 190 Calibration sheet ...
Страница 203: ......
Страница 204: ...Apr 2020 MEE Printed in Japan on recycled paper Specifications are subject to change without notice ...