Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Swervomotor

  1. I have not looked at your file but I know your host email account needs to be configured for SMTP.  I would start there if it hasn't already been configured.



  2. Check the Panel IP address and program version number in UNI APPS by press and hold the top right corner of the HMI,  Make sure your IPV4 IP address under network settings on your laptop for the USB network adapter is on the same subnet eg( if HMI is, then you should be something like with the same subnet mask eg  Make sure you are using the same version of Unilogic that the project was downloaded with by confirming in UNI APPS the software version.  Lastly make sure you are on the same physical network, if you go through switches to get to the machine are they actually connected?



  3. FTP is the way I do it,  I use filezilla but I'm sure you can use any of them. Just set up the FTP server on the PLC and use the credentials to go grab what you need. (Solutions explorer ->PLC communication -> protocols -> FTP-> FTP servers)  If you have a local server/NAS you can use the FTP function blocks pretty easy as well to do automatic send/receives. 



  4. On 12/22/2020 at 11:11 PM, shane.platt said:

    I am a control engineer and was brought in on an existing project consisting of a Omron vision system and a Unitronics  USP-070-B10. I was tasked with adding additional measurement tools to the vision system. The vision system is utilizing an  10 indices array(float) nested inside a STRUCT. I am planning to add 50 more measurements to the vision system. I thought it would be easier to just increase the size of the existing array to accommodate the new measurements. After increasing the size of the existing array I compiled the project and oddly enough I had about 40 mismatches between the PC and the PLC including communication mismatches that were not there prior to the increase. I went ahead an downloaded the file to the plc. After the download was complete I could no longer connect to the vision system, nor could I connect to the collaborative robot that the Omron camera was mounted on. I generally only work with Beckhoff, Allen Bradley, or Siemens PLCs, so I am not very familiar with Unitronics. I know in the past 30 years of programming I have modified the index size of arrays on countless systems, and never had an issue. Has anyone ran across a similar issue when increasing the number of indices in an existing array?? I modified nothing else in the programming except for the number of indices in one array and literally nothing works.   Does this have something to do with the way the PLC is allocating the memory? I have never seen a option in any other PLC to "Reallocate Memory".  The documentation doesn' t mention "Reallocate memory" anywhere, so I have no idea when or why I would need to use that. Can anyone shed some light on that?? 




    I agree Support is going to be your best bet but I would start by looking at:

    How are they communicating? Ethernet/IP, Modbus?

    When adding vision "measurements" in the vision controller, does the communications struct that was previously running already have place holders for those bytes? Hard to put into words but if you made changes to the communication struct in the plc it would not match the output coming from the vision controller. In the picture attached if the input size changed (by adding components) unless your actual output coming from the Omron also changed size you would have a mismatch and it likely would not work. 



  5. I realize this is not an answer to your issue but have you considered writing the Unilogic program to handle all the scenarios and use data tables for storing/accessing process specific data?

    I have done this where you separate all the different sub-routines then CALL them in order of the "process step" table for whatever part it's running.

    Then all you would need to do is send it the part name and do all your data/process loading inside the PLC. 


  6. I've had 2 SD cards go bad this year. I think if you really need that 20 years of data you would find a redundant way to back it up.  A cheap NAS can easily be configured as FTP server and mounted remotely or locally. 

    The 32 limit is the default in Unilogic, you need to change that or it will start auto-deleting older files. 

    I'm not sure but I believe it also has difficulties with subfolders. 

  7. I would check the aspect ration of whatever "screen" (tablet with VNC viewer) and match that as close as possible to the screen. For instance I would go with the low cost Unistream 7" with a 16:9 aspect ratio and find a 10"ish tablet with that ratio. Scaling is done through the VNC viewer on the tablet. I use RealVNC as a VNC viewer and the scaling can be adjusted in the properties of the connection.

    On the Unitronics website I see:

    7" 16:9

    10.4" 4:3

    15.6" 16:9



  8. You should be able to create a new file no problem, Do you need a new folder for each file? Or can you create a folder on the SD from a PC and store your files in that folder?

    Your method of backup you will need to change the SD file # limit from 32, but you might start getting issues with so many files on the SD card as time passes.

    We store them to the SD in a folder then use the FTP functions to send them to our local FTP server, then overwrite.   SD cards go bad.

  9. To be honest this could be easily accomplished with a micro controller (like arduino, ESP8266 or ESP32, or even a raspberryPi), power supply,  and a opto-isolated  relay board. >$100

    Unless you are trying to teach ladder logic or the unilogic environment it is quite overkill. IMO


  10. I have not but am strongly considering a unistream 10.4 multi-touch for this purpose, or possibly a lower end model and VNC from a tablet.

    It has so many built in Coms I think they would be great.  I would need these questions answered (through research) before I decided to pull the trigger.

    Possible to interface with Mqtt? For voice control through voice assistant, cell phone app, and PLC control of existing networked smart "things".

    Power/cost study to determine if I can make the distances I would need to my entire property with centralized I/O or do I need networked distributed I/O w/local Power supply.

    To be honest I wish they made a POE arduino nano/micro/esp  for this purpose.

    I hate changing batteries so while something like a battery powered ESP32 would be great (2 cores, wifi, etc.) I need something that is POE or hardwired to central/distributed  I/O


    I'm sure you could do PC control for cheaper but I'm so familiar with the Unistream the cost difference is much less important then the learning curve and hardware/software troubleshooting.


  11. I've had better luck (actually getting something done with IT) having IT setup an FTP Server on the network and giving me a client username and password.  I then setup the client on the unistream and FTP send to send the CSV on my end.  This way works better for me because then I can add a bunch of machines and don't have to have IT involved because I re-use the username and password. 

  12. I routinely find myself bouncing between 3-4 different revisions of unilogic depending on what version the program on the controller was created on.  I've only been able to do this by uninstall whatever version I have and re-install the version I need.  Is there a quicker way to somehow keep multiple versions on the same box without having to go through the uninstall- install process?

  13. What is the best/reliable/fastest way to "cast and control" the HMI screen to a tablet (on the other side of a machine)  

    Hardware would be a Unistream, would a VNC veiwer or webserver be the best option or are their other alternatives?

  • Create New...