General Discussions
I/O tag-how to read from one device, then write that value to another

Next hurdle for me. Learning how to read a value from one MB device, then, if the value has changed more than deadband, write that value to a different MB device.

example: read register 7033 from MB ID 15. IF value change exceeds db (0.005) then write the new value to register 7040 at MB ID 25.

Next hurdle for me. Learning how to read a value from one MB device, then, if the value has changed more than deadband, write that value to a different MB device. example: read register 7033 from MB ID 15. IF value change exceeds db (0.005) then write the new value to register 7040 at MB ID 25.

This sounds like it would be hard given the special deadbanding and such but it is actually really easy.

Simply create an I/O and Calculations tag, set it to analog calculation and then in the calculation tab, set the calculation to tag and select the tag with the value you wish to repeat to another device. From there, you can set the output to point to the new driver, new address, and also specify the deadband to use for the writes.

This sounds like it would be hard given the special deadbanding and such but it is actually really easy. Simply create an I/O and Calculations tag, set it to analog calculation and then in the calculation tab, set the calculation to tag and select the tag with the value you wish to repeat to another device. From there, you can set the output to point to the new driver, new address, and also specify the deadband to use for the writes.

Trihedral Engineering Ltd.

19
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft