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

TOPIC: Negative value

Negative value 13 years 4 months ago #1296

  • Grzegorz
  • Grzegorz's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 51
  • Karma: 0
I would like to activate a dynamic when a bit is 0 not 1. For example:
I would like to set the LowColor to Green when PLC-Prog.H1 is 0, therefour I set the attribute to PLC-Prog.H1##boolean, and now it activates on 1. What must I write to make it react on 0?
Something like !(PLC-Prog.H1##boolean) or 1 - PLC-Prog.H1##boolean. I've tried many options but nothing works, how to do it? (I dont want to change nothing in the PLC program).

Avoiding flooding this forum I'll write here next question: is it possible to have a info box after mouse over action? How can I do it?

Thanks

Post edited by: Grzegorz, at: 2010/12/27 14:21
The administrator has disabled public write access.

Re:Negative value 13 years 4 months ago #1297

  • nylund
  • nylund's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
!PLC-Prog.H1##Boolean is the correct syntax.

I didn't fully understand your second question but there is an Action called tooltip that shows a tooltip text if mouse is over an object.

/Nylund
The administrator has disabled public write access.

Re:Negative value 13 years 4 months ago #1298

  • Grzegorz
  • Grzegorz's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 51
  • Karma: 0
Thanks. It was everything what I've needed. :)
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.610 seconds