Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: AArithm does not support inverted digitals

AArithm does not support inverted digitals 6 months 2 weeks ago #10429

  • AutoMate
  • AutoMate's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 113
  • Karma: 0
This is not really a bug, rather an unexpected surprise in version 5.5. In the AArithm help file, there is an example on how to count digital inputs. In the example, one digital signal is inverted with an explanation on how inverted signals are counted.



However, when building a similar test counter circuit, a compiler warning appears during a syntax check notifying digital inversion is not supported. However, the plc program will build and compile normally without any warning or error.

AArith_1.png


In real-time, inverted signals are ignored as the compiler warns.

AArith2.png


A simple work-around is to invert an input by adding a ! to the input equation, as follows:

d1 + !d2 + d3 ,where !d2 = NOT(d2).


Regards,

/Ron
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.882 seconds