Forum Home › Forums › Understanding the Software › Using Formulas › Understanding Inputs Outputs and formulas
- This topic has 14 replies, 3 voices, and was last updated 7 years, 8 months ago by
Charles Cool.
-
AuthorPosts
-
October 31, 2017 at 8:04 pm #2732
Rita OLink
ParticipantHello
Please understand that I am very new to all of this.
Here is my problem:
This project is to show a view of the tank level in % as well as the volume in litres
I have an OPC server that is working well and I am able to get values from the various instruments that it polls.
All that works fine and I can get value from a level instrument in % and get that to an input channel with a matching signal and I am able to display that in the view.
Now I want to make another channel that uses a formula to calculate the volume based on the % from the level instrument I want to display the volume in the view.
Can you please help me?????
Regards
RitaNovember 1, 2017 at 8:59 am #2734
MikhailModeratorHi,
Of course.
What a formula do you plan to use in mathematical manner?November 2, 2017 at 5:54 pm #2742Rita OLink
ParticipantHello Mikhail
I have figured out formulas with inputs and I am ok for now
Thank you!November 3, 2017 at 10:47 am #2746
MikhailModerator🙂
March 16, 2018 at 5:29 pm #3300Charles Cool
ParticipantI am reading a signed integer into Rapid Scada but when it goes negative I get 65??? for a value hwo can I get it to show a negative number? I am not using any formulas now. I wil be using both positive and negative numbers.
March 17, 2018 at 12:21 pm #3301
MikhailModeratorPlease provide screenshot of Communicator where we can see the data packet, the decoded value and the configuration.
March 18, 2018 at 3:02 pm #3308Charles Cool
ParticipantMy communication Line log
2018-03-18 09:44:08 Communication session with the Device 61 “recorder”, type KpModbus, call number: 192.168.22.248
Request element group “South Freezer”
Send (12): 00 00 00 00 00 06 00 03 03 FB 00 01
Receive (7/7): 00 00 00 00 00 05 00
Receive (4/4): 03 02 00 73
OK!this is a positive number
2018-03-18 09:44:08 Communication session with the Device 61 “recorder”, type KpModbus, call number: 192.168.22.248
Request element group “South Freezer”
Send (12): 00 00 00 00 00 06 00 03 03 FB 00 01
Receive (7/7): 00 00 00 00 00 05 00
Receive (4/4): 03 02 FF 79
OK!this is a negative number
March 19, 2018 at 4:46 pm #3312
MikhailModeratorThank you.
To do a check, also I need screenshots of the decoded values and the configuration as I noticed above.March 20, 2018 at 12:46 pm #3318Charles Cool
ParticipantHopefully this is what you need.
[IMG]http://i67.tinypic.com/9r7l92.png[/IMG]
March 20, 2018 at 12:48 pm #3319Charles Cool
ParticipantSorry Try it again
March 20, 2018 at 1:16 pm #3320Charles Cool
ParticipantMarch 20, 2018 at 2:02 pm #3322
MikhailModeratorThank you. I think, you should tune the Modbus template in Communicator. You could also provide a screenshot of your template.
March 20, 2018 at 2:19 pm #3323Charles Cool
ParticipantMarch 21, 2018 at 2:19 pm #3326
MikhailModeratorNow ushort is selected that is always >= 0. To make possible negative values, switch to short. Then save the template and restart Communicator.
March 21, 2018 at 2:37 pm #3327Charles Cool
ParticipantThat works Thank You.
-
AuthorPosts
- You must be logged in to reply to this topic.