Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by ORSO2001

  1. Dears, by the "SD MANAGEMENT" I can select the max files stored in each folder...so the PLC will automatically erase the older files when the limit is exceeded...how to know when this will happens?...is a BIT that I can check or I have to take in care the files count? thanks
  2. dears, i think that I understood the "probem"...at the end I was adding some String items , also the ";" separator and the "EOF" simbol", bu tthis last has to be added directly in the buffer as "costant" and not as String. Now seems works...I have to try to read from SD file into the buffer...
  3. Dears All, i am concatenating 4 String UTF-16 formated; between the strings I insert a ";" separator (also UTF-16 formated)...so...I am able to have the end buffer properly filled with th einformation...but I am not able to have a "new line" when I try again to append the buffer at the SD file. I tried to insert, at the end of the buffer, a lot of characters (u\2424; u\000D; u\000A...etc alone and conbined )...but nothing works...or better...with the file saved as TXT and with the u\000D in the "windows note pad" I see the right lines...but if I use "notepad ++" or i try read this as
  4. dear TJ, some not clear info from you...I mean...you wrote about ModBus TCP but the document attached report, for these devices, ModBus RTU by RS485...have you a gateway in the middle?
  5. Hi Dave, in my opinion this is a good request...because, I think, all of us have one or more debug pages about the I/O status (also to force the output as test)...and always I have to manually write the "name" of the I/O that usualy is the same, or can be, as usedin the "alias".
  6. hi remy, maybe my suggestion is not so smart but...did you take a look at the unilgic examples? also..did you take a look at the youtube videos that explain how to configure and use the differents functions?
  7. hi vken, from your picture I saw that the function 1 (maybe is the main function) has no BIT trigger to do the conversion from 2xint16 and REAL...also to perform the byte swapping...so this funciton will called a many times (one for each PLC cycle)...please try to insert a BIT command to perform these actions. regards
  8. Just to know...are you trying to read info starting from address 1 or address 0? because the column called "Modbus Protocol Start Address Hex" show that you have to start from address 0x0000...then 0x0000 and 0x0001 will contain the info about the "Phase 1 line to neutral volts"; address 0x0002 and 0x0003 will contain ythe info of "Phase 2 line to neutral volts"...and so on
  9. ...I took the first exampke that I found searching "pythin async modbus client" without any checks...😀
  10. hi damiankk, in my opinion with 100 variables you can use the modbus way...what you have to be sure is that at the PC side the python scrip has to use an asynchronous method. I am not so deeply inside python but I found THIS example about how to implement an async modbus_TCP_client.
  11. Hi Flex, customer asked for new features then I thought that can be the case to take a look at the new release. I am testing this in the PLC that I am using as emulator. At the start up of the program I upload/create 9 DTI as system configuration...then only when the "initialization" is completed I let the program run...with version 1.26 need very few time..with version 1.29, more or less, 30 seconds. Also, as I wrote, i found that not all .sig files was created...then I removed the "&" from the file name and the .sig was present.
  12. Hi All, I just update one of my project, that is working perfectly, from version 1.26.90 to 1.29.111...and I saw that the ladder function Store DTI to File need more time referred at the previously version...to be clear I let 1 as F parameters (all file type)...with version 1.26.90 I think that the storage of the file needed much less of 1 seconds for each DTI....with version 1.29.111 I think 4-5 seconds are needed! I tried to clean the SD...then all the files are generated by the same version...but is the same. I also saw that some .sig file are added...but if the file name has
  13. hi Daniel_EWW, i think that the "problem" is that the DT_Index as FunctionIn variable is not able to define the type/lenght of sructure that it is referring (seems somthing like late binding)...then is not able to let you select the right local or global structure variable to store the "value".
  14. Hi Flex727, usually I also use "insert" and "remove" row in the DTI...and this "warning" is present, I think, from version 1.25.xx...also a warning when you use the "indirect modbus ID or Group ID" function was added...to remember that the FB has not to be the first element in the ladder but a small delay or a "enabling contact" is needed. However ...as I wrote...I usually use "insert" and "remove" command for table about 200-300 rows and I didn't have problem. As Kratmel wrote this can be a problem (watchdog) when the DTI include thousands of rows and you have to insert/remove
  15. hi, what is the aim of the "MODBUS SET SLAVE ID" module and how this must be configured? I don't found any description in the help file... thanks
  16. hi Saragani, so...I did some "test"...at the end if I open the unistream program and after recall my project, then close it, the USB seems always "free" and I can safetly remove this. If I open the project by a double click on the .ulrp file, then close the program, the USB still be busy but not all the times...let me say 7 out of 10. This happens in 2 different PC (one with W10 PRO and a second with W10 HOME). PS: in these 7/10 cases the only way to let the USB stick free is close by task manager the unistream notifier.
  17. Hi AlexUT, thanks for the answer and to explained me that "This may lead to project corruption"...I will follow your suggestion regards
  18. Dear All, I saw that if I open a project uploaded in a USB stick when I close this and ask to "safetly remove" the USB stick I have an error message that the USB stick still be used...if I close the unistream notifier, by the task manager (windows 10) I can do this without problem...then the unistream notifier take busy the USB stick. This is not a real problem but is a little"annoying".
  19. Hi Stojan, all depends about what you need to do/transfer/check with the remote PC. 1) you can setup the PLC as Modbus SLAVE by TCP/IP connection....to do this you have to search in the "solution explorer" window: PLC communication -> Protocols -> MODBUS -> Slaves -> Panel Ethernet. done this you have to create SLAVE and add coils or registers ...Unistream expose some types of operation to manage the modbus coils/reguster...so I think that is better if you take a look at the online help. in this way you will create your own registers list...that can be only read
  20. Hi Swervomotor, if I well remember the webserver don't manage the custom control elements...then...are you using custom control?...in this case the VNC is the way.
  21. Dear dhazelman the position "D" in the UDFB "find DTI colum value" is the starting row of the column where to search...and the position "E" is how many rows must be checked...you setted this last as "0".
  22. hi Dz! In my opinion, but maybe I am wrong, this is because you are trying to have a "big" UDFB that do many things itself...always in my opinion you have to try to split each "operation" to have many single/small UDFB...then create a unique "manager" UDFB that has inside these small blocks...then in this case you can decide every time how many Fin/Fout are needed.
  23. maybe...in the main ladder...use the Frequecncy.Frequency1ms as |P| ... tu arise a "siple coil" -( )- of a global variable; pass this variable as a FunctionIn in your UDFB.
  24. you are calling the same function twice...I think that, in this case, the Frequecncy.Frequency1ms is consider as a static variable in this function...then its status will be propagted in the other calls after the first call... if you try the same but with two different function (UDFB) its will works...
  • Create New...