Built-in arithmetic functions – MTS Series 793 User Manual
Page 375
Subtraction
–
Direction
Result type
Operand type
Function
Operator
Precedence
Left-to-right
Int
Int or real
Less than
<
6
Less than or equal
<=
Greater than
>
Greater than or
equal
>=
Is equal
==
Not equal
!=
Left-to-right
Int
Int
Logical OR
||
7
Left-to-right
Logical AND
&&
The compiler will automatically provide conversions to get to the proper types. For example, if you add a real
number and an integer number, the code will convert the integer number to a real number before doing the
addition.
Built-in Arithmetic Functions
The language understands the following built-in arithmetic functions:
•
int abs(int x)
•
real acos(real x)
•
real asin(real x)
•
real atan(real x)
•
real atan2(real x, real y)
•
real cos(real x)
•
real cosh(real x)
•
real exp(real x)
•
real fabs(real x)
•
real in(real x)
•
real log10(real x)
•
real pow(real x, real y)
•
real sin(real x)
•
real sinh(real x)
•
real sqrt(real x)
•
real tan(real x)
MTS Series 793 Control Software 375
Calculated Signals
- Series 111 Accumulator (40 pages)
- Series 249G2 Swivels (34 pages)
- Series 201 Actuators (40 pages)
- Series 215 Rotary Actuator (68 pages)
- Series 242 Actuators (40 pages)
- Series 244 Actuators (68 pages)
- Series 247 Actuators (40 pages)
- Series 248 Actuators (46 pages)
- 709 Alignment System (158 pages)
- Series 609 Alignment Fixture (70 pages)
- 494 Controller Hardware FT 40 (344 pages)
- ReNew Technical Reference (50 pages)
- DCPD Measurement System (46 pages)
- Bionix EnviroBath (40 pages)
- FGW900 High-temperature Furnace (38 pages)
- Model 409.83 Temperature Controller (40 pages)
- Series 651 Environmental Chambers (30 pages)
- Series 653 High-Temperature Furnaces (38 pages)
- Series 658 Environmental Chamber (24 pages)
- Series FEC Environmental Chamber (48 pages)
- Model 685.53 Grip Control Module (24 pages)
- Series 685 Hydraulic Grip Supply (48 pages)
- Bend Fixture-10 kN (2 pages)
- Grip-Manual Bend Fixture-100 kN (2 pages)
- Grip-Manual Bollard-2 kN (2 pages)
- Grip-Manual Bollard-500 N (2 pages)
- Compression Platen-100 kN-100mm (2 pages)
- Compression Platen-100 kN-150mm (2 pages)
- Compression Platen-100 kN-200mm (2 pages)
- Compression Platen-20 kN (2 pages)
- Compression Platen-20 kN-100mm (2 pages)
- Compression Platen-20 kN-200mm (2 pages)
- Compression Platen-20 kN-SST (2 pages)
- Compression Platen-500 N FYC502A (2 pages)
- Compression Platen-500 N FYB502A (2 pages)
- Compression Platen-500 N-50mm (2 pages)
- Grip-Pneumatic Vise-Style-1 kN (2 pages)
- Pneumatic Bollard-500 N (2 pages)
- Scissor-Style-2 kN (2 pages)
- Scissor-Style-5 kN (2 pages)
- Screw-Style-5 kN (2 pages)
- Screw-Style-5 kN-SST (2 pages)
- Bend Fixture-1000 kN (2 pages)
- Bend Fixture-300 kN (2 pages)
- Bolt Grips (32 pages)