Jump to content

Swervomotor

Members
  • Posts

    95
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Swervomotor

  1. Once you save it to the SD card you then FTP that file to your NAS folder.

    • "Store DIT to File" (pay attention to the CSV file name requirements in the help file)
    • WAIT for Save to Complete
    • "FTP Send" (pay attention to the CSV file name requirements in the help file)
    • To get it back to the PLC you can use and FTP client to send it to the SD card or Automatically:
    • "FTP Receive" (pay attention to the CSV file name requirements in the help file)
    • WAIT
    • "Convert CSV to UDTF" (pay attention to the CSV file name requirements in the help file)
    • WAIT
    • "Load DTI from File"

    This is how you do it automatically, (such as after changes or on a time interval) if you just need the backup I would just go in through an FTP client like FileZilla and grab the file off the SD card. 

  2. Hi, Im using Function Block "MC Apply Torque" with the Unitronics  Ethercat servo drive.  The help file defines the torque ramp (parameter E) "Units defined in Axis Configuration, torque per sec."  Does anyone know the normal "scale" of this number and what a higher number vs a lower number here means in practice?  I have submitted a help ticket to support but was hoping someone knew here. Thank you.

    -Swervo

  3. Occasionally I get errors/faults on the servo drives and would like to be able to show the error code on the HMI, In the IO Structs for "Drive1 (UMD-E3)" and "Drive1"  I have not been able to locate anything that looks like an error code.

    Under "Drive1 (UMD-E3)" struct "Slave State" and "Slave Error" are available but these do not reflect the error code shown on the screen of the drive

     

    -Swervo

  4. Has anyone successfully integrated Unitronics VFDs with the unistream over Modbus using their built in function blocks?  The Function blocks that are available in Unilogic don't work reliably, example:

    "VFD Run Frequency" will run the VFD at the first set frequency but wont allow you to change even if you call it again with a different frequency, it will update the "set frequency" in the vfd but output does not change

    "VFD Stop" will not stop the VFD, sometimes it slows it down at completely random times and frequencies but never actually stops

    "VFD Emergency Stop" does actually stop but not in a controlled manor according to the manual.

     

    I followed the quick start guide and made all the setting changes to control over modbus but this is not looking good.  Is there something obvious I'm missing?

  5. Thank you for the answers!  We would have the tablet on the same network as the machine and direct connect them.  We have not used uni-cloud but  I would be concerned about latency since this will be the main operator panel and not a remote unit etc. 

    Speaking of direct connect, what is the ideal method for connecting the tablet to the plc?  We are thinking of getting a tablet with a separate charge/power port and using the usb or usb-c port to ethernet adapter. 

  6. On 8/25/2022 at 10:43 PM, Gabriel Franco said:

    This is the way I use function:

    image.png.f60352cd42103d0b16c5dab774e60ae5.png

    I don´t know if your issue is name related as I only use single word to filenames.

    One suggestions: to load the whole table, start from 0 and use "Number of Rows" tag from data table target .

    This, SD queries do not work reliably with pulse contacts, I believe the help file indicates something about this as well.  I go a step further and put the reset based on the returned value of the error status output. 

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

     

    -Swervo

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

     

    -Swervo

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

     

    -Swervomotor

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

     

    -Swervomotor

  11.  

    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

    Ausman, 

    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.

    -Swervomotor

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

    -Swervomotor

     

     

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

    -Swervo

    example.png

    • Like 1
×
×
  • Create New...