Cause:
Arithmetic is performed between variables of two different types, such as adding a BOOL variable and an INT variable.
Troubleshooting:
Check whether the types of all variable parameters in the arithmetic operation on the error line are reasonable.
Solution:
Change the variables on both sides of the arithmetic operator to the same type.
Case sharing:
bool2:=bool2+int0
Here bool2 is of type BOOL, and int0 is of type INT.
Running this statement reports error 3729.