Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: ATU on June 03, 2021, 08:16:59 PM
-
Is their a simple example showing a complete User Web page showing a few different types of tags? I tried to looking at the Data View Source Page, but I need something simplified.
-
Garry made a decent video showing how to create a dynamic webpage:
https://www.youtube.com/watch?v=WjiBED03BPY&ab_channel=ACCAutomation
https://accautomation.ca/brx-do-more-plc-http-web-server-website/
-
Thanks, very helpful
-
This is really an incomplete feature that we left in on the chance that someone finds it useful. It was never our intention that users manually do any of this.
-
I see the complexity of it, which the video helped me see what would be required. What I would like to do is provide a web page with debugging strings in a table. However, its going to be more work and a learning curve that I don't want to burden my customer with. What is the future plan for this?
-
This is really an incomplete feature that we left in on the chance that someone finds it useful. It was never our intention that users manually do any of this.
When do you think this feature will be "completed"? I'm already getting excited about nested UDT's and the Modbus Scanner, please keep the features coming!
-
The vision was always to have a table based instruction that would generate pages that looked similar to the info page. There was a little disagreement on scope so nothing at all happened, which is pretty common here. We have a nasty habit of insisting on "amazing" at the expense of "good enough" and getting neither.
It's like nested structures. The designer in me wants unlimited everything, which I know I can't do without a complete rewrite, but users would be content with just being able to nest strings in UDTs. When I finally allowed myself to think about how "good enough" could be implemented, I realized it was possible. Of course "good enough" is nested strings, which was the initial goal, but after digging, I realized we could do full nesting to one level. I'd say that's better than "good enough". Still not what I want though.
Now I'm trying to figure out how to shoehorn in small nested arrays, probably limited to 256 elements...Struct[Vx].Array[Vy]. If you're wiling to choose either displacement Array[Vx+#] or nesting Struct[Vx].Array[Vy], I think it's possible. Can't do both at the same time, but I think nesting may be possible.
Might also be able to do small 2 dimensional arrays, 2nd dimension limited to 256. 2D arrays would also be limited to simple types (bit, byte, word, dword, float)...structs wouldn't be possible.
Don't know that either of these can happen, but after we complete nested structs, I want to look deeper at it.
-
When do you think this feature will be "completed"? I'm already getting excited about nested UDT's and the Modbus Scanner, please keep the features coming!
When? I had hoped this next release, but when we couldn't really agree on what it needed to be, we pushed it out. I wanted a simpler primarily text based page (like the Info page), others wanted Java Script based widgets and such. Widgets would be great, it's just a much more abstract and open ended thing to implement.
-
We have a nasty habit of insisting on "amazing" at the expense of "good enough" and getting neither.
The struggle is real! Join the club!
-
On a related note, is there a way to sort the User Log page in reverse chronological order? Newest User Log posting at the top? I guess the same question could apply to System Log.
-
I would like to see something simple to complex. A simple table to start with. What I need for my current project, is 2 columns of strings. Maybe have some type of configurational table editor? Where you specify table size. Type of data in each column? Configurator creates a UDT to match. Then the user only needs to access the UDT. Also have programable refresh time. I am probably over simplifying the task, but I l think displaying data in a table would be the most useful purpose of the web page.
-
I would like to see something simple to complex. A simple table to start with. What I need for my current project, is 2 columns of strings. Maybe have some type of configurational table editor? Where you specify table size. Type of data in each column? Configurator creates a UDT to match. Then the user only needs to access the UDT. Also have programable refresh time. I am probably over simplifying the task, but I l think displaying data in a table would be the most useful purpose of the web page.
I think you would be comfortable with what I personally was pushing for. We just have to get in agreement here and at ADC before we pursue something.
In the meantime, nested structures!
-
And EIP implicit scanner functionality?
-
And EIP implicit scanner functionality?
That is still the plan.
-
The struggle is real! Join the club!
I think there's a 12-step program for that . Called Programmers Anonymous or something.
-
I suspect an easily configurable custom page with basic monitoring/control capabilities would be high on the list of nice to have features for many people. I know you guys are working hard on a lot of things (I certainly appreciate the effort) but I hope you've been making improvements to the Documentation Editor portion of the controller. The more I attempt to use it the more frustrated I become with it. The fact that you can't filter and you can't pull the Documentation Editor into a separate window (so that it can be viewed as you're editing) are high on my gripe list. I've started doing some programming in TIA Portal and the ability to use OB's to group tags is a substantially better approach IMO. I hope there's some way that you guys can implement something similar.
-
Is there a way to access resources on the SD card from the web server, or must it all be on the RAM? For example, could I add a modbus library to the SD card to use to write coils to the BRX?
-
Is there a way to access resources on the SD card from the web server, or must it all be on the RAM? For example, could I add a modbus library to the SD card to use to write coils to the BRX?
You can run web content from the SDCard. If there is some form of client side Modbus scripting that can be read from the server, then theoretically yes. I am unfamiliar with that, but my web knowledge is limited. At this point, there is nothing server side that can set internal data.
-
I'm wrapping my head around this. The aptly named help file was helpful.
RAM files can be accessed at ipaddress/up/
SDCard files can be accessed at ipaddress/sd/
I now understand I can't run dependencies on the SDCard, as it doesn't run a full stack like XAMPP.
I will continue to look for a javascript based client side modbus tcp package.
-
On a related note, is there a way to sort the User Log page in reverse chronological order? Newest User Log posting at the top? I guess the same question could apply to System Log.
Any comment on this?
-
On a related note, is there a way to sort the User Log page in reverse chronological order? Newest User Log posting at the top? I guess the same question could apply to System Log.
Any comment on this?
Wouldn't be hard to add. Just have a really big pile to chew through right now.