kurt Posted August 7, 2010 Report Share Posted August 7, 2010 Hi I want to send a numeric variable by rs232 to a weight display. How can i do it. To make a protocol? This is new for me. Who can help me? Thanks. Link to comment Share on other sites More sharing options...
Anthony Posted August 7, 2010 Report Share Posted August 7, 2010 Hi Kurt, Did you look at the response form the previous post? Link to comment Share on other sites More sharing options...
kurt Posted August 8, 2010 Author Report Share Posted August 8, 2010 Hi Yes but what do you mean? Link to comment Share on other sites More sharing options...
Fantasia83 Posted August 11, 2010 Report Share Posted August 11, 2010 He mean that with the example, all it's well explaned. From configuring the data port com. How send number/variable you need to transmit to your Weight device. The example send 2 type of data. 1) it send the ML 0. 2) it send a vector of 6 MI representing RTC hour in ASCII format. All two using the protocol send function. Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted August 15, 2010 MVP 2023 Report Share Posted August 15, 2010 Kurt, What model PLC are you using? You're going to want a second serial port to talk to the display. It's really hard to troubleshoot a serial communication application if you can't go online and look at it run while you're trying to talk to your device. The best way to get started is to load the Protocol example file into your PLC and connect another computer to the second port and look at what's happening with Hyperterminal and another Unitronics programming cable. You should see the strings on the screen that you're sending. This will help you get the serial communication parameters set up. Joe T. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now