This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Setpoint direct modification
#4
(17.03.2017, 14:33)admin Wrote: Or if you map it to a binary object, you can do +/- with a single script and 2 buttons in send fixed value mode.
Code:
offset = event.getvalue() and 1 or -1
setpoint = grp.getvalue('1/1/1')
grp.write('1/1/1', setpoint + offset)

Clever!
Reply


Messages In This Thread
Setpoint direct modification - by josep - 17.03.2017, 12:40
RE: Setpoint direct modification - by FatMax - 17.03.2017, 12:54
RE: Setpoint direct modification - by admin - 17.03.2017, 14:33
RE: Setpoint direct modification - by FatMax - 17.03.2017, 15:22

Forum Jump: