bitpool / edge-modbus

Set of Node-RED modules to support reading Modbus devices
MIT License
4 stars 3 forks source link

Modbus equipment that is not within the standards #1

Open MiguelRenato opened 11 months ago

MiguelRenato commented 11 months ago

Hello, sorry to ask the question here, but I have a problem and I would ask for your help to resolve the situation.

I have modbus equipment that is not within the standards when I make a request with uint32 it is responding with count1, is it possible to change the CRC or another way so that I can access the data. THANKS

bitpool-dev commented 10 months ago

Hello,

Thank you for reaching out with your issue regarding the non-standard response from your Modbus equipment.

To better assist you, I would need a bit more information about your setup:

  1. Device Details: Can you please provide the make and model of the Modbus equipment you are using? This will help in understanding any specific quirks or proprietary behaviours.

  2. Current Configuration: What is your current configuration in Node-RED for communicating with this equipment? Please include any relevant flow details or settings.

  3. Error Logs/Outputs: Are there any specific error messages or unusual outputs you receive when attempting to communicate with the equipment? If possible, please share the logs or screenshots.

  4. Network Environment: Could you describe your network setup? This includes any routers, converters, or other devices between your Node-RED instance and the Modbus equipment.

Understanding these aspects will help in determining whether the issue is due to CRC or if there's an alternative approach to access the data.

Looking forward to your response to assist you further.

Best regards, Bitpool

MiguelRenato commented 3 months ago

Hello again, I needed an option in the modbus validator or data_type: custom that I can manipulate and get something like this.

#from this
DataType.UINT32: ENTRY("I", 2, PARM_IS_LEGAL(ILLEGAL, ILLEGAL, OPTIONAL, OPTIONAL, OPTIONAL)

#to this
DataType.UINT32: ENTRY("I", 1, PARM_IS_LEGAL(ILLEGAL, ILLEGAL, OPTIONAL, OPTIONAL, OPTIONAL)

I need to pass 2 to 1 in validation because the equipment does not respond within the standard protocol and does not pass giving an error. Equipment in question: https://github.com/tiagofreire-pt/Home_Assistant_EDP_Box/blob/master/EDP%20Box/README.md I hope that makes sense, thanks

MiguelRenato commented 3 months ago

Hello again, basically I need data_type: custom so that I can manipulate the information.