Hard @ Work

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Hard @ Work

  • Rank
    Newbie

Profile Information

  • Country Canada
  1. pcmaccartney1.....I would like it in a floating register, only for the simple reason that there is no DINT available in PLC-5 and it would be easier to work with than trying to use 2 INT to display the distance.  Even though it would be a floating register, I would not need to use the decimal values as there would be none.  If I could display the value in 1 INT register only, I would do this, but because an INT register is only capable of 32767, and the value/span would be greater than 32767, in this case 152, 400, I need to some how get it into a Floating register to work with.   When the value is smaller that 32767, it is ok, but anything higher than 32767 is the problem.  But the problem I am having is I am guessing I need to first get it to 2 INT from a string, before I can get it into a floating register.  Is there something I am missing??
  2. Hi guys, I think I know the answer to this question, but would like to ask it just in case there is some miraculous logic out there.  What I need to do is read a string from an ASCII device and convert it to a floating register.  This is not the difficult part, my dilemma is, the HEX value that I am reading from the ASCII device is 4 bytes in length, so "#### ####".  The highest possible value would be "FFFF FFFF" hex.  How can i convert this to a floating register while in the process of doing this conversion need to convert it to an integer first where even just FFFF(hex) = 65535(dec).  The application is a measuring device that measures only in (mm) and will be measuring long distances up to 152,400 mm.  There will be no decimals.
  3. Socket Services PLC-5

    Hi Ken, thanks for the reply.  That's what I was thinking as well, but just wanted to check and see if anyone knew otherwise.  I have already visited RTAs website and looked at their device.  Will probably go that route.   Thanks again.
  4. Socket Services PLC-5

    Anyone have any ideas?
  5. First time posting on this forum, hoping some of you could answer a question I have.  I am currently using the MSG instructions with service types "Socket Create", "Open Connection" and "Read Socket" on a Control Logix PLC to communicate to a device over TCP/IP.  My question is, can this also be done with a PLC-5, as when I look at the MSG instruction within PLC-5, there does not seem to be an option for these types of services. Thanks in advance.