Coder Social home page Coder Social logo

Comments (3)

PhilipMur avatar PhilipMur commented on June 8, 2024

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.

PhilipMur avatar PhilipMur commented on June 8, 2024

I presume what i said previously helped you out in your quest.

Philip M

from serial-comm-tester.

rajputyo avatar rajputyo commented on June 8, 2024

from serial-comm-tester.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.