So anybody out there still familiar with this s.tuff? From what this old memory is telling me, I need to convert each character into the ASCII Hex or Decimal equivalent. So would you guess I convert the L & 1and put those in the first address, S and the first digit of the temperature in next address and the remaining digits in the 3rd word? The only thing that changes is the digits. How do I get the command string "L1S"+temperature value, example 27C, so the command would be "L1S27" into the data type array of SINT. My problem is, the Prosoft device data table in the Logix is data type SINT. I'm using a Prosoft Technology PLX31 Ethernet to ASCII. The old PLC5 took the command string to change the temperature and did a AWA command and out port 0 the new temp setting went. The company will not update this ancient chamber environmental control. I'm working on a PLC5 to Control Logix conversion. Well, I've slept and drank a whole hell of a lot in 30yrs so I really don't care now but I need to do it again. OK that said, 30yrs ago I cared about things like PLC5 serial communications sending ASCII characters as it was a common thing. First, I'm not new to PLC programming and design.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |