Group Details

administrators

  • RE: Vector demultiplexer VTOR+Python processing

    Hello @stepan-ozana,
    The main point from our developer's explanation is that the problem occurs because the Python script assigns outputs from inputs only during the initialization phase (init). However, while the CNR block sets its output directly in init (based on its parameter), the VTOR block likely receives its output settings only after the first run of its main function.

    Generally, blocks should not process inputs from other blocks during init. During init, each block should manage itself: check parameter settings and initialize its own outputs to starting values. Any processing of inputs and outputs involving other blocks should happen in the main runtime phase.

    In this case, CNR correctly sets its output in init according to its parameter, which is acceptable. VTOR must read its inputs to set outputs, so it does this later in the main function, which is also correct.

    Thus, the VTOR output being zero initially can happen because it does not update outputs until the main function runs, unlike CNR which sets fixed output at init. This explains the observed behavior with the VTOR1 showing zeros at first while sharing the same Python script with another block

    posted in REXYGEN Studio
  • RE: REXYGEN - DWM interface for Debian Trixie

    @gninaus Hi Guenther,

    DWM is not ready for Trixie yet. We are working on it. I will keep you posted when Trixie is supported.

    Cheers,
    Tomas

    posted in General discussion
  • RE: Core Error "Configuration requires higher license than available on the target device"

    In this specific case, the error message "Configuration requires higher license than available on the target device" indicates that RexCore did not find the new version of the license. If an older license version is present on the device and is sufficient concerning the scope of the project, this information should appear in the log and the project should run normally. In such a case, please ignore the error message.

    This error message will be revised in future versions of REXYGEN.

    posted in General discussion
  • RE: Core Error "Configuration requires higher license than available on the target device"

    Hi @gninaus,

    With version 3.0, REXYGEN introduced a new licensing policy. You can find the details here:
    https://eshop.rexcontrols.com/pages/licensing-policy

    Could you please send us your license information at support@rexygen.com?
    You can find the license info via REXYGEN Studio by using the menu Target -> Connect and then again Target -> Licensing.

    Also, please attach the REXYGEN Studio Compiler output related to licensing. Here’s an example:
    a7569447-a9d3-42b7-8544-5ebedf7652cf-image.png

    This will help us identify what part of the configuration requires a higher license and provide further guidance.

    Cheers,
    Jan

    posted in General discussion
  • RE: error on Modbus driver

    @MikeyH Hi Mike,

    It's a duplicate of this one: https://forum.rexygen.com/post/1707 - check the project timing.

    Cheers,
    Tomas

    posted in Modbus RTU
  • RE: Problems reading from PCF8574A

    @AlexanderH Hi,
    I'm sorry. For some reason I didn't get an email notifying me that you had replied. I'm glad you finally resolved the issue.

    Cheers,
    Jan

    posted in Communication (RS232
  • RE: Problems reading from PCF8574A

    @AlexanderH Hi Alexander,
    do you see any error messages in the system log? If so, what kind?

    Does setting the outputs work as expected?

    When reading inputs, I think you should both write and read within the same I2C() call — in other words, both counters should be non-zero. Usually, sending a request and receiving a response over I²C takes much less time than the REXYGEN task execution period. That’s why the I2C() function is designed to send data and, if a response is expected, receive it within the same cycle. I don’t know the exact details of the PCF8574A protocol, but I would assume that you need to perform the write and the read together in one call.

    By the way, the code you pasted looks a bit broken here on the forum – that’s probably due to Markdown formatting. Please enclose the entire script in a code block using triple backticks (```) or upload it here as a text file. That way it will be much easier to read.

    Cheers,
    Jan

    posted in Communication (RS232
  • RE: Core error

    @har Hi har,

    This error is related to the timing issue of the 'data_collect' task. The task takes longer to complete than the allotted time. Based on the image, I would guess that the Python block will take the most time to execute. In your case, I would inspect the timing of the whole project and also the diagnostics of task (Target ->Diagnostics -> data_collect and select the Task tab as shown bellow).
    e8e7f83c-6ba9-44db-9318-cb844cbf6d51-image.png

    Cheers,
    Jan

    posted in General
  • RE: Bluetooth sensor with rexygen

    @har Hi Har,

    I'm sorry, but we are not able to debug third-party Python code for you.

    If you made it work under plain Python, then you can send the data to REXYGEN using the REST API. Have a look at "0302-03 REST API Python Bash etc", which sends data to REXYGEN using Python.

    Kind regards,
    Tomas

    posted in Communication (RS232
  • RE: MBM error

    @MikeyH Hi Mike,

    This is related to the communication timeout - inspect data length with respect to baudrate and timeouts.

    All REXYGEN error codes here in Docs: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/BRef_ENGap3.html#x488-487000C

    Cheers,
    Tomas

    posted in Modbus RTU