
B-63943EN-1/02 13.PROGRAM COMMAND
- 1713 -
6045 Start program number of a subprogram called by M code
[Input type] Parameter input
[Data type] 2-word path
[Valid data range] 1 to 99999999
6046
Number of M codes used to call subprograms (number of subprograms
called by M codes)
[Input type] Parameter input
[Data type] 2-word path
[Valid data range] 0 to 32767
Set this parameter to define multiple subprogram calls using M codes
at a time. With M codes as many as the value set in parameter No.
6046 starting with the M code set in parameter No. 6044, the
subprograms of program numbers as many as the value set in
parameter No. 6046 starting with the program number set in 6045 can
be called. Set 0 in parameter No. 6046 to disable this mode of calling.
Example)
When parameter No. 6044 = 80000000, parameter No. 6045 =
30000000, and parameter No. 6046 = 100 are set, a set of 100
subprogram calls is defined as follows:
M80000000 → O30000000
M80000001 → O30000001
M80000002 → O30000002
:
M80000099 → O30000099
NOTE
1 When the following conditions are satisfied, all calls
using these parameters are disabled:
1) When a value not within the specifiable range is
set in each parameter
2) (Value of parameter No. 6045 + value of
parameter No. 6046 - 1) > 99999999
2 If a range of M codes set by these parameters
duplicate M codes specified in parameter No. 6071
to No. 6079, the calls specified by parameter No.
6071 to 6079 are made preferentially.
3 When a 5-digit or longer O number is used, the
option for 8-digit program numbers is required.