
4.DESCRIPTION OF PARAMETERS B-63790EN/01
- 342 -
4.25 CUSTOM MACRO PARAMETERS (DATA NO. 7000 AND
LATER)
#7 #6 #5 #4 #3 #2 #1 #0
7000 PRT CLV GMP CV
MGE BCS SCS TCS
[Input type] Parameter input
[Data type] Bit
#0 TCS Specifies whether to call subprograms with T codes.
0: Do not call with T codes.
1: Call with T codes.
#1 SCS Specifies whether to call subprograms with S codes.
0: Do not call with S codes.
1: Call with S codes.
#2 BCS Specifies whether to call subprograms with the second auxiliary
function codes.
0: Do not call with the second auxiliary function codes.
1: Call with the second auxiliary function codes.
#3 MGE Specifies whether a G code modal call is made after movement or for
each block.
0: Make a call after movement (equivalent to G66) .
1: Make a call for each block (equivalent to G66.1)
#4 CVA The format for macro call arguments is specified as follows:
0: Arguments are passed in NC format without modifications.
1: Arguments are converted to macro format then passed.
Example: When G65 P_ X10 ; is specified, the value in local
variable #24 in the calling program is set as follows:
Command CVA=0 CVA=1
#24 0.01 0.01
ADP[#24] 10.0 0.01
NOTE
External operations are the same unless the ADP
function is used.
#5 GMP Specifies whether to allow M, S, T, and B codes to be called while G
codes are being called, and whether to allow G codes to be called
while M, S, T, and B codes are being called.
0: Allow.
1: Do not allow (executed as ordinary M, S, T, B, and G codes) .
#6 CLV Specifies whether to clear custom macro common variables #100
through #199 (cleared when the power is turned off) upon reset.
0: Do not clear.
1: Clear to null.
#7 PRT Specifies whether to output a space instead of a leading zero with
DPRNT.
0: Output a space.
1: Output nothing.