dkennedy2004

MrPLC Member
  • Content count

    10
  • Joined

  • Last visited

Posts posted by dkennedy2004


  1. Hi, Ive managed to get the numbers out using Conns method which is much appreciated but when I run Bobs it seems to give me a Not Convertable output and the real value doesnt come out.Attached is my running code.Ideally i would like to provide this checking that ye are suggesting.Also in my code MCMReadData[142] is the first integer and MCMReadData[143] is second etc etc by the way. Thanks

  2. Hi, Im reading the values over Modbus communications and Im afraid I dont have the option to reconfigure the transmitter to change the output so Im gonna have to invistigate the IEEE 754 standard a lot more. I find all this number manipulation a bit daunting,pardon the pun, so any help would be great in performing the tasks in RSLogix5000. Like for example how do you create a F8 register in RSlogix as suggested? Thanks David

  3. Hi All, I am reading from 4 registers in RSLogix5000 which correspond to a volume reading on a flow computer. The 1st register contains the integer value 16548 = 40A4 Hex The 2nd register contains the integer value -10041 = D8C7 Hex The 3rd register contains the integer value -20972 = AE14 Hex The 4th register contains the integer value 31457 = 7AE1 Hex Now, when I combine the Hex values: 40A4D8C7AE147AE1 and place them in this form http://www.markworld.com/showfloat.html where it says "double-precision IEEE number as 16 hex digits" and hit convert out pops the decimal equivalent 2668.388 which is what is on my flow computer and the exact number I want. Now my problem is how do you get RSLogix5000 to perform this calculation? I cant seem to figure how to do it! Thanks in advance David

  4. Hi All, Im fairly new to PLC's and im currently working on a project which is using PCS7 which is as far as i know is siemens answer to a DCS system. My problem is that I want to communicate with it using a DAServer which I have set up in Archestra. The reason being is that I am using a simulation package called PICS which can talk to the DAServer but i cant in turn get the DAServer to talk to PCS7! At the moment we have WinCC communicating over MPI to the PLC. So in Archestra in the CP name section I choose MPI and then next in the VFD parameters section I dont know what to enter.I expected there to be a list in the drop down menu but it is blank and the documentaion states that if blank to make sure the right CP name is chosen! Any help on the reasons for this or tips to the setup would be great. Regards David