Editing Equation Network Blocks
Original instructions
Introduction
Equation networks in the LL984 Editor are provided as Equation Network Blocks.
Equation network blocks offer an opportunity to program complex mathematical functions, with values stored in memory words.
An Equation Network Block contains an assignment expression written in ST language.
In general you can use the features provided by ST language as long as it is a valid ST assignment expression.
Please refer to the Structured Text (ST) chapter and the ST Editor chapter.
Using the Equation Network Block
You can insert an Equation Network Block using the respective toolbar button, via menu (Edit → New → Equation Network block) or via the editors context menu (right mouse click).
An Equation Network Block can only be inserted in an LL984 network at row 1, column 2. The block is 7 rows high and 9 columns wide.
On the left side of an equation network block there is an Enable input pin, where you can connect a contact or a boolean connection.
On the right side there are 5 output pins (OK, Lower, Equal, Greater,Error), where you can connect 5 normally open coils. After inserting these coils are displayed with symbols inside according to the pin names (O, <, =, >, E).
Representation
Representation of the Equation Network Block
Items of the Equation Network Block
Item
Description
input pin Enable
you can connect a contact or a boolean connection to enable the block
equation network block
expression written in ST language
output pins
OK (O): set when the equation is solved without problems
Lower (<): set when the equation result is less than zero
Equal (=)set when the equation result is equal to zero
Greater (>)set when the equation result is greater than zero
Error (E): set when a problem occurred during solving the equation (see table below)
Problems During Solving
Problem
Description
invalid operation
An internal message generated by the math coprocessor.
overflow
A value is too large to be represented in its specified data type.
underflow
A number is too small to be represented in FP format (for floating point data only).
divided by 0
The variable, constant, or result of a function directly to the right of a / operator has a value of zero.