-
Content count
336 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Andy_P
-
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?
-
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.
-
Have a look at manual W421 for CJ1W-ETN21 modules. Does this help? Section 6 has info on socket services. W421-E1-04.pdf
-
NJ to Kuka EL6695 EtherCAT bridge (secondary side)
Andy_P replied to grunthos's topic in NJ Series / Sysmac Studio
Omron don't support FSoE to anything other than their own devices right now. -
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
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 :) -
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
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. -
Is it possible to upgrade the firmware in an NJ controller?
-
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
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. -
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?
-
Updating NA OS version wipes retained data.
Andy_P replied to Andy_P's topic in NJ Series / Sysmac Studio
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... :/ -
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
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..... -
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.
-
NJ501/Sysmac, ARRAY[] of BYTES cannot be converted to BYTE[]
Andy_P replied to BassGroovin's topic in NJ Series / Sysmac Studio
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]' -
Read an array of strings from NJ to NA
Andy_P replied to Andy_P's topic in NJ Series / Sysmac Studio
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. -
Read an array of strings from NJ to NA
Andy_P replied to Andy_P's topic in NJ Series / Sysmac Studio
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. -
Read an array of strings from NJ to NA
Andy_P replied to Andy_P's topic in NJ Series / Sysmac Studio
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. -
Read an array of strings from NJ to NA
Andy_P replied to Andy_P's topic in NJ Series / Sysmac Studio
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. -
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
+1 to that. Trying to type when online is like wading through treacle. -
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
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.
-
Sysmac Studio Improvement Request
Andy_P replied to BITS N BYTES's topic in NJ Series / Sysmac Studio
The ability to view the status of variables in variable tables when you are online would be good. -
NJ to Kuka EL6695 EtherCAT bridge (secondary side)
Andy_P replied to grunthos's topic in NJ Series / Sysmac Studio
Thanks for that, seems to have done the trick! -
NJ to Kuka EL6695 EtherCAT bridge (secondary side)
Andy_P replied to grunthos's topic in NJ Series / Sysmac Studio
Please do -
NJ to Kuka EL6695 EtherCAT bridge (secondary side)
Andy_P replied to grunthos's topic in NJ Series / Sysmac Studio
Hmm, I can't see that setting anywhere and I can't add any PDO entries. Can you upload the ESI you are using?