Cicode Programming Reference > Using Cicode Commands > Performing Calculations

Performing Calculations

Mathematical calculations can be performed between variables in a Cicode statement. For example:

B1_TIC_101_SP = B1_TIC_101_PV + B1_TIC_102_PV - 100;

When this command is executed, the variable B1_TIC_101_SP is set to a value that is the sum of variables B1_TIC_101_PV and B1_TIC_102_PV minus 100.