Jump to content

dierkens

Members
  • Posts

    64
  • Joined

  • Last visited

Posts posted by dierkens

  1. 21 minutes ago, CatUnitronics said:

    I became familiar with the term FTP and I do not have the capabilities and I am not the one that writes the code. Would it be possible to have the PLC write the files to a SD card periodically and send the .csv files to an email address providing that it can automatically send email?

     

    Thanks

    Yes, however the FTP process is easier and cleaner.  

  2. The filename can’t have the “/“ character.  
    we build a file name using the substation function and putting a yymmdd format.  
     

    If your storing a bunch of data in it you have to make sure the file is closed before the next file update takes place. 
     

    We’re storing 1m data for an entire month in each file. We then use the conversion utility to convert it to an excel file when we need the data on a computer. 
     

    We FTP the files off the PLC.  
     

    Hope this helps 

  3. 4 hours ago, Flex727 said:

    Software should NEVER modify a file without the user knowing. How am I supposed to maintain proper version control when UniLogic is modifying files willy-nilly?

    For one it's not willy nilly... It does it when it opens the project so that it can keep track of things.   

    Now on to your issue... 

    You can keep track of it in the change control facility directly by creating a text file in your project folder that has the date/time on it.

    -or-

    You can create a production library and a development library and keep track of things that way.

    -or-

    You can create structure your file name such that the naming convention contains the Save Date in it.

    Your choice.

     

    Okay, last question:  What product are you using for Version Control?

     

     

     

     

  4. 31 minutes ago, balazs.tarro-HUN said:

    Hi!

    Is there any option to increase VNC resulition size? I'm using Real VNC viewer and all of the Unistream PLC I've added have 800x480 resulition. 

    Also the same (800x480) resulition when I'm using USP-156 which has 1366x768 resulition. It causes poor view on VNC. Any experiences with 15,6" and VNC?

    image.thumb.png.794e94f46e06f11252c947d6411fb618.png

    On the PLC go to UniApps.  
    Then Network; then VNC; choose your resolution, apply.  
    bingo. 

    • Like 1
  5. We noticed that too. 
    we could only save about 55,000 records (~ 4 days of 1-minute averages ) before it would time out (> 60 seconds).  
    We ended up changing it to only save the UDTF file.    Now it’s been running all month and is about 200,000 records and takes < 10 seconds.  
     

    If we want /need the data we’ll use the UDTF to Excel utility.  

  6. I'm trying to log the duration of the DTI-to-File process and am trying to use the Stopwatch to get the elapsed time.   

    Does anyone have an example of how to trigger and record this process.  

    I'm not set on using the Stopwatch if you've got another idea on how to do this.

     

     

     

  7. I'm working with OPC/UA right now and just to clarify a few things:

    1)  The existing help file [September, 2019] mention of the certificate in the PLC [UniApps->Network-> (2nd Page)-> OPCUA] may or may not be present in there.  It depends on the OPC/UA Client program.  

    2)  The generation of the OPC/UA certificate appears to be created/generated when the PLC is first powered up.   In order to get the OPC/UA Client to connect I had to download the program and then reset/reboot the PLC.  

    3)  If you plan to implement OPC/UA do yourself a favor and wrap all of your tags into one or more Structs.   You can add Structs to the OPC/UA Address Space.  Otherwise you have to add the tags one at a time.   For my existing project that means adding 168 tags by hand.  And of course I find it necessary to have the OPC tag name match that of the 'source' tag exactly.  That means at least 600 actions to add them.  [I batch process similar to that of the MODBUS configuration would come in handy.  Hint Hint !!!].

    If anyone has any additional tips/tricks/faqs please add them.   

    • Upvote 1
  8. 4 hours ago, Flex727 said:

    I haven't had occasion to use this object, but looking at it, it seems pretty straightforward. Did you read the Help entry? A Radio Button object just presents a set of mutually exclusive items that the user can select. Only one of the items can be selected at a time. An integer register will contain the index number of the selected item.

    Besides the Help file, you can also hover your mouse over each item in the Properties Window for a tip on how to use each item. Put it in your program and play with it until you understand what's going on.

    Yes.  I've looked at all the documentation.   Unfortunately I don't have a CPU/HMI that I can use to test anything I put together.  

    Thanks.  I'll just wing it until I get to the client site and can test out some options.  

  9. Is it possible to have MODBUS TCP (Ethernet) via the CPU Ethernet?   

    I have two separate networks I'm using.  My PLC needs to get data from a DCS via MODBUS on a 172.17.100.xxx network and a computer needs to get the MODBUS data from the Unitronics PLC via a 172.16.100.xxx network.  Can I do this or do I need to find another solution?

  10. Fairly straightforward networking setup.   By mobile network; you don't mean that you'll rely on the internet do you?  If you do you're going to have to navigate a lot of security issues which I'd recommend using a VPN for.   If you've got wireless and they are line of sight setup then you can setup a Point-to-Point network.   You don't mention a budget nor distances between points.  This is all information you'll need to determine before you pick a solution.   

    Cisco has a decent setup but is costly.  

    https://www.cisco.com/c/en/us/products/wireless/outdoor-wireless/index.html

     

    Hirschmann has some good products

    http://www.hirschmann.com/en/Hirschmann_Produkte/Industrial_Ethernet/BAT-Family/index.phtml

    Phoenix has some good products as well.

    https://www.phoenixcontact.com/online/portal/us?1dmy&amp;urile=wcm:path:/usen/web/main/products/subcategory_pages/Industrial_WLAN_P-08-11-02-02/69d1b9c0-6359-4eeb-8fba-39e2a21dcf81

    Take a look at some of this stuff.  I've used these in 2 instances with success.

    https://www.advanticsys.com/shop/wireless-modbus-bridges-c-8_15.html

×
×
  • Create New...