SKA AB

MrPLC Member
  • Content count

    73
  • Joined

  • Last visited

Posts posted by SKA AB


  1. On 3/14/2024 at 5:55 PM, Str8jCkt said:

    @SKA AB 

    If you place the StackPush in line with the EndofOperation of the RecSearch does the problem seem to improve?

     

    Take a stab at what may be going on...

    I am wondering if on Rung 1, when Lap1_OperationComplete goes TRUE, RecSearch on Rung 0 is no longer being executed (EN is off) so maybe Lap1_FoundBoard will go FALSE. I do not think that output is a "Retained" status and goes FALSE when it is no longer executing.

    This could possibly cause Rung 1 to execute the StackPush multiple times as long as Lap1_Processing bit is still high.

    Also will depend on conditions you are using to reset Lap1_OperationComplete

     

    65f328e716a48_Screenshot2024-03-14114108

    Thanbks for the suggestion, i have modified the code to your suggestion, but have not had the chance to download and have it tested live yet.

    Quote

    This could possibly cause Rung 1 to execute the StackPush multiple times as long as Lap1_Processing bit is still high.

    This was my first thought, that Rung 0 does not manage to finish in what ever condition is has per cycle, and then rung 1 do get pushed several times.


  2. Hi, i have found that the RecSearch seems to be unreliable, you cannot tell if the search is done, and nothing is found, or if its still searching.

    I see quite often that we get double and tripplets in the array[0..199] struct.

    Lap1_PushBoard.ID is filled in by a scanner, RecSearch is looping thru 0..199 array to see if its already in there, if its not, it should add it in the network after.

    The red-crossed out is an attempt to try to validate the search is completed.

    Is there a way with recsearch to actually KNOW when it has looped thru all the array and not found its search value in? Right now it has basically one cycle to find or not find, then the network 2 is

    going to assume board not found, but watching live data i see doubles in the array, several times in a row, meaning search was never done when we added the value.

     

     

    recsearch.png

    boardlist array.png


  3. On 3/9/2024 at 3:25 AM, Geofano said:

    The password is omega

    And about the 528 pages manual book, did you already find it? 

    Hi, i checked all my local storage where i am today, i didnt not have it here, but at my other home, where ill be at in 2 or 3 weeks, i might have it there, but its not accessible for me from this location (since i have not setup remote access to the nas from here :D)


  4. 1 hour ago, Geofano said:

    Thank you. 

    Already download the software and run it with win xp, but I need the password to fill the parameter that the software needed. Could you help me with the password? 

    IMG-20240308-WA0004.jpg

     

    I dont recall if the omega-project i had, had a password, try press enter only, else you need to try some stuff like project number or whatever could be set.

     

    1 person likes this

  5. 7 hours ago, Geofano said:

    Hello SKA AB,

    I have same problem here with same type and devices of Baumuller Omega.

    I need to "online" with this Omega but I don't have any idea about the software to use or the manual book. 

    Is it possible to send me the software driver and the manual book?

    Thank you.

    I put the program here  https://web.tresorit.com/l/Cs5xC#XjUIpozZRiJPxVwyZBnvoA

    You need to run Win 95/98, it might run on xp.

    the manual is not in there afaik, have to look for it else where on my nas.

    1 person likes this

  6. Hi, we have one PLC that throws many errors on task period exceeded.

    checking the status, this warning have come over 15000 times since when ever it started couting it.

    Max cycle time is 2.83ms while max allowed task is the default(?) 2ms.

    We think it has something to do with the block for the barcode scanning. this blockas around 134ns cycle time when it seems normal, all other blocks is around 4-8 ns.

    How can we make sure what part that sometimes exceeds the 2 ms execution time?


  7. On 9/6/2023 at 3:59 PM, photovoltaic said:

    A quick fix for this is to get your colleague to copy any 3rd party EDS/EDH files to a folder on a flash drive and then you add all of those EDS and EDH files to your EDS folder.

    EDS folder: C:\Program Files\OMRON\Sysmac Studio\IODeviceProfiles\EipConnection\Eds

    Restart Sysmac once the files are moved over and you will have all of their EDS files.

    With EtherCAT devices the ESI files do transfer with the project but not EIP.

    Thanks for this tip. We quite fast here locally decided to collect up all our EDS files and have it on a network share, so when we get a new computer, we can just toss them in and everyone gets the same versions that is needed depending on the projects.

    1 person likes this

  8. Where i have worked.. on those machines that  as a full windows-ish version installed (like Panel PC's or regular PC+screen) we often install Filezilla Server, there you can mount other folders into the ftp folders, and inmy experience, simplifies everything, like having a vision camera ftp up an image to be stored for later reviews or logging image to database/datalake for legal tracabillity


  9. On 8/31/2023 at 9:46 PM, chelton said:

    When this error occurs it actually removes the device from the list when the project is imported. Then only way i found what was missing was to go through the code looking at the comments and tags. For me i was missing an EDS for a "E&H promass flow meter" I can't reproduce the error now i have the EDS files installed.

    This is the bigger problem in sysmac.. It rarely tells you which EDS-file is missing, and as you said.. devices without a correct EDS gets removed.. so you cant get any hints on what EDS file you need.

    Now we've managed to sort this out because one of the collegues remembered which EDS files is required by this specific project.
    On this part, Siemens TIA-Portal has a leg up on the GSD-file management.. all the required GSD-files comes WITH the project "baked in".


  10. 1 minute ago, chelton said:

    If you don't have the EDS files for the ethernet/ip devices you will get the error. 

    I opened another project where i was missing EDS files, then the output states which version of the ABB EIP/CIP verison i was missing.. This one just gives an generic unhelpfull error.


  11. On 5/12/2023 at 2:12 PM, PrecisionPLC said:

    Hi I am looking to move data on a part once it has been scanned at a station. All I need to move is the 2D matrix Code and time stamp. I have moved the code and time stamp into a bufferArray I am just unsure as to how to send it to the company computer. 

    I am using Tia portal V15.1

    If anyone would be able to assist me 

    How is the office computer connected to the plc?

    What PLC model are you using? You can perhaps use OPC-UA and read that from a software, or use S7NetPlus in C# and make a program pull the data where to you need it, as an example.


  12. 8 hours ago, BE said:

    I haven't tried to simulate it, my laptop is windows 11, but I don't have it at work. I can probably give it a crack after work and see how it goes.

    In the meantime, is 'randomware' a typo? Wondering if it is supposed to be ransomware, in which case it is possibly an anti-virus/windows defender issue........can't be certain, just throwing ideas out there.

    Yes, its supposed to read ransomware.


  13. On 3/31/2023 at 2:28 PM, photovoltaic said:

    Never seen that one, are you able to share your program?

    This is the project i've semi recently started with to rewrite a station.

    I have Win 11 and when i start the simulation i get this blocked message:

    %AppData%\Local\Temp\ywfa1xmf.wi3\bin\Resource_UserVariables.dll

    App or process that was blocked: pacrun.exe
    Rule: Use advanced protection against randomware.

     

    eva.smc2