• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. BeerGeek
    3. Topics
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 12
    • Best 0
    • Controversial 1
    • Groups 0

    Topics created by BeerGeek

    • B

      List Modbus queue on AXON
      Official EVOK API • • BeerGeek

      2
      0
      Votes
      2
      Posts
      313
      Views

      Martin Kudláček

      Hello @beergeek, yes it is. Start the debugging mode, switch the bottom panel to "Port monitor", select the channel you want and press "play". You will see the Modbus requests and (hopefully) some responses:

      0_1578664729671_2a85c95f-9839-4d33-8394-a18284b5bf56-image.png

    • B

      Shutdown process / status display.
      Axon series • • BeerGeek

      2
      0
      Votes
      2
      Posts
      347
      Views

      Martin Kudláček

      Hi @beergeek,
      there is probably a number of ways how to do it. This could be one of them:

      create /usr/local/sbin/shutdown and add the exec bit to it in the script, specify the logic - get the IOs into safe state and/or light up the user LEDs at the end of the script, call shutdown -h now

      The logic can use the SysFS approach such as this:

      echo 1 > /run/unipi/io_group1/do_1_01/do_value # sets DO1.1 to true

      Although you don't have the user LEDs available in the SysFS right now. For that, you can use mbpoll and set it via ModbusTCP.

      Best regards,
      Martin

    • B

      UNIPISPI spi0.0: SPI transfer failed
      Axon series • • BeerGeek

      9
      0
      Votes
      9
      Posts
      709
      Views

      T

      @PhilesG Would you please try to update the our kernel modules to the latest version? You can do this by apt update && apt install unipi-kernel-modules or by rewriting the whole OS by a new one from https://kb.unipi.technology/en:files:software:os-images:00-start#axon_generation_os using this guide https://kb.unipi.technology/en:sw:01-mervis:running-on-axon-hidden#flashing_the_os

    • B

      After upgrade Neuron M103 appeared new virtual relays 2.09-2.16
      UniPi Neuron Series • • BeerGeek

      2
      0
      Votes
      2
      Posts
      376
      Views

      B

      FIxed in EVOK 2.1.6. Thanks.
      But all aliases were deleted. I had to configure all aliases again.

    • B

      spi_master spi0: spi0.1: timeout transferring
      UniPi Neuron Series • • BeerGeek

      4
      0
      Votes
      4
      Posts
      575
      Views

      B

      Neuron, after apt-get upgrade

      $ sudo /opt/unipi/tools/fwspi -i 0 Boardset: 0 B-1000 (v1.0) Baseboard: 0 B-1000 (v0.6) Firmware: v5.27 sudo /opt/unipi/tools/fwspi -i 1 Boardset: 1 E-8Di8Ro (v1.0) Baseboard: 1 E-8Di8Ro (v0.2) Firmware: v5.27
    • B

      NodeRed with analog OUTput
      Node-RED • • BeerGeek

      2
      0
      Votes
      2
      Posts
      755
      Views

      Z

      Hello @beergeek

      You are right with problem when using analog output in configuration 0-20mA. When we designed nodes, we only implemented voltage output.

      To fast repair you can add function node to output, that recalculate output value from 0-10 to 0-20. So your input value will be 0 to 10, but output value will be 0-20. We will try to repair output node with support for current output it in next week.

      Function code to fast implementation:
      0_1562793741763_b5537379-d362-4d19-b00b-00d50f3b5464-image.png

      Try to import funtion and connect it as in picture.

      [{"id":"98b4db11.a43aa8","type":"function","z":"dd6bd412.3bde08","name":"0-20mA","func":"if(msg.payload.value) \n{\n msg.payload.value = msg.payload.value*2.00;\n}\nreturn msg;","outputs":1,"noerr":0,"x":1260,"y":220,"wires":[["a7851ed2.a7d6"]]}]

      Thank you for your notice.