R/W on PLC5 through ASCII & RS232

I think (and hope) that this is what you asked for ...

Greetings jeffroman,



see if this helps ... to test it out, connect HyperTerminal and set the parameters to the same values used for Channel 0 ... the HyperTerminal screen should start filling with values like these:



14,46,0,

14,46,1,

14,46,2,



this is sample data from the PLC’s real-time clock – in the format:

hours,minutes,seconds, ... of course you’ll want to modify the program to use your own values ...



then use HyperTerminal to transmit any three valid integer values in this format:



32767,-1024,4095,



note that the comma separators MUST be used for proper operation ... and note the trailing comma at the end of the string ... be sure to use “0” placeholders for zero values ...



if everything works out, then the following integer locations should have these values stored:



N31:1 = 32767

N31:2 = -1024

N31:3 = 4095



once you’ve seen the technique, you should be able to expand the routine to use more than three parameters ...



and incidentally, the advice that everyone has been giving you about the use of “non-standard” approaches like this are perfectly valid ... this is NOT a good way to handle things in an industrial environment ... there is no attempt here to provide error checking or fault handling procedures ... and NO WARRANTY! of any kind is offered ...



but I sincerely hope that this helps ... good luck with your project ...



PS ... for anyone who’s a glutton for ASCII punishment but doesn’t have RSLogix5 available, I’ve included a PDF printout in the zip file ...
 
Last edited:

Similar Topics

I have a PLC5/80E that I want to poll a Modbus device into using a Digi1. I have setup the message as a multihop going to the IP adress of the...
Replies
2
Views
1,437
First time trying this particular combo. ML1400 and PLC5 over radio. Initially I used 2 PLC5's and set them up to talk across the radio link and...
Replies
20
Views
5,952
I understand that the sidecars don't support CIP, so I don't think I can initiate a message from the CLX in this case. (I tried PLC5 Typed Read...
Replies
13
Views
4,122
Hello, I'm a new user here. I'm using a PLC5/40E to send & receive messages from a dozen or so outlying PLCs. There mostly PLC5s but a few SLC500s...
Replies
6
Views
5,083
A customer has a PLC5/40 that has a 1761-NET-ENI (series C) connected to the DF1 communication port. They have an old Panelview HMI connected on...
Replies
2
Views
4,677
Back
Top Bottom