Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
465 stars 174 forks source link

Cache Output States #194

Closed it-steiger closed 6 years ago

it-steiger commented 6 years ago

First thanks for this great package. But we have a big problem. It look like your writeSingleRegister notice the last state of our outputs, if we kill the application. Is this a bug or a option ?

stefanpoeter commented 6 years ago

I am not sure what you are talking about. Can you provide some example code to reproduce your problem?

it-steiger commented 6 years ago

Guten Morgen, laut Ihres Unternehmens sprechen Sie ja auch Deutsch 😊

Wir haben folgendes Problem. Wir senden alle 10 – 100ms neue Werte an ein digitales Ausgangsmodul von Schneider. Nach ein paar Minuten schließen wir unsere Applikation der letzte Stand war zB Bit 13,14 auf 1. Bei erneutem Start obwohl wir null senden gehen diese beiden Bits wieder kurz auf eins und werden von uns danach sofort überschrieben.

Haben zur Feststellung des Problems bei 2. Start die register * 1000 gerechnet um zu vermeiden dass wir sie wieder überschreiben. Siehe da, sie bleiben auf 1.

Können wir evt. auch telefonieren? Hätte da auch einen Auftrag für Sie.

+43 664 59 78 668

Mit freundlichen Grüßen / Best Regards Christoph Steiger CEO

Mail. cs@it-steiger.netmailto:cs@it-steiger.net Mobil. +43 (0) 664 59 78 668 Web. www.it-steiger.nethttp://www.it-steiger.net/

-WEB -INDIVIDUAL -APPS -CONSULTING

[Logo_schriftverkehr]

Von: Stefan Poeter notifications@github.com Gesendet: Donnerstag, 31. Mai 2018 23:26 An: Cloud-Automation/node-modbus node-modbus@noreply.github.com Cc: Christoph Steiger cs@it-steiger.net; Author author@noreply.github.com Betreff: Re: [Cloud-Automation/node-modbus] Cache Output States (#194)

I am not sure what you are talking about. Can you provide some example code to reproduce your problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Cloud-Automation/node-modbus/issues/194#issuecomment-393685719, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al92YqjtqvRnwI6iN5FSOEv5SOYVQPYRks5t4F_rgaJpZM4UVr3T.

stefanpoeter commented 6 years ago

This seems to be an application specific problem. I'll close this issue and contact you by email.