Marshy

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Marshy

  • Rank
    Newbie

Profile Information

  • Country United Kingdom
  1. TCP Comms between two Mitsubishi Q01CPU

    You've made my day! Thanks so much, it worked perfectly! How were you able to look inside the FB to determine the issue? Have a great weekend! Rich
  2. TCP Comms between two Mitsubishi Q01CPU

    The library name is Comm_Lib_QJ71E71_Rev1 The FB's are: Open_Connection_QJ71E71 Buffer_Send_QJ71E71 Buffer_Recieve_QJ71E71 Close_Connection_QJ71E71 You can download them using the link in my first post Cheers
  3. TCP Comms between two Mitsubishi Q01CPU

    Attached is a screen shot of the device/ label automatic setting of the Q06UDEH the sample project is using. I'm now starting to think the Q01 CPU is just not up to the job.
  4. TCP Comms between two Mitsubishi Q01CPU

    I increased the size of the counter memory but it made no difference. I think the C1009 and C1025 are just error codes. Thanks for the suggestion Rich
  5. TCP Comms between two Mitsubishi Q01CPU

    Thanks for the reply, I'm pretty new to the world of Mitsubishi so I may not be doing something right? I opened the function block sample project, changed the CPU to a Q01, After changing the CPU I get the warning that the device/ label automatic setting was changed and that I must specify the setting again I then increase all the ranges (see attached pic) rebuild all. I then get 25 errors consisting of the following 3 types: No. Result Data Name Class Content Error Code 1 Error Open_Connection_QJ71E71 Program compile Device or address is out of range. Please check the device setting in PLC parameter or check the program whether the device out of the range is not used.(Ladder Block No.1) F1004 No. Result Data Name Class Content Error Code 4 Error Open_Connection_QJ71E71 Program compile Invalid characters(Ladder Block No.7) C1009 No. Result Data Name Class Content Error Code 6 Error Open_Connection_QJ71E71 Program compile The data type of the input variable 'Un' is incorrect.(Ladder Block No.10) C2025 When I click in the error I get this message: Cannot display the library because it is not in an editable state Have I edited the device/ label automatic settings correctly? Is the Q01 CPU able to do this task? Thanks again, Rich
  6. Hi All, We recently added QJ71E71-100 ethernet modules to two Q01 CPU racks so that we could remotely connect them to a SCADA. This all worked fine. I now have the challenge of establishing comms between the two CPU's to exchange some silo level values. The CPU's are programmed in GX Works2. I found on the Mitsubishi web site some function blocks (http://www.meau.com/eprise/main/sites/public/Industry_Solutions/Custom_Solutions_Center/default) that I could use to get things going. However when I add them to my project and compile them I get a compile error: "Program compile Device or address is out of range. Please check the device setting in PLC parameter or check the program whether the device out of the range is not used" The problem is these blocks are read only so I can't see what the device addreess that is out of range is. Does anyone know how I can overcome this issue? Is there any easier solution without the use of these function blocks? Many thanks Rich
  7. Hi, We have a flow meter that gives us an analog flow rate. I'm trying to use the PCFL-Total function to totalise the amount of water pumped. I've read chapter 142 in the Ladder Logic User Guide that describes the function but was hoping for some kind of example on how to program it? So far I've set the solution interval to 1000 and I get a resulting sum when running the function. The main problem I have at the moment is how to reset it. When I set the 5th bit in the input word it doesn't reset to 0? If anyone has used this function before and can point me in the right direction I'd be greatly appreciated. Many thanks