Activity for aivarasutkus

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi. Im working with PID controller from oscat basic library 3.3.4.0 I using CTRL_PID. When i turn it into manual mode change value and then set back into automatic, controler begins to control from last frozen value. How to implement bumpless transition? For some reason can't find any one doing smtg similar. I tried to overwrite internal y value, but i can't acces internal DB of this controller data type. Any ideas? Or any other pid controllers that have such function?

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    yes i read about parameters being in different registers with empty spaces, so you cant just read area, you need to read one by one. Drives will be used to regulate pressure and air flow by pid, so there will be quite a lot of speed control. Project uses RS485. Will there be much delay? I was thinking about reading one drive STW,AMPS,KW,SPEED and then just overwrite CTW AND reference even tho its not changed so i would not have to write script to check if speed or CTW is changed

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi. I got a task to control couple of danfoss fc202 drives on ABB PM5630 over modbuss. Question i have is: since i need to read stw, speed, amp, kw and write speed, ctw is it better to just simply cyclically read/write data or just read and if detected change in ctw or speed setpoint do stop and do one write cycle? There are 7 drives/motors in total Anyone got any experience in codesys with such task?

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Sorry, crashed browser.

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Bingo. Thanks

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Bingo. Thanks!

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Bingo. Thanks!

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Bingo. Thanks!

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Like i said, its just a test. My structure looks like in picture. You can address it by using %MW or there is another way to address it. My test code was done with symbolic address. If i make break points and go line by line and i write value to Copy tag Copy:= ptInt^;// <- here while program is halted then this operation writes value from copy tag to tag in test area ptInt^.Sim_value :=Copy.Sim_value; // This idea comes from simatic where you can reach so called Data blocks with Area Registers (IL)....

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Not exactly. So i have my custom structure in global variables list. It goes like: Analog_300_A13EGA10CF001 Analog_301_A13EGA20CF001 ect. Since Scada system is goes over modbus, variables has to have address. So my tag goes like Ana_list.Analog_300_A13EGA10CF001. I cant really use array, because it will impossible to code process. And since i have more objects including valves, motors, that makes quite a lot of tags. So i was wondering if i could just copy of my item to HMI to configuration window...

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi. Im looking for a way to address variables in memory are. I know you can address it like %Mw0. Is it possible to make this with index like %mw(index) or should i use another way to read and write values. Any ideas would be great.

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi. So i have my custom Data type and ia have it in Global variable list. Each instance is used in my function. How could i adress this variable list from hmi for custom object in hmi without using arrays and without hmi tags indexing? Thanks. Aivaras

  • aivarasutkus aivarasutkus posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi. Im working with ABB AC500 series in Automation Builder V2.5. How do you implement function or function block in codesys with user data structure as a parameter. I was working with siemens TIA portal and there you have Data blocks and in functions called IN/OUT type where you can both read, process and write back variables. Or you do this in other way in this software? I was thinking about creating my User data type and store objects in global variables table. Thanks.

1