Parameters 
  4.8 Logic modules 
SIMOCODE pro - Parameterize 
Operating Manual, 04/2017, A5E40507630002A/RS-AA/001 
265 
 
Calculators (calculation modules) 3, 4 
Description 
Using the "Calculator 3" and "Calculator 4" function blocks (for SIMOCODE pro V PN and 
pro V EIP basic units only), analog values can be processed according to the following 
arithmetic:  
Output = Input 1 [Operator 1] Input 2 [Operator 2] Input 3 [Operator 3] Input 4. 
You can connect the corresponding analog signals to the 4 inputs "Calculator 3/4 - Inputs 1 
to 4". As operators "Calculator 3/4 - Operator 1 to 3," you can choose one of the four 
standard operators ("+", "-", "*," or "/"). 
With "Calculator 3/4 - Priority 1 to 3," you can specify the processing sequence (high, 
medium, low). You must clearly define a priority for each operator. The priority determines 
the processing sequence comparable to the placement of a term inside parentheses. 
Example:  
Output = I1 OP1 I2 OP2 I3 OP3 I4, where 
●  OP1 = "*"; Medium, 
●  OP2 = "+"; High, 
●  OP3 = "-"; Low 
Associated equation: Output = (I1 * (I2 + I3)) - I4. 
If you interconnect the input to the device-internal analog output data element "Output 1 - 
Fixed level", the input is assigned the constant "Const x" (x = 1 - 4). In this case, the 
respective edit field for the constant is activated. You can enter a value between 0 and 
65535. 
The "Calculator 3" and "Calculator 4" function blocks each consist of: 
●  Four analog plugs 
●  One analog socket 
●  Logic.