Mitsubishi Electric CR750-Q Instruction Manual page 260

Cr750/cr751/cr760 series
Hide thumbs Also See for CR750-Q:
Table of Contents

Advertisement

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]
GpsChk[] <On/Off>, <Monitoring No.>
[Terminology]
<On/Off>
<Monitoring No.>
[Reference Program]
1 Def Gps 7,852,Off,1
2 GpsChk On,7
3 Mvs P1
4 GpsChk Off,7
[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
[Related system status variables]
M_Gps,
P_Gps1 to
4-240 Detailed explanation of command words
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.
Set the same monitoring number as set in the Def Gps command or Def Map command.
' The position data of the mechanism No. 1 is recorded for the monitoring No. 7
when the signal No. 852 is turned off.
' Monitoring a condition for the monitoring No. 7 is started.
' Moves to P1
' Monitoring a condition for the monitoring No. 7 is stopped.
position),
Def Map (Define mapping)
P_Gps8,
M_Map1 to M_Map8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents