Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Two or more remote outputs from one switch

I want to be able to send the same value to two or more attached remote slave modbused based flow computers when a single switch is pressed. Obviously it is possible to use multiple switches and specify exact URL's, but it would look a neater solution with just one.
0 Kudos
Message 1 of 3
(3,243 Views)

Hi,

It's not clear if you want to send the Switch's value (boolean state) to the remote flow units or a particular numeric value when the Switch is depressed.

For the first case, you could specify the same Switch in each connection like this, for instance:

Modbus1.1 = Switch1
Modbus2.1 = Switch1
Modbus3.1 = Switch1

In the second case, you can have something like this:

Modbus1.40001 = IF(Switch1, Pot1, Modbus1.40001)
Modbus1.40001 = IF(Switch1, Pot1, Modbus2.40001)Modbus1.40001 = IF(Switch1, Pot1, Modbus3.40001)

It essentially means, IF the Switch1 is pushed, write out the value from Pot1 to the different units, if not, then let their values be as they were.

Hope this is what you were looking for. If I misunderstood your question, p
lease write back.

Regards,

Khalid


0 Kudos
Message 2 of 3
(3,243 Views)
Hi,

You should use several Modbus Object (one for each computer), you may use the switch to run a timer(refresh rate) and connect its output signal to each Modbus objects' poll inputs.

It's not possible to use just one modbus object, because Address is a parameter, so non-changeable programmatically.

Hope it helps you

JPSS
0 Kudos
Message 3 of 3
(3,243 Views)