EasyManua.ls Logo

Mitsubishi Electric CR760-D - Page 260

Mitsubishi Electric CR760-D
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4-240 Detailed explanation of command words
4MELFA-BASIC V
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]
Def Gps (Define get position), Def Map (Define mapping)
[Related system status variables]
M_Gps, P_Gps1 to P_Gps8, M_Map1 to M_Map8
GpsChk[] <On/Off>, <Monitoring No.>

Table of Contents

Related product manuals