After upgrading the M503, circuit 1 completely disappeared.
-
Hi,
I did the following for the Neuron M503 with Raspbian Stretch Lite and old EVOK:
sudo su systemctl stop neurontcp && systemctl stop evok bash /opt/evok/uninstall-evok.sh rm -rf /var/www/evok rm /etc/systemd/system/evok.service sudo su echo "deb https://repo.unipi.technology/debian stretch main" >> /etc/apt/sources.list.d/unipi.list wget https://repo.unipi.technology/debian/unipi_pub.gpg -O - | apt-key add apt update apt upgrade -y reboot sudo su apt install -y neuron-kernel unipi-firmware unipi-modbus-tools apt autoremove -y apt install nginx -y rm -f /etc/nginx/sites-enabled/default apt install evok -y systemctl enable evok rebootFirmware:
root@residevice:/opt/unipi/tools# ./fwspi -i 0 Boardset: 0 B-1000 (v1.0) Baseboard: 0 B-1000 (v1.0) Firmware: v5.31After update there is no circuit 1_ :
root@residevice:~# wget http://localhost:8080/rest/all [{ "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_05", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_04", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_06", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_01", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_03", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "counter_modes": ["Enabled", "Disabled"], "glob_dev_id": 1, "modes": ["Simple", "DirectSwitch"], "value": 0, "circuit": "2_02", "debounce": 50, "counter": 0, "counter_mode": "Enabled", "dev": "input", "mode": "Simple" }, { "glob_dev_id": 1, "modes": ["Simple"], "value": 0, "circuit": "2_05", "pending": false, "relay_type": "physical", "dev": "relay", "mode": "Simple" }, { "glob_dev_id": 1, "modes": ["Simple"], "value": 0, "circuit": "2_04", "pending": false, "relay_type": "physical", "dev": "relay", "mode": "Simple" }, { "glob_dev_id": 1, "modes": ["Simple"], "value": 0, "circuit": "2_01", "pending": false, "relay_type": "physical", "dev": "relay", "mode": "Simple" }, { "glob_dev_id": 1, "modes": ["Simple"], "value": 0, "circuit": "2_03", "pending": false, "relay_type": "physical", "dev": "relay", "mode": "Simple" }, { "glob_dev_id": 1, "modes": ["Simple"], "value": 0, "circuit": "2_02", "pending": false, "relay_type": "physical", "dev": "relay", "mode": "Simple" }, { "glob_dev_id": 1, "unit": "V", "value": 3.858161211013794, "circuit": "2_04", "range_modes": ["0.0", "2.5", "10.0"], "modes": ["Voltage", "Current", "Resistance"], "range": "10.0", "dev": "ai", "mode": "Voltage" }, { "glob_dev_id": 1, "unit": "V", "value": 3.7661192417144775, "circuit": "2_01", "range_modes": ["0.0", "2.5", "10.0"], "modes": ["Voltage", "Current", "Resistance"], "range": "10.0", "dev": "ai", "mode": "Voltage" }, { "glob_dev_id": 1, "unit": "V", "value": 3.1529541015625, "circuit": "2_03", "range_modes": ["0.0", "2.5", "10.0"], "modes": ["Voltage", "Current", "Resistance"], "range": "10.0", "dev": "ai", "mode": "Voltage" }, { "glob_dev_id": 1, "unit": "V", "value": 3.2787086963653564, "circuit": "2_02", "range_modes": ["0.0", "2.5", "10.0"], "modes": ["Voltage", "Current", "Resistance"], "range": "10.0", "dev": "ai", "mode": "Voltage" }, { "modes": ["Voltage"], "value": 0.0, "glob_dev_id": 1, "dev": "ao", "circuit": "2_04", "unit": "V", "mode": "Voltage" }, { "modes": ["Voltage"], "value": 0.0, "glob_dev_id": 1, "dev": "ao", "circuit": "2_01", "unit": "V", "mode": "Voltage" }, { "modes": ["Voltage"], "value": 0.0, "glob_dev_id": 1, "dev": "ao", "circuit": "2_03", "unit": "V", "mode": "Voltage" }, { "modes": ["Voltage"], "value": 0.0, "glob_dev_id": 1, "dev": "ao", "circuit": "2_02", "unit": "V", "mode": "Voltage" }, { "interval": 15, "value": 57.75, "circuit": "2812F9A708000074", "address": "2812F9A708000074", "time": 1570600764.403386, "typ": "DS18B20", "lost": false, "dev": "temp" }, { "interval": 15, "value": 41.55, "circuit": "28DEBFA7080000E3", "address": "28DEBFA7080000E3", "time": 1570600765.947099, "typ": "DS18B20", "lost": false, "dev": "temp" }, { "interval": 15, "value": 1.95, "circuit": "28753F5F070000BE", "address": "28753F5F070000BE", "time": 1570600769.176165, "typ": "DS18B20", "lost": false, "dev": "temp" }, { "interval": 15, "value": 50.55, "circuit": "28FC53C107000006", "address": "28FC53C107000006", "time": 1570600770.86114, "typ": "DS18B20", "lost": false, "dev": "temp" }, { "interval": 15, "value": 52.75, "circuit": "287E8DA9080000AD", "address": "287E8DA9080000AD", "time": 1570600767.631405, "typ": "DS18B20", "lost": false, "dev": "temp" }, { "circuit": "2_01", "value": 0, "glob_dev_id": 1, "dev": "wd", "timeout": 5000, "was_wd_reset": 0, "nv_save": 0 }, { "glob_dev_id": 1, "last_comm": 0.03416609764099121, "ver2": "1.0", "sn": 104, "circuit": "1", "model": "M503", "dev": "neuron", "board_count": 1 } ]Suggestions?
Br,
Vesa -
So what do you see when you run /opt/unipi/tools# ./fwspi -i 0 ... /opt/unipi/tools# ./fwspi -i 1 and /opt/unipi/tools# ./fwspi -i 2?
-
Hi @tomas_hora
root@residevice:/opt/unipi/tools# ./fwspi -i 0 Boardset: 0 B-1000 (v1.0) Baseboard: 0 B-1000 (v1.0) Firmware: v5.31 root@residevice:/opt/unipi/tools# ./fwspi -i 1 Unable to create the arm[1] context root@residevice:/opt/unipi/tools# ./fwspi -i 2 Unable to create the arm[2] context/Vesa
-
Just to be sure... Is the RUN2 LED blinking or not? What is the output of "dmesg | grep UNIPISPI" ?
-
@tomas_hora said in After upgrading the M503, circuit 1 completely disappeared.:
dmesg | grep UNIPISPI
The device is hundreds of miles away, so I can't watch the LEDs.
dmesg | grep UNIPISPI doesn't output anything.
/Vesa
-
-
Hello @Vesa-Kauppinen,
it seems you do not have the unipi kernel module loaded. Can you try "lsmod | grep unipi"? If it still does not give any output, try to update unipi packages again.
-
@martin_triska said in After upgrading the M503, circuit 1 completely disappeared.:
lsmod | grep unipi
Hi @martin_triska,
Thank you for your answer! I got the following answer:
root@residevice:~# lsmod | grep unipi unipi 94208 0 industrialio 73728 1 unipi -
Hi @vesa-kauppinen,
can you send us SSH access to the PLC? Let's continue over [email protected]Thanks,
Martin -
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login