Registers Data Not Updated In Subsequent Requests In ModBus RTU Component

0

This issue is in regards to the v2 aws.greengrass.Modbus component. The setup: Core device deployed on Raspberry Pi 4B Linux with Waveshare's RS485 CAN Hat connected to a temperature/humidity sensor (XY-MD02). Local simple Python scripts test fine. AWS IoT MQTT test client initially tests fine on first request but subsequent (and different) requests show the "registers" array in the result does not change although the function_code and operation parameters are all correctly updated. Basically, it appears almost as if the registers data remains somewhere in memory and is returned instead of the real results. It takes calling the request 3-4 times before the correct data in the registers in returned. What is causing this problem?

preguntada hace 2 años211 visualizaciones
1 Respuesta
0

Hi, Could you provide more logs, configurations and info for this issue? From current symptom, we are not able to detect any root causes.

AWS
Daojing
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas