Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Daniel_EWW

  1. Hi Ness, good to know that I'm not the only one with this issue. Did Unitronics shared a link to the 1.29.138 built?
  2. Joe, thanks for your time to give a comment to my problems. Enclosed is a pdf with my experimental Modbus slave solution for our job. Took me several hours playing around. The following page http://www.simplymodbus.ca and the program qModMaster helped me to do this. Why do we need this: In my second post of this thread, I changed the Modbus Slave Address to reset the “NumOfClients”. This works for about 6 – 10 hours. Then suddenly the Status of the Modbus Set Functions changes to -1 and the communication is dead again. I hope that the new solution works… I will post an update in
  3. Joe, thanks for your answer. I want to replace the modbus slave configuration with a ladder logic listening on the RS485 CPU interface. Enclosed the picture with slave configuration and a beginning of ladder logic (cannot work this way but hopefully points out what to do). Joe, just out of curiosity. Are you a Unitronics employee? I’m not happy with the 1.29.111 version. Often get the “HMI overload message”. Sometimes after a download, the screen stays black (only power up can resolve it).
  4. Is it possible to build a RTU Slave ladder program (parse and response to incoming msg. from the master) with the advanced modbus function blocks? (Couldn't find an example in the UniLogic examples.) @Saragani @AlexUT @Joe Tauser
  5. Do you have an SD Card inserted? Each Data Sampler has a global data struct. You can look at the status integer of the data sampler if there is an error. (Enlosed a trend printscreen without inserted SD card)
  6. Also the Modbus TCP Slave is not working properly in V1.29. We changed back to V1.26.
  7. Below my dirty work around. The communication is now working for 2 hours. If the "NumOfClients" is grater than 150 the Modbus Slave address is set to 2 for one PLC cycle. This triggers a reset of the "NumOfClients".
  8. For the communication with Siemens PLC’s we use an Anybus device. In the version 1.26 everything works fine. With the 1.29 version, the NumOfClients is increasing to 165 and after approx. half an hour no more data is exchanged with the Anybus device. Any ideas for a work around? Is this a Modbus bug in the 1.29 version?
  9. Saragani, please can you share an example C- code function to pass on a Data Table as reference? Thanks!
  10. hi ORSO2001, thanks for you answer. i think i understand what you mean. but it is possible to define a struct as FunctionIn without problem. a data table is (in my understanding) a struct with a row index.
  11. I like to link different Data Tables (Indexed) to one Function as IN parameter. Has someone done this already? What I'm doing wrong? (Please see example Function1 Rung 1; Direct linking is possible Function1 Rung 2)
  12. Hi, is it possible to set the CPU Ethernet (IP Address, Subnet, Gateway) and ModbusTCP (IP Address, Port) parameters with a .ini file? Please can you provide a file syntax example for the above metioned parameters? Thanks, Daniel
  13. I always get the message "Could not apply command" when I try to upload the retained memory. In this case, we use UniLogic 1.19.83 software. After two years of operation the message "HMI overload" appears. (Too many files in the SD data sample folder?) What is the best way to upgrade the software? Is it possible to download the current tag values as it was possible with the remote access in the VisiLogic?
  14. New situation... As I mentioned before I use a VPN connection to the facility. Now I opened a wireless mobile connection to get an additional internet for TeamViewer support. I tried to download the same modification like before. And... no more reset is required. This could have been also the problem when I was at the facility site. I did not had an internet access before we finished the installation of the remote access router.
  15. Today I am back in office and we have a VPN connection to our facility. I modified two text boxes in one HMI screen. However, I cannot download it without a reset. Due to the VPN connection to the facility, TeamViewer is not ready for other connections. When I get this solved, I will ask for a remote session so that you can have a look at it.
  16. Correct, right now everything is back to normal. No reset required after ladder software changes. Completion time after ladder changes below 1 min. A rebuild all (ladder time) takes now approximately 5:35. If it happens again, I will contact you and we can debug it with a TeamViewer remote session. (What is the best way to contact the support? – The page http://forum.unitronics.com/support/ seems to be down) Thanks for your help.
  17. Thanks for your support. Maby I have to increase the RAM of my laptop (currently 8 GB). Do you think that the project is too big or at the limit for the PLC? I did not made a print screen of the donwload dialog. The reset icon was next to all functions I modified. E.g. I changed one ladder element -> in download dialog the reset was required due to this function were the modification was done. In this case only the timers were affected from the memory loss.
  18. I sent you the project via wetransfer. Is there a log file where you can see what function needs recompilation? This would help when the compilation time problem occurs again. There was no (or at least not much) difference in time between compile and rebuild all. (In addition to the compilation time, the PLC needed a reset after small ladder program changes.) All timers pre-set values become zero.
  19. Yesterday I had the same problem with the long ladder compiling time. Each compiling took more than 10 minutes. I rebooted the PC several times and tried to delete the temp files (it is possible to delete files like JET5F11.tmp, however I cannot delete files like ~DF88DF201B390B0325.TMP) and executed the rebuild all function. Nothing was reducing the compilation time. In the evening, I upgraded the software from 1.26.90 to 1.28.26. However, the compilation took also a long time. So I still use the 1.26.90 version. Today the compilation was faster (around 2 min.) Nevertheless, e
  20. Saragani, please can you give me an update to this topic? I always get the message "Change fail, not in range" if the default gateway is not set to 0. With the VisiLogic PLC it was possible to configurate the IP address with a ladder instruction. Each of our facilities has a unique number and according to this number we generate an IP address. So for us it would be great to have this function also in the UniLogic. (It dosn't matter if a restart von the PLC is required) It would also be nice to have the Modbus Communication IP as tag value instead of an static IP. Modifing
  21. Saragani, thanks for your answer and for your offer to send the project to the R&D guys. We will reconsider using the pre-defined template.
  22. Hi, can someone tell me how to import tags in a project which was created with "pre-defined tags"? (In this case we use the pre-defined tags because we are in progress to convert a V1210 project to the unistream) Thanks!
  23. You are right that USB is not mentioned in this chapter. But as you can see in the picture of the PNOZmulti Configuration tool you can add virtuel I/O's. And it is working perfectly :). To the test configuration: I connected the PNOZ mm0p via a USB cable to my PC (PC is USB Host). Now it is possible to communicate with the mm0p via a termial program (e.g Hterm) as described in the manual. No additional HW needed. The "only" thing missing is the implementation of the "usbser.sys" driver in the unistram operating system ;).
  24. Hi kratmel, this is not correct. You can exchange data (virtuell I/O's, LED Status and so on) over the integrated USB interface even with the standalone device mm0p (As you can see in the picture of my first post). And this is really graet to exchange information with the main PLC. http://downloads.pilz.nl/downloads/PNOZMulti/PNOZmulti_Com_Interface_Op_Man_1001154-EN-10.pdf See chapter 5.3.
  25. Hello Unitronics Team, I tried to connect the pilz PNOZ safety PLC to the Unistream USB Host to exchange data. Unfortunately, this was not succsessful. Windows is using the "usbser.sys" driver to communicate with the pilz PLC (see enclosed picture). I do not know how complex it is to implement this driver in the Unistream PLC. Maybe you can look into it. The communication between the PC and the Unistream with a USB rs232 adapter with the prolific chip is working wonderful :). Best regrads, Daniel
  • Create New...