Executing A Multitask; Operation State Of Each Slot - Mitsubishi Electric CR750-Q Instruction Manual

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

Advertisement

4MELFA-BASIC V

4.3.2 Executing a multitask

Table 4-3:The multitask can be executed with the following three methods.
Types of execution
Execution from a program
1
Execution from controller
2
operation panel or external
input/output signal
Executing automatically
3
when the power is turned
on

4.3.3 Operation state of each slot

The operation state of each slot changes as shown in
Each state can be confirmed with the robot status variable or external output signal.
4-126 Multitask function
This method starts parallel operation of the programs from a random
position in the program using a MELFA-BASIC IV command. The pro-
grams to be run in parallel can be designated, and a program running in
parallel can be stopped.
This method is effective when selecting the programs to be run in paral-
lel according to the program flow.
The related commands include the
"XStp (X
Stop)",
to
Page 168, "4.13 Detailed explanation of command words"
ual for details.
In this execution type, depending on the setting of the information of the
"SLT*" parameter, the start operation starts concurrent execution or con-
stant concurrent execution, or starts concurrent execution at error occur-
rence. It is necessary to set the "SLT*" parameter in advance.
This method does not rely on the program flow, and is effective for carry-
ing out simultaneous execution with a preset format, or for sequential
execution.
It is possible to start constant execution immediately after turning the
controller's power on. If ALWAYS is specified for the start condition of
the SLT* parameter, the program is executed in constant execution
mode immediately after the controller's power is turned on.
This eliminates the trouble of starting the programs in task slots used for
monitoring input/output signals from the PLC side.
In addition, it is possible to execute a program from within another pro-
gram that controls movement continuously. In this case, set the value of
the "ALWENA" parameter to 1 in order to execute X** instructions such
as XRun and XLoad, the Servo instruction, and the Reset instruction.
selection state
Start
XRun
XRUN
Running
(RUN)
Fig.4-2:Operation state of each slot
Explanation
"XRst (X Reset)"
and
Fig. 4-2
according to the operations and commands.
Program
(PSA)
Cycle stop
Stop
XStp
XSTP
"XLoad (X
Load)",
"XRun (X
"XClr (X Clear)"
commands. Refer
Program reset
XRst
XRST
Waiting
(WAI)
Start
XRun
XRUN
Run)",
in this man-

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents