Mitsubishi Electric CR750-Q Instruction Manual page 299

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

Advertisement

Priority (Priority)
[Function]
In multitask program operation, multiple program lines are executed in sequence (one by one line according
to the default setting). This instruction specifies the priority (number of lines executed in priority) when pro-
grams are executed in multitask operation.
[Format].
Priority[]<Number of executed lines> [, <Slot number>]
[Terminology]
<Number of executed lines>
<Slot number>
[Reference Program]
Slot 1
1 Priority 3
Slot 2
1 Priority 4
[Explanation]
(1) Programs of other slots are not executed until the specified number of steps is executed. For example,
as in the statement example above, if Priority 3 is set for slot 1's program and Priority 4 is set for slot 2's
program, three steps of the slot 1 program are executed first, then four steps of the slot 2 program are
executed. Afterward, this cycle is repeated.
(2) The default value is 1 for all the slots. In other words, the execution moves to the next slot every time one
step has been executed.
(3) An error occurs if there is no program corresponding to the specified task slot.
(4) It is possible to change the priority even while the program of the specified task slot is being executed.
Specify the number of lines executed at once .
Use a numerical value from 1 to 31.
1 to 32. If this argument is omitted, the current slot number is set.
' Sets the number of executed steps for the current slot to 3.
' Sets the number of executed steps for this slot to 4.
Detailed explanation of command words 4-279
4MELFA-BASIC V

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr750Cr751-qCr751-dCr760-dCr760-qCr750-d

Table of Contents