Announcement

Collapse
No announcement yet.

Trouble with MATH instruction (P3000)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts


  • Trouble with MATH instruction (P3000)

    Hi, I'm having some trouble with the a simple calculation and was looking for some help because I can't find any answers in the help manual. Below is the MATH equation I am trying to solve, and the Data View of the tags used. Any help is appreciated!


    Click image for larger version

Name:	MATH Instruction.PNG
Views:	71
Size:	46.1 KB
ID:	121251Click image for larger version

Name:	MATH Data View.PNG
Views:	48
Size:	38.8 KB
ID:	121252


  • #2
    It's a small answer, try storing the result into a Float Tag.

    Comment



    • #3
      Is the instruction being activated and the answer stays at 0? I dont really deal with negative numbers but I would expect your result should work fine as I believe Integer 32-bit allows showing negatives.

      Comment



      • #4
        Originally posted by OpZed View Post
        It's a small answer, try storing the result into a Float Tag.
        That was it! I thought it wasn't solving the equation but it was actually just so small it was rounding the answer to 0. Thanks!

        Comment

        Working...
        X