EasyManuals Logo

Mitsubishi Electric CR750-Q User Manual

Mitsubishi Electric CR750-Q
730 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #187 background imageLoading...
Page #187 background image
4MELFA-BASIC V
Priority level of operations 4-167
[Caution]
•The operation of the section described with a "-" is not defined.
•The results of the integer and the integer multiplication/division is an integer type for multiplication, and a
real number type for division.
•If the right argument is a 0 divisor (divide by 0), an operation will not be possible.
•During exponential operation, remainder operation or logical operation (including negate), all real numbers
will be forcibly converted into integers (rounded off), and operated.
4.10 Priority level of operations
In the event there are many operators within an expression being calculated, the order of operations is as
shown in Table 4-13.
Table 4-13:Priority level of operations
4.11 Depth of program's control structure
When creating a program, the depth of the control structure must be considered.
When using the commands in the Table 4-14, the program's level of control structure becomes one level
deeper. Each command has a limit to the depth of the control structure. Exceeding these limits will cause an
error.
Table 4-14:Limit to control structure depth
4.12 Reserved words
Reserved words are those that are already used for the system.
A name that is the same as one of the reserved words cannot be used in the program.
Instructions, functions, and system status variables, etc. are considered reserved words.
Operations, (operators) Type of operation Priority level
1) Operations inside parentheses ()
2) Functions
3) Exponents
4) Single argument operator (+, -)
5) * /
6) \
7)MOD
8) + -
9)<< >>
10) Comparison operator
(=,<>,><,<,<=,=<,>=,=>)
11)Not
12)And
13)Or
14)Xor
Functions
Numeric value operation
Numeric value operation
Numeric value operation
Numeric value operation
Numeric value operation
Numeric value operation
Logic operation
Comparison operation
Logic operation
Logic operation
Logic operation
Logic operation
High
:
:
:
:
:
:
:
:
:
:
:
:
:
Low
No. of levels Applicable commands
User stack in program 16 levels Repeated controls (For-Next,While-WEnd)
8 levels Function calling (CallP)
800 levels max. Subroutine calling (GoSub)
The number decreases by usage frequency of For-Next, While-WEnd, and CallP
instructions.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Electric CR750-Q and is the answer not in the manual?

Mitsubishi Electric CR750-Q Specifications

General IconGeneral
BrandMitsubishi Electric
ModelCR750-Q
CategoryController
LanguageEnglish

Related product manuals