MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

4 Neutral

About Andy_P

  • Rank
  • Birthday 06/08/69

Contact Methods

  • ICQ 0

Profile Information

  • Gender Male
  • Location Melbourne
  • Country Australia

Recent Profile Visitors

2766 profile views
  1. 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.
  2. 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...     :/
  3. 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.....  
  4. 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?
  5. 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.
  6. 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]'      
  7. 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.
  8. 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.
  9.   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.
  10. 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.
  11. 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?
  12. Sysmac Studio Improvement Request

      +1 to that. Trying to type when online is like wading through treacle.
  13. 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.)

    Didn't realise it works like that for structures. Nice tip.

    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.