kckku

MrPLC Member
  • Content count

    121
  • Joined

  • Last visited

Posts posted by kckku


  1. 15 minutes ago, photovoltaic said:

    Never seen this one - did you upload the PLC and the HMI?

    Perhaps you could share the Sysmac project file?

    I tried uploading with a new auto connect project. I then made the changes that I wanted to make to the uploaded HMI. Tried to synchronize again and got the same message.

    It's also telling me that the RunTime on the HMI is newer than the one on my computer. Not sure why this is a problem but maybe related? Also noticed the PLC only exists on one side when trying to synchronize.

    2021-09-17_14-35-45.bmp

    2021-09-17_14-37-23.bmp


  2. 2 hours ago, Crossbow said:

    The files are all already on your PC from the Sysmac Studio install.  You don't need anything other than Sysmac Studio to update an HMI OS. And the HMI files are updated when you install updates to Sysmac Studio.  So you should already have everything you need.

    When you connect to the HMI from Sysmac Studio, it will prompt you to upgrade or downgrade the OS based on the project you have open.  The files are all present, and it should already have them selected.  So just connect to the HMI and let it update the OS.  This will erase the project already in the HMI.  So you can either upgrade the OS, or change the device selected to match the HMI's loaded OS.

    Once you are done and you put the new project in, export an updated copy to the SD card.

    The OS  is not stored in the SD card project files.

     

    Might be a problem if the customer is remote and doesn't have access to Sysmac Studio. I can see this happening.


  3. 17 hours ago, TigerLily said:

    Ok, so I have had the chance to contact tech support at Omron and I have to update the OS in the screen because Sysmac has updated since this system shipped several years ago...so even though my screen is old and I never changed the version I guess the OS needs to be updated to be compatible with the changes in Sysmac (my assumption).  Now I am having trouble finding the NA_RecoverUpdate_7_4_0.exe file that I need to update the HMI via the SD card.

    The manual excerpt is attached along with the full instructions in case anyone else ever needs them, but it sounds like it wants me to use the original installation disc, that does not make sense to me since our software disc is at least 6 years old so this OS wouldn't exist yet!  Does anyone know where these recovery files are available?

     

    2021-08-23_19-06-11.png

    System_Recovery_Instructions.pdf

    Omron France has a link to these files. They don't have 7.4.0 listed but they have version 7.3.0

    https://www.support-omron.fr/rechercher/?r=recover+update

    I checked my Omron DVD (version 1.25) and it only has version 7.2.1

     

    2021-08-24_12-51-44.bmp

    Omron doesn't make this easy for sure. It can really become a nightmare with new Sysmac updates and old HMIs in the field.


  4. We are slowly transitioning from EtherNet IP to EtherCAT so I have been reading the Omron manuals, etc. to try to learn more. The Omron manual has stated in multiple places to not randomly disconnect EtherCAT cables. Instead you are supposed to disconnect the slave using the disconnect feature in Sysmac Studio or a disconnect slave instruction tied to a button on the HMI. Is this really an issue that we need to take into consideration or is Omron just being overly cautious? What happens if I disconnect a slave and then re-connect it? Does the network recover on its own like EtherNet IP or does it require a reset/power cycle?


  5.  

    17 hours ago, photovoltaic said:

    After installing the ESI file it seems that the Result data is all in DINT form. Not much we can do about this. There isn't a smooth way to do this but what I would do is make a string and a DINT array.

    Manually map the DINTs from your IO map to the DINT array. It will be a lot of moves but an inline structured text box ill make it fairly clean. In your global variables assign a starting address to both of them. This will constantly convert the DINTs from the camera into a string and you can decide whether or not to use it in your program based on other vision tool results.

    Keyence_Cam_String.JPG

    Thanks for the feedback. I have resorted to converting each DINT to a byte and then populating an element in an array. After this I use the AryToString instruction to make the array into a string.

    Fortunately the 2D matrix data can be broken up in to smaller segments like part number, serial number, date code, etc. I will have individual sections for each of these strings and then check the content separately.


  6. I have a Keyence XG-X vision system and part of its function is to read a 2D matrix code on a label to verify the content. The vision system communicates to the PLC using EtherCAT and I noticed that I can't assign an array to any of the EtherCAT variables.

    Previously when I was using EtherNet/IP, I would just use an array for the result data. Then I would convert the result to string using the AryToString instruction. Now it seems I have to write code to populate each array element independently from the EtherCAT variables before using the AryToString instruction. Is there a better way to do this?

    It's not so bad if the code content is short but some codes have 68 digits and it will be a problem.

    Thanks in advance for any comments or suggestions.


  7. My software updated without issues as well. I have had issues in the past when I try to install without administrator rights. Not sure if this is the case here as well?

    Also recently our Microsoft OneDrive implementation seem to have messed up access for Omron files. I am only able to save/open files that OneDrive doesn't touch.  


  8. After months of getting nowhere, my co-worker told me the problem is with our Microsoft OneDrive implementation (by our awesome IT department). CX-Designer no longer has read/write access to the location where I store my projects. Once I moved the storage location to my Desktop where OneDrive doesn't touch then everything worked again. 

    It's the same case with CX-Programmer. I just haven't noticed it because I have been using Sysmac Studio for other projects in the last 6 months or so.

    1 person likes this

  9. My CX-Designer shuts down on its own whenever I try to open a project. Does anyone have this problem? I recently updated to version 3.74 and now I am regretting it. Maybe it has something to do with this?

    I am also running Sysmac Studio which I also recently updated to version 1.45. Maybe this problem is related to this? 

    I am able to create a new project with system version 8.9. When I try to create a project with an older system version, CX-Designer shuts down on its own.


  10. I used the same layout as described by panic mode. I typically space out the step numbers into groups by 100's and each minor step by 10. Normally this leaves enough room to insert new intermediate steps if necessary. I have also made sub-sequences that the main sequence can call and wait to finish. This can also give some room to add steps and break up the main sequence into smaller sequences to make the code more manageable. 


  11. Our IT department is on their annual crack down on administrator access and 'unauthorized' software. This year they are demanding to know why I need to run my laptop with administrator access. Besides the Simulator, what other functions will I not be able to use without administrator access? 


  12. I am trying to create a group of data displays to show the contents of an array. The variable is from the NX PLC and the the array is defined as Short(99).

    In my Create Duplicate Objects window, this variable doesn't show up.

    I did exactly the same with a local variable inside the NA page only and it worked as expected. Does this feature only work for internal NA variables?

     

     

    2020-01-30_9-20-11.png

    2020-01-30_9-20-48.png