Andy_P

MrPLC Member
  • Content count

    336
  • Joined

  • Last visited

Everything posted by Andy_P

  1. I have an array of 1000 strings in an NJ controller, and I wish to read them into an NA HMI. To do this at the moment I am using Array.Copy within some vb code, but this seems to hang the screen as it takes way too long, if it ever completes at all. i.e. Array.Copy(NJ_array, NA_array, 1000) also, the docs for Array.Copy state that the destination array needs to be greater in size than the source array, which seems bizarre. Any recommendations on how to do this more efficiently?
  2. User list

    Is it still possible to view the forum user list? I have a strange fascination of seeing where I am in the post count leaderboard. 
  3. Manual for CJ2M Socket Services

    Have a look at manual W421 for CJ1W-ETN21 modules. Does this help? Section 6 has info on socket services. W421-E1-04.pdf
  4. Omron don't support FSoE to anything other than their own devices right now.
  5. Sysmac Studio Improvement Request

    Fair enough, and I do it that way too. Would be nice to have a button to push that generates them all for you, especially if you have a lot of them. First world problem perhaps :)  
  6. Sysmac Studio Improvement Request

    Can we have an improved method of generating screenshots?   Currently, printing a page only prints what is directly on that page and does not include any background pages associated with it. i.e. If you use a background page for a common set of controls for example - these are not included. This makes producing screenshots for documentation a pain.
  7. Is it possible to upgrade the firmware in an NJ controller?
  8. Sysmac Studio Improvement Request

    Already an update to 1.20, now on 1.20.1 This is probably a bug fix given the short amount of time since 1.20 was rolled out. No problems for me as yet.
  9. When you update Sysmac Studio, there are potentially upgrades to the operating system of NA HMI's included. If so, the next time you connect to an NA with an older OS, Sysmac Studio wants to upgrade it. Fair enough, but doing so wipes any retained memory. Is there a way to export/import the data first, or even postpone the upgrade operation?
  10. This might be a dumb question, but how do you do that? The couple of times I have tried it after the upgrade pop-up appeared and tried to carry on without doing it, the connection to the HMI didn't complete. Or maybe I imagined it, which is entirely possible...     :/
  11. Sysmac Studio Improvement Request

    The ability to view status of variables in a variable table when online, like you can in TwinCAT for example.   Also, still waiting for the ability to force non-IO variables.....  
  12. TestABit

    In the NJ, TestABit only works on data types of the following format: BYTE, WORD, DWORD & LWORD.   Perform a conversion of your UINT to a WORD first, then use TestABit with this, or just change your UINT variable to a WORD to begin with if you can.
  13. I think you need to point the StringToAry & SktTCPSend functions/function blocks to the first index of the array you want to use, instead of the whole array. Try changing 'msgByte' to 'msgByte[0]'      
  14. I couldn't find a solution to this, so I have moved all the strings from retained memory in the NJ into retained memory in the NA. This works, as the NA can now For..Next loop through internal memory instead of reading each one from the NJ. However, this means I now have a bit of a disconnect between the data stored in the NJ and what is now stored in the NA. This is a bit annoying, but it is a solution of sorts for my application at present.
  15. Intellisense doesn't show it, but trust me, it is there and it works. This is a bug in the NA/Sysmac Studio software in my opinion. This is not the only function that is missing either. Omron need to improve this.
  16.   Yes you can. I am doing it by: ListBox0.SetItems(arrayOfObjects)   The array has to be an array of Objects, (and not strings, integers, etc.) because that is all the Compact .NET Framework in the NA supports.
  17. I need to read them all in at once, and this way also takes a very long time. I am trying to populate a ListBox with the string data.
  18. Sysmac Studio Improvement Request

      +1 to that. Trying to type when online is like wading through treacle.
  19. Sysmac Studio Improvement Request

    The ability to reference a WORD, DWORD, etc at the bit level directly.   e.g. if myVar is of type DWORD, then being able to do this would be good: myVar.1 := TRUE; myVar.31 := FALSE; etc.   (Yes, I know you can use OutABit, SetABit etc, but this would look a lot more elegant and user-friendly, IMHO.)
  20. RESETTING MULTIPLE BOOLEANS

    Didn't realise it works like that for structures. Nice tip.
  21. RESETTING MULTIPLE BOOLEANS

    Try creating a union in the Data Types. For example, a union of 32 BOOLS and a single DWORD. Then you can write 0 to the DWORD and all 32 bits will be reset.
  22. Sysmac Studio Improvement Request

    The ability to view the status of variables in variable tables when you are online would be good.
  23. Thanks for that, seems to have done the trick!
  24.   Hmm, I can't see that setting anywhere and I can't add any PDO entries. Can you upload the ESI you are using?