![Mitsubishi Electric CR750 Series Скачать руководство пользователя страница 260](http://html.mh-extra.com/html/mitsubishi-electric/cr750-series/cr750-series_instruction-manual_238840260.webp)
4-240
Detailed explanation of command words
GpsChk (Get position check)
[Function]
This command starts/stops monitoring the condition defined in the Def Gps command or Def Map command
using the get-position-quick function (GPS function).
Before executing this command, define the monitored condition in the Def Gps command or Def Map com-
mand.
[Format]
[Terminology]
<On/Off>
On: Monitoring of the condition defined in the Def Gps command or Def Map command
is started.
The data stored in the M_Gps(n), P_GpsX(), and M_MapX() corresponding the target
monitoring number is cleared to zero ("X" indicates the same number as the target
monitoring number from 1 to 8).
Off: Monitoring of the target input signal is stopped.
The data being stored in the M_Gps(n), P_GpsX(), and M_MapX() corresponding
to the target monitoring number is imported.
<Monitoring No.>
Set the same monitoring number as set in the Def Gps command or Def Map command.
[Reference Program]
1 Def Gps 7,852,Off,1
‘ The position data of the mechanism No. 1 is recorded for the monitoring No. 7
when the signal No. 852 is turned off.
2 GpsChk On,7
‘ Monitoring a condition for the monitoring No. 7 is started.
3 Mvs P1
‘ Moves to P1
4 GpsChk Off,7
‘ Monitoring a condition for the monitoring No. 7 is stopped.
[Explanation]
(1) This command starts/stops monitoring the condition defined in the Def Gps command or Def Map com-
mand.
(2) The data set in <Monitoring No.> in the P_GpsX() and M_Gps(n) is cleared to zero when the GpsChk On
command is executed.
(3) The data set in <Monitoring No.> in the P_GpsX() and M_Gps(n) is created when the GpsChk Off com-
mand is executed. Before using the data obtained using the get-position-quick function (GPS function),
execute the GpsChk Off command.
(4) This command is not available for the programs in which the starting condition is set to ALWAYS or
ERROR.
(5) This command is not covered by the continue function.
[Related instructions]
,
[Related system status variables]
,
GpsChk[] <On/Off>, <Monitoring No.>