IMPORTANT NOTES:
Equations You must enter the equations correctly with the correct syntax. The Maths FB will check the syntax and formatting, but not the equation itself. If you enter an incorrect equation, the output will be incorrect. Motion Derivatives YOU must add the symbolic equation of each motion derivative. If your application needs position, velocity and acceleration, then you must add the three equations separately. If you do not add the motion derivatives (velocity and acceleration), their values remain at zero. Units Use the 'Output Data Type' in the Maths FB dialogbox dropdown box to select the units at the outputconnector. The units 'inside' the Maths FB are S.I. units. For example,

The Maths FB can use data that is available at the outputconnectors of other FBs. You can use the Maths FB to do: Simple Algebra For example 2+3. The output will be 5, of course. Parametric Constants For example, connect the output of a MotionDimension FB of a Crank and the output of a ForceData FB of the same Joint. You can use the Maths FB to multiply the Torque[Nm] and the Velocity[rad/sec]values to give the Power[kW] as the output. TopTip: Connect a Gearing FB to the input of a Maths FB. You can edit the Gearing FB, so that it becomes a parametricconstant of an equation in the Maths FB, for example 'Friction Coefficient'. Change the Units of a Variable For example, change the units at the inputconnector of a Maths FB  for example: mm or degrees  to different units at the outputconnector of the Maths FB  for example: Newtons. 
To add a Maths FB:
The Maths FB is now in the graphicarea To open a Maths FB dialogbox
or, 
The different areas of the Maths FB dialogbox: Click the Orange separator to see the buttons 'Add InputConnector' and 'Add OutputConnector' buttons [see also: below]. There is one OutputConnector from the Maths FB when you add it to the graphicarea. Click the 'Update' button to make sure the output from the Maths FB is as intended The 'units' of all OutputConnectors from the Maths FB are set with the Output DataType listbox  see also: below The Math equations for each channel of each OutputConnector. 

Basic ExampleFor example, we want to calculate Power from Torque and Velocity at a PinJoint: P = Ʈ . ω 

Prepare the model:
In CADLine dialogbox  Mass Properties tab > User Mass Properties . Enter a a value for the Mass parameter ['0' Radius of Gyration] In CADLine dialogbox  Mass Properties tab > User Mass Properties . Enter values for its position that is not at Origin of the CADLine.
We need two inputconnectors [Ʈ and ω] and one outputconnector [P]. By default, there is one outputconnector. 

The Angular Velocity [ω] input would be the Angular Velocity of the same PinJoint. You might use the output of a MotionDimension FB, if it is available. Or, you might need to measure the angularvelocity of the PinJoint with a Measurement FB.
You should now see the model in the image above. 

In the Maths FB dialogbox
p : is DataChannel #1 [Torque from ForceData FB that measures a PinJoint] (0) : is inputconnector[wire] #1 * : is to multiply v : is DataChannel #2 [Angularvelocity from a 'Rocker' MotionDimension] (1) : is inputconnector[wire] #2 Thus we are multiplying Torque and Angular Velocity to give 'Power' P = Ʈ . ω Use a Graph FB to Plot the Power 
DataChannels and InputConnectors When you click the Add Input button, you do not change anything inside the dialogbox. You only add a new inputconnector. Each wire you connect to the inputconnector has three[3] datachannels [typically, three motionderivatives] The input and the datachannel of an input is identified with a letter and a number.
p = Channel 1 ; v = Channel 2 ; a = Channel 3
The inputconnector is in parentheses in an equation. (0), (1), (2)... for inputconnectors 1, 2 and 3 respectively. 

Thus, examples might be: p(0) = Datachannel 1, with inputconnector 1 a(2) = Datachannel 3, with inputconnector 3 v(1) = Datachannel 2, with inputconnector 2 Data at OutputConnectors The data at each outputconnector are given in sets of three. The image has two sets of three: Outputconnector 0 and 1, with DataChannels 0–2 and 3–5, respectively. 

Output Data Type: Units (S.I. Units 'inside the Maths FB) Output DataType dropdown box specifies the units for all of the outputconnectors. If you change the Output Data Type, you should click the 'Update' button at the bottom of the dialogbox. The units that are used within each equation are the SI unit of the 'Output Data Type' : kilogram, metres, seconds, radians WARNING: An input of 18° becomes [2*π*18/360] = 0.314 radians within the Maths FB, and then back to 18° again when the Output Data Type is set to Rotary Coordinates. An input of 18° becomes [2*π*18/360] = 0.314 radians within the Maths FB, BUT the data is converted to 314mm from 0.314radians at the outputconnector, when the Output Data Type is set to Linear Coordinates. To look at the values at the outputconnector of a Maths FB, plot the values at the outputconnector of a Maths FB with a Graph FB. 

Valid Equations The ,or a at the start of each equation identifies whether the equation is valid. You must make it valid. An invalid equation might be where the number of parentheses is incorrect. Read the message in the Feedback Area. 
Each wire has three channels. 

