Comments (3)
- Can you post a network recording with something like, for example, Wireshark?
- Can you post the callstack for both times the handler is called?
from delphi-modbus.
Hi Jens,
you may close the issue - the PLC is sending weird data.
I apologize for the inconvenience.
To explain - the PLC is sending data even if the output registers are not ready, so it is sending "something" that is in the register at the moment. The second problem is the repetition of sending - the PLC sends the Modbus message 1-3 times in one shot, and it happens that the registers do not contain valid data for every repetition.
from delphi-modbus.
Yes, I also once had a problem with a client whose PLCs was acting like this. It's good if you're able to tell if you can trust the data you receive.
PS: I cannot close the issue, I am not the repo owner, just a user like you 😉
from delphi-modbus.
Related Issues (20)
- Incorrect platform identifier in "ModBusPlatforms.inc" for Delphi XE5
- ModBusClient.ReadHoldingRegisters - Amount HOT 1
- ModBusMaster Demo reads values fine but gives an error when writing values
- ModBusClient - cycle read ? HOT 1
- Modbus client for service application HOT 1
- Runtime error 216 HOT 2
- XE11 Alexandria HOT 1
- The register number to be read is inconsistent with the PLC register number actually read HOT 2
- Read and write registers 4x HOT 1
- TIdModBusClient.Connect don`t work in manual mode
- Cannot read the Shark270
- Fix issues on poor network and poor Modbus controllers
- TIdModBusServer Connection Status public property
- How to check for errors
- ALGUEM AJUDAR INSTALAR XE7 HOT 1
- Problem install with Lazarus 2.2.6 HOT 1
- Need modbus private function support
- Support for Function Code 43 - Read Device Identification
- Can support Modbus RTU over TCP? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delphi-modbus.