Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by Swervomotor

  1. I use the Unistreams quite a bit and have never used the vision. The Unistream takes 10-15 seconds usually for the screen to pop up but was wondering when the ladder actually started. I have a couple 7" unistream for another project I'm going to test the up time with, this is is a battery powered application that would need to start running ladder within a few seconds of power on.  It would be awesome if Unistream had a "sleep" mode that could be "woken" with an input.  The Vision sounds like it may be a better fit for this application, I'm just spoiled with all the functionality of the unistream. 

    I'm going to tie in an output directly to the power rail and test in the next couple of weeks. Will update with an answer then,



  2. It's hard to see but it looks like data table "Message Alarm Table" is of the table type: Data Table: Indexed.

    Pop only works for FIFO or LIFO data tables, change the table type (if you are not using other Indexed operations in your program)


  3. Is there any way to determine at what point the ladder logic starts running after power on?  We experience a pretty long Power up before the screen get past the boot stuff but when does the ladder start running?

    I have an application that needs a somewhat short power up time for the ladder to start scanning and updating outputs.



  4. The UID  0808-THS spec says it's PNP, because they are transistors they cannot be "switched"

    Usually the best way to handle voltage variations is to use NPN hardware such as the UIS-WCB1 and an NPN gecko driver so you can tie the 0v together and have it function, next best option I would look at would be to use a high speed opto-coupler depending on how fast/accurate you actually NEED to drive the gecko, a lot of those stepper drives have "micro-step" settings where you can change the step/pulse ratio to lower your accuracy but also reduce the necessary pulse frequency.

    This one says it has a max conversion of 20khz, you would also need a 5v PSU but those are cheap.



  5. I have accomplished this a couple different ways:

    1. Put the data table on a webserver page so you can connect and edit data remotely. 

     2. Convert UDT to .csv then FTP that to your network folder.  Open in excel, edit, save as .csv, put back in network folder, Then FTP receive from the PLC (power up or button etc). 

    3. SQL to/from SQL database.

    SD card would be my last choice, you can even just use a FTP client like filezilla and "manually" grab it off the PLC to edit then put it back.

    Only issue I have is converting from .csv into excel, takes to many clicks/keystrokes so I normally just edit the raw .csv in notepad.


    File size could be an issue but some tables have 500-1000 rows of 19 columns and do not miss a beat. 




    On 3/25/2021 at 5:24 PM, Ausman said:

    Swervo, what is the exact need for the remote screen?   Maybe it could be changed to an indicator and switch array running from physical I/Os, if only minimal functionality is needed.

    Here's a possible hacking project for @kratmel  !!     Explore the interface between the screen and what runs it.  I feel sure that along that chain there would be a possiblity to have a splitter of some sort in place that could show identical screens concurrently, without any touch on the remote one(s).  It could all be likely done very easily by using connectors that match internals.  Kratmel....that might make you some $s!!

    cheers, Aus


    This will be a leak down tester with operators on both sides of a machine. It's not complicated enough to have 2 separate machines/plc but we would like to be able to see the real time data/have acknowledgement screens/etc. from both test stations

    I will read the thread @kratmel thank you for the contribution.


  7. Hi All,

    I have an application that I will need to control the machine from 1 unistream PLC/hmi and have a remote screen on the other side of the machine.

    Is it possible to just use another HMI as a VNC client that will auto connect on power up? Does it need a CPU or Just the HMI?

    A cheaper option would be to run a small tablet type device and VNC as well but that would not auto connect.

    Basically looking for the best option so the operator does not have to do anything when the machine is powered up.


    Thanks in advance.




  8. You build your UDFB to contain all your room arguments

    Then you pass it which room/device  you want it to handle and  trigger the UDFB with rising P in your global or main program. Using a conditional statement like equal, only the desired sections of the UDFB runs. 

    In the picture "LoadActuator" is my UDFB and the top 2 rungs are inside the UDFB.

    The bottom is a call showing how I pass it A) SelectedPostion (pointName)and B)Actuator Number.



    • Like 1
  9. Not really enough to tell what the problem is but it looks to me like you are using local tags in the function vs Global tags.  I wasn't aware of a limit but it makes sense there may be a limit to the number of local tags you can define per function.   I would check your Data Table name is in the global tags area. Outside of that I would contact support. 


  10. To a .txt not that I know of, to a .csv which can be opened in a text editor, yes.  The way I've handled this in the past is to:

    FTP receive (go grab the original .csv file) 

    Convert CSV to UDTF

    Load DTI from file

    Make whatever changes in the data with PLC DTI functions

    Store DTI to file with .csv (Convert back to .csv)

    FTP send (send it back to the network folder)

    Also you can setup a Webserver on the PLC to edit table values and follow the same flow as above after making changes to update the (original) file on the network.  

    I usually have the PLC go grab the network file at Power on, and also have a button on the HMI and webserver to go grab the network file that way we can make changes to the data and re-fresh it on the PLC remotely. 

  11. 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.



  12. 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?



  13. 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. 



  14. 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. 



  • Create New...