Do the addresses of 1-wire bus sensors get stored and updated as part of the configuration (upload configuration), as part of the solution (deploy solution) or in some other way that is only accessible through the specific dialog boxes?
Posts made by clueless
-
1-wire sensor addressing: part of the configuration, or the solution?
-
Are standard library delayed switches (Ton, Toff, Tonoff) non-blocking? 1wire reliability
I have a need to have some delayed relays in my project. Can I rely on the delay not interfering with cyclic execution of the rest of the program?
Also, I would like to know what the best way of resetting the 1wire bus is in case some device pulls it down. Currently I've got the Vcc line wired through a normally closed relay contact with the option of interrupting it in case a commerror shows up for some time. Currently my idea is to have a delay after the comerror gets raised, then trigger the relay to cut power to the ow bus, then turn off and turn on the ow bus, then reconnect the Vcc line. Is this a good way of avoiding 1wire related issues?
-
Mervis HMI over proxy?
Is it possible to access a Web HMI over the proxy server somehow? I can't seem to find any references to such functionality in the documentation.
-
RE: HMI persistent graphing; "Unable to find HistoryID for variable"; Mervis DB key:value pairs?
@tomas_hora Ok, sorry, the issue with the database was something i had bungled myself.
-
HMI persistent graphing; "Unable to find HistoryID for variable"; Mervis DB key:value pairs?
I am trying to build a web HMI based control panel for my project. As it happens I need to have a bunch of seperate control pages in which I want to graph some variables over time. Currently I can get a chart to work if I open one page and leave it open, so I assume the rendering and data storage is being done by the front end. But if I reload the page the chart starts out empty again.
Here you can see the graphing is working:
But after reloading the page the values are wiped:
I would like to know if there is any way of having the graphs for each variable update and keep older values without needing the page to be open all the time.
Another issue that may or may not be related to this is the fact that whenever I compile the solution I get the following error:
Even though the variables are imported in the history log:
Same goes for the other variable being graphed. The "density" one is an attribute to a function block, the "temperature" one is a global variable.
These are the properties of the history log:
EDIT: I see that a similar issue has been addressed as persistent data only being available in the database. Is this something that is going to change anytime soon?
EDIT 2: In the case of having to use the Mervis database, I am afraid the knowledge base is again frustratingly unclear on what is meant by the "key value pairs". Nowhere is it specified what all the required keys and values are. After filling out the login credentials and putting in the runtime id as shown in the example all I get is "error 100: unknown error". Since the tutorial at https://kb.unipi.technology/en:sw:01-mervis:storing-data-to-mervis-db-hidden doesn't mention anything about requiring keys or values it must either be out of date or missing something.
-
Running web HMI on Mervis RT?
I want to use the mervis runtime installed on my PC to work on the graphical interface without having to upload every alteration to the PLC. I am pretty sure this is supposed to be possible, but I am not sure how to access the runtime's web server after configuring it, or how to configure it correctly for that matter.
I've tried starting it up as is, leaving the default configuration, I've tried switching DHCP on, I've tried taking a project that works on my Axon controller and deploying that to the runtime. I can't seem to get it to create a HTTP server, at least not one I can detect with nmap on my localhost.
Is there any documentation for this?
-
RE: Different HMI application for web interface?
@tomasknot Yeah I see now, thanks.
-
RE: Different HMI application for web interface?
@tomasknot 2.1.3(74371)
Downloaded from:
https://kb.unipi.technology/files:software:mervis:00-start -
RE: Different HMI application for web interface?
@tomasknot The built in tool tips.
There doesn't seem to be anything else. Since the tool tips mention the fact that there is an integrated HMI editor I assumed them to be up to date.
-
RE: Different HMI application for web interface?
@tomasknot Does it have the functionality required to make web interfaces? The help section talks about having to use the seperate HMI editor in bold, and I wasn't able to find anything even remotely like the "export to web panel" functionality that seems to generate a webpage shown in the video tutorial here:
https://www.youtube.com/watch?v=DIf4MCaLhOI&list=PL5MC9muFzmGS27IIdGRetn-ugVSn2K1RL&index=3Regardless, I found it in the older version of mervis and installed just the HMI editor, I'm going to try to make something work with it now.
-
Different HMI application for web interface?
Documentation is extremely vague on the use of the HMI editor. It claims that web server definitions need to be done in some older application which is allegedly included in the installer - but there is no Mervis HMI in my Mervis install. I even tried reinstalling, or repairing the install, but there was no option to install Mervis HMI and there is no Mervis HMI executable
(or anything of the sort) in my installation directory. Is it deprecated? Am I supposed to install it seperately? Is it even possible to host a web interface on mervis anymore?If there are counterintuitive steps like this, ambiguous and unclear documentation is extremely frustrating. The video tutorials are out of date, by the way, and use the Mervis HMI application.
-
RE: 1-wire sensor not detected in Evok web interface
Ok, after failing to diagnose the issue I ended up reflashing the OS and connecting to the controller through Mervis. I was able to reach the sensor without changing anything about my physical setup, which leads me to believe it was something I had done wrong during the installation of nodejs - which is not at all unlikely, since I kinda bodged my way to it after finding that the standard scripts in the links given would not work.
-
RE: 1-wire sensor not detected in Evok web interface
@tomasknot
Here's the 1w device folder:unipi@L205-sn7:~$ sudo ls -la /sys/bus/w1/devices total 0 drwxr-xr-x 2 root root 0 Dec 11 16:08 . drwxr-xr-x 4 root root 0 Dec 11 16:07 ..
lsmod:
unipi@L205-sn7:~$ lsmod Module Size Used by ds2482 16384 0 unipi 98304 6 wire 32768 1 ds2482 industrialio 53248 1 unipi at24 20480 0
ps fax:
https://pastebin.com/syGemxNx -
RE: 1-wire sensor not detected in Evok web interface
@tomasknot
All the other outputs and inputs are visible, and activating digital outputs in the web interface triggers them (or their status indication diodes, anyway).
I am not quite sure which parts of the dmesg output are relevant to the issue at hand so here is the entire thing:
(EDIT: apparently I pasted two successive outputs, here's just one)
https://pastebin.com/9txK4a7w -
RE: 1-wire sensor not detected in Evok web interface
@martin-kudláček
The first batch of sensors I tested this with came with wires and a casing, so I just attached the wires straight into the connector.
Then I also tested ones that just came as components with pins by placing them on a breadboard (the arduino shield has no significance, I am only using the breadboard glued onto it) In one of the images you can see the testing jig I used to verify that the sensors are giving temperature measurements on the breadboard. I did continuity checks to verify that there is a connection between the connector screws and the pins of the sensor.
I don't think it's a wiring issue. I suspect I might have messed something up during the installation of nodejs, npm and node-red, but I would like to know if there are some ways to diagnose the issue before trying something radical like reflashing the OS.
-
1-wire sensor not detected in Evok web interface
Apologies for the newb question.
I am trying to use DS18B20 temperature sensors with an Axon L205 controller (using Evok and node-red). Currently I've got a single DS18B20 hooked up to the 1-wire port, and it doesn't show up in the web interface. I've tried connecting a couple of the sensors, none of them get detected.
I am not sure what further steps to take to diagnose the cause of the problem. Have I skipped some required configuration steps? I see that the evok.conf file has example entries for 1-wire devices but I am not sure if these are supposed to be auto-generated or if I am supposed to create them myself. Is there some way to manually scan the 1-wire bus for available devices?