Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
2-38
2.5.6 Structure creation instructions
Table 2.23 Structure Creation Instructions
*1: n indicates number of arguments for subroutine program.
*2: n indicates the total of the number of arguments used in the subroutine program and the number of program
name steps. The number of program name steps is calculated as "number of characters in the program/2"
(decimal fraction is rounded up).
*3: The subset is effective only with the
Universal model QCPU.
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Number of
repeats
FOR
• Executes n times between the
and .
2-
7-105
NEXT
1-
BREAK
• Forcibly ends the execution of the
to cycle and jumps pointer Pn.
3 - 7-108
BREAKP
Subroutine
program
calls
CALL
• Executes subroutine program Pn when
input condition is met. (S1 to Sn are
arguments sent to subroutine program.
n 5)
*1
2
+
n
*3
7-110
CALLP
RET
• Returns from subroutine program 1 - 7-115
FCALL
• Performs non-execution processing of
subroutine program Pn if input
conditions have not been met. (S1 to
Sn are arguments sent to subroutine
program. n 5)
*1
2
+
n
-7-116
FCALLP
ECALL
• Executes subroutine program Pn from
within designated program name when
input condition is met. (S1 to Sn are
arguments sent to subroutine program.
n 5)
*2
3
+
n
- 7-120
ECALLP
FOR n
FOR
NEXT
NEXT
BREAK PnD
FOR
NEXT
BREAKP PnD
CALL Pn
CALL Pn S1 Sn
CALLP Pn
CALLP Pn S1 Sn
RET
FCALL Pn
FCALL
Pn
S1
Sn
FCALLP Pn
FCALLP
Pn
Sn
S1
ECALL Pn
: File name
ECALL
PnS1 Sn
ECALLP
ECALLP PnS1 Sn
:
File name