Okuma Alarm-B 2233 EXPRESSION buffer over


Okuma Alarm-B 2233 EXPRESSION buffer over
The number of expressions too many, making calculation impossible.

Object
SYSTEM

Code
1->Overflow of operand stack in calculation of subscript expressions and operation expressions (more than 16).
2->Overflow of operator data stack in calculation of operation expressions (more than 8).
Program Example:
V1=1+[1+[1+[1+[1+[1+[1+[1+[1+1]]]]]] -> [Code]1
The number of operators to the left of the first right bracket is 18.
V1=1+[1+[1+[1+[1+[1+[1+[1+1]]]]]]]]] -> [Code]2
Since calculation is impossible until the ninth data is read, data stack overflow occurs.
2V1=1+2*[3/[1+5*[2+[3-5*2]]]] -> [Code]2
Same as above
V1=1+2+3+4+5+6+7+8+9 -> [Code]2
Although a total of nine data Bits are specified, calculation is possible from the left-most data in order. Therefore overflow of the data stack does not occur.

Measures to Take
The NC stores (up to 16 pieces of) operator data on the left side and (up to 8) operators according to the priority of operator.
Change the operation expression by moving the higher-priority operation to the left side of the lower-priority operation.

Okuma Alarm-B 2233 EXPRESSION buffer over