Comments (3)
You will have to check out the manufacturer protocol to check what bytes the PLC is expecting .
Example :(STX/Class/Instance/Attribute/CRC8 =0x01/0x01/0x01/0x01/6F) and if it needs a checksum at the end to verify the data CRC or some sort of delimiter, use the checksum calc function in this project to see if the CRC is needed etc.
Check your wiring as well to make sure you don't have dodgy hardware/wiring, to check the cable i normally join TX and RX together at the end and the data i send is the data i should receive back.
To be honest if you don't have the protocol it will be very hard to do.
Also industrial hardware normally runs RS485 or RS422 network, not RS232 so i think you might need to get a RS485 to RS232 converter for you PC if you have not do so already.
Philip
from serial-comm-tester.
I presume what i said previously helped you out in your quest.
Philip M
from serial-comm-tester.
from serial-comm-tester.
Related Issues (6)
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 serial-comm-tester.