Announcement

Collapse
No announcement yet.

Input Wanted! BRX HTTP features...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by skyfox View Post
    This is AWESOME. Struggling with putting out some unforeseen and unexpected fires at the moment, else, would have loved to send a novel on the subject matter. But for starters, if it is not already there, how about a way to write a simple event log to a comma or a tab delimited text file with user select-able parameters available from the web server?
    A major feature of this upgrade will be an instruction for building user web pages, allowing you to build a mini HMI of sorts. Since BRX already has full file system support and can already write the file, triggering or setting up that function from C-more or a user web page would be easy.

    Comment


    • #17
      How about something that will read an XML file?
      http://www.ieso.ca/-/media/Files/IES...iday.xml?la=en
      Above is a power chart for electricity use for Ontario.

      Thanks,
      Garry
      _________________________________________________
      Garry
      ACC Automation
      https://www.accautomation.ca
      Connect with us on Facebook: facebook.com/accautomation/

      Comment


      • #18
        Originally posted by Garry View Post
        How about something that will read an XML file?
        http://www.ieso.ca/-/media/Files/IES...iday.xml?la=en
        Above is a power chart for electricity use for Ontario.

        Thanks,
        Garry
        BRX PLCs already do JSON, both building and publishing. JSON is just a different hierarchical data representation of what XML provides. Most servers can provide their data in CSV, XML, or JSON format (clients get to choose). XML grammar parsing is EXTREMELY complex compared to JSON (one reason why JSON is popular).
        There are 10 kinds of people in this world, those who know binary, and those who do not.

        Comment


        • #19
          Did this functionality ever get added?

          Comment


          • #20
            Originally posted by adam.foster View Post
            Did this functionality ever get added?
            A nice subset will be released very soon.

            Comment


            • #21
              I don't know if this is related, but would love to be able to write a log file, preferably csv/excell, onto a networked computer, so that the log updates continuously and can be viewed at any time. For all I know this is already possible, and I just don't know how to do it.

              Comment


              • #22
                Originally posted by Ken_M View Post
                I don't know if this is related, but would love to be able to write a log file, preferably csv/excell, onto a networked computer, so that the log updates continuously and can be viewed at any time. For all I know this is already possible, and I just don't know how to do it.
                HTTPCMD can be used to access REST APIs on database systems.

                You can also use DMLogger to write directly to a file.

                Comment


                • #23
                  Originally posted by Ken_M View Post
                  I don't know if this is related, but would love to be able to write a log file, preferably csv/excell, onto a networked computer, so that the log updates continuously and can be viewed at any time. For all I know this is already possible, and I just don't know how to do it.
                  Hi Ken,
                  If you have a C-More EA9 connected to the PLC, you can use it to log the data (CSV) and FTP to the network for saving.
                  https://accautomation.ca/c-more-ea9-...sfer-protocol/
                  Just a thought.
                  Regards,
                  Garry
                  _________________________________________________
                  Garry
                  ACC Automation
                  https://www.accautomation.ca
                  Connect with us on Facebook: facebook.com/accautomation/

                  Comment


                  • #24
                    Gary, the ftp method sounds simple and efficient (and doesn't require writing anything on the computer end, which is nice). Can the system work with the -R ea9's, or does it need the full version (would be buying several systems). With the FTP approach, can the CSV file be read on the computer as its being written? The system has a multi-day cycle time. The employer wants to be able to review performance while the cycle is still in progress (this is replacing chart recorders). So the desire is to read the current data, and the data over the past few days, the same way one would glance at a chart as its being recorded.

                    Comment


                    • #25
                      Hi Ken,
                      The EA9 series can use FTP function. This will work with the EA9-RHMI headless model.
                      https://accautomation.ca/c-more-ea9-...re-controller/
                      You could read up until the last write to the file. You would have to see if it would be good enough for your application in terms of response time. We are usually talking about seconds of delay.
                      Regards,
                      Garry
                      _________________________________________________
                      Garry
                      ACC Automation
                      https://www.accautomation.ca
                      Connect with us on Facebook: facebook.com/accautomation/

                      Comment


                      • #26
                        Gary, many thanks! this is a fantastic option that should work great for the application

                        Comment

                        Working...
                        X