• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. DSurname
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 14
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by DSurname

    • D

      Manage Digital Input/Output of unipi neuron m103
      Official API - Evok • • DSurname

      2
      0
      Votes
      2
      Posts
      1159
      Views

      Martin Kudláček

      Hi @DSurname ,
      if I understand it correctly, you are running your application on the M103 and you want to control the inputs/outputs on the M103? In that case, you cannot (or shouldn't) use ModbusRTU, because there is no Modbus Slave (Server) running on the M103 by default. To access those inputs/outputs, you can use many of the supported interfaces described in the official documentation: https://evok.api-docs.io/1.0/jKcTKe5aRBCNjt8Az/introduction

      Martin

    • D

      Can't use /dev/extcomm/0 ports
      Neuron Series • • DSurname

      18
      0
      Votes
      18
      Posts
      5274
      Views

      Martin Kudláček

      Hello,
      the config file is utterly wrong. If you don't use any extension, you need to comment out all the lines of the [EXTENSION_1] block, not just the [EXTENSION_1] line. The syntax of this config file is based on the INI file. That means the active lines of the config where assigned to the [NEURON_1] block, thus resulting in unexpectable behaviour.

      ;[EXTENSION_1] global_id = 2 ; Mandatory, REQUIRED TO BE UNIQUE device_name = xM103 ; Mandatory modbus_uart_port = /dev/extcomm/0/0 ; Mandatory ;neuron_uart_circuit = 1_01 ; Optional, allows associating extensions wi$ ;allow_register_access = True ; Optional, False default, is mandatory with third-p$ ;address = 1 ; Optional, 1 default ;scan_frequency = 10 ; Optional, 10 default ;scan_enabled = True ; Optional, True default ; Note that the following settings will be inherited by other devices sharing the same port, i.e. /d$ baud_rate = 38400 ; Optional, NEEDS UNIPI IMAGE TO WOR$ parity = N ; Optional, NEEDS UNIPI IMAG$ stop_bits = 1 ; Optional, NEEDS UNIPI IMAGE TO WOR$
    • D

      Run leds constantly On and Off
      Neuron Series • • DSurname

      7
      0
      Votes
      7
      Posts
      2220
      Views

      T

      @dsurname it's now a bit offtopic from the thread description, so please start a new topic which will better describe your issues. At first, you do not need to worry about the RUN led. If you try to read a DI, the behavior of RUN led will change.

      /dev/ttyAMA0 is the UART of RPi, not the RS485 of Neuron. If you want to access the RS485, you need to install UniPi drivers (currently is part of in Evok https://github.com/UniPiTechnology/evok, in future, there will be Debian packages). Once installed, the RS485 ports are will be available for example at /dev/extcomm/0/0