03-25-2010 07:14 AM
Hello, someone can help me.
How Could you put a number of conditions with multiple values in a single word of Modbus
And that this is run when you press a button given.
Example in Modbus connections:
Modbus1.48516= If(Pb1,50,Modbus1.48516) This expression is correct and working.
But I want to do this:
Modbus1.48516= If(Pb1,50,Modbus1.48516)
Modbus1.48516= If(Pb2,60,Modbus1.48516)
Modbus1.48516= If(Pb3,70,Modbus1.48516)
Thanks and best regards
Solved! Go to Solution.
03-25-2010 11:02 AM
Modbus1.48516= If(Pb1,50, If(Pb2,60, If(Pb3,70,Modbus1.48516)))
That work?
Mike
03-25-2010 11:27 AM
OK, works perfect, just what we wanted.
Thank you very much, for everything.
Francisco.
03-25-2010 11:49 AM
No problem.
Mike