Displaying and setting Array Values from OPC #2172
Replies: 4 comments 3 replies
-
|
@RobertMiller-KR2 I have created a PR that add a recipe/parameter table to Fuxa #2063 just waiting on @unocelli to review the PR, this allows you to create types and sets and saves it all to the DB, you can can assign all your tags in properties for the sets etc you can always fork and create a branch and build the PR yourself to try |
Beta Was this translation helpful? Give feedback.
-
|
@MatthewReed303 There is a Toggle action, a Set action or a reset action. I use the mouse down for set and the mouse up for reset to get the "Momentary action" It would be nice if there was a built in Momentary function rather than having to set up the action for mouse down and up. |
Beta Was this translation helpful? Give feedback.
-
|
@RobertMiller-KR2 I take it you mean use set value? set to 1 and set to 0? Anyway that's pretty standard... what should the duration of the momentary be? Does operator need to hold and press > 3 sec to reset etc using mouse down and up allows more flexibility and you program duration/rising/falling edges in your logic, for example use rising edge on a start button to prevent operator from holding a start button in to override something etc If it's a time consuming thing, create a button with tags and then copy it when needed and use edit bind of tags to change a single tag and no need to reconfigure entire button |
Beta Was this translation helpful? Give feedback.
-
|
Looks like you are attempting to do something similar as we do (see the post of Viherlauri). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So I have a 1 dimensional recipe Array called Recipes[0] There are 200 recipes. Each Array consists of a structured datatype. like below Recipe[0].Stage[0].Temp
Recipe[0].Stage[0].Speed
Recipe[0]Stage[1].Temp
Recipe[0]Stage[1].Speed
.
.
.
Recipe[0]Stage[8].Temp
Recipe[0].Stage[8].Temp
Recipe[0].Name
Recipe[0].Time
Recipe[0].Gallons
So I was wanting to use a Table to show and page through all the recipes. However I cant even figure out how to get it to display each item of the recipe tag. I go in to add the tag to Fuxa and IT shows the tag Recipe as an array, and shows the structure. How do I define which item in the array I wan to view.
For Instance I want to show and be able to edit recipe[10] all the stages and values?
In the OPC server it breaks it down (see pic)

Beta Was this translation helpful? Give feedback.
All reactions