Jump to content

Fotonic

Members
  • Posts

    24
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Fotonic

  1. Yes, it's clear how it works on the PLC at runtime, I was referring to the editor, how to manage all the pop-up windows since they'll be placed over other HMI elements (at least in my case) and in the Unilogic editor that would cause some trouble in case the underneath HMI elements need to be accessed for editing.

    I have made a quick test and placing pop-ups on a dedicated layer seems to be a nice practice, if that layer is hidded then the "regular" HMI screen is all accessible for editing.

     

    Said so, this solution is a workaround for my initial quesion, I still hope that Unilogic staff will introduce native supporto for pop-ups one day...

  2. I see, thanks.

    So if I need to add a pop-up window on every motor on a synoptic screen I'll have to place all the custom controls on screen and associate tags for animation/logic.

    In this case, to avoid an over crowded HMI screen in the Unilogic editor what's the best strategy?
    Place all the pop-ups on a dedicated layer as suggested by @Joe Tauser to show/hide on necessity while editing the regular HMI elements?

  3. 1 hour ago, Joe Tauser said:

    I did some experimenting in UniLogic with this question and reached the following conclusions:

    1.  You can't change the size of the HMI screen.  Therefore there is no "pop-up" window functionality at this time.  You can't drop a Custom Control onto a new display that is only the size of the Custom Control.

    2.  When you press a button one of the options available is "Message Box".  This is like a Visual Basic dialog box asking a basic Yes/No question.  You can't really change it.

    3.  You can add a Custom Control to it's own Layer, and then play with the Visibility property to make it appear and disappear.

    Those are my observations.  If anyone has concrete experience on this feel free to chime in.

    Joe T.

    I think it should be of minor effort for Unitronics staff to introduce the action to load a custom control on a button press.
    Custom control window could be loaded centered on screen press coordinates and in case moved to avoid falling outside of the HMI area.

    Maybe introduce a new action to close/hide the custom control window opened this way.

  4. 20 hours ago, Gabriel Franco said:

    This task can be accomplished by use of "HMI Custom controls" The advantage: you design it just one time and re-use it as many times as needed.

    Please be more specific, I don't understand the correct way to achieve this using custom controls.

    I've created a custom control, a simple window with 3 buttons, now what? I don't see any option to 'attach' this custom control window to a button, how do I make it appear on button press?

    Does it need to be positioned over the HMI screen and then use a bit to hide/unhide the custom control at the press of the button?

     

    If there is another way to do this please explain.

     

    Thanks.

  5. Hi all,

    in Unilogic there's the option to add a pop-up window on a button press, that window is customizable but only within some predefined models.

    I'd like to have a custom pop-up window to open for some specific tasks (example a motor control or a setpoint definition for an analog instrument), is there any hope that this will be considered by Unitronics team?

    On some other PLC brands there is already this functionality, an HMI screen can be defined to open as a pop-up over the current displayed one.

     

    Thanks, regards.

  6. Hi folks,

    with recent updates supporto for Telegram bots iteractions has been added to Unistream PLCs but it requires the use of an UCR router.

    Since it is not always possible to include a router in a project, will it be possible in a future release to have Telegram bot integration without requiring an UCR router?

    That would be really useful.

     

    Thanks, regards.

  7. Ok, managed to find the problem, here's the solution if others will encounter my difficulty:

    "capture image" FB only gives filename of the saved capture, to show the image in a fixed image element filename has to be completed with the folder structure in which it is contained (in this case "Media/Camera/").

    • Like 1
    • Thanks 2
  8. Hi folks, I have an USB camera connected to a B10 unistream panel, I can successfully capture images and save them to SD card using ladder camera\capture image FB.

    After acquisition I would like to show the image on HMI screen but I cannot find a solution.

    I am using a fixed image element pointing to external image from SD card and using a string variable as filename. The string variable is populated previously by "capture image" FB.

    What am I doing wrong? Is there an example to check for some ispiration?

     

    Thanks for support!

     

    P.S.: unistream has grown up lately and example programs start to be a bit outdated, it would be great if Unitronics team add some new examples about new functions!!

  9. 23 hours ago, Ofir said:

    Hello,

    We tested this and got the same results. We passed it to our R&D.

    In the meantime you will need to use coil of another bit as you mentioned above.

    Sorry for the inconvenience.

     

    On 3/11/2019 at 5:25 AM, NoamM said:

    Hi Fotonic,
    Thanks for the input. I will pass it to our Support team. Next time please use the "Help center" at https://support.unitronics.com/index.php

    Many thanks for interesting, I'll use the provided link for future requests.

  10. 5 hours ago, Joe Tauser said:

    Understand that the forum is not the official Unitroncs support channel - it is manned by volunteer users and sometimes gets visited by Unitronics employees.  I suggest forwarding your bug to support@unitronics.com for an official response.

    Joe T.

    Thanks for signaling, honestly I did not know that. I'll use the other channel for reports then.

     

    4 hours ago, hotwires said:

    Would you mind sharing what the other bug is? I am planning on developing new applications for several Unistreams this year in a manufacturing facility.

    Sure, just look here:

     

  11. 6 hours ago, NoamM said:

    Hi Fotonic,
    The General.Touched Bit is a bit that set when a touch event, of the touch screen, occur.  When you "touch" the UniStream using a VNC client the General.Touched bit will not be set by design.
    Nevertheless I will add a "feature request" to this manner

    I understand that the bit refers to a touch action on the phisical screen, but isn't vnc supposed to be a way to "touch" the screen remotely?

    Thanks for the feature request.

     

    56 minutes ago, hotwires said:

     I believe there is a VNC connected bit, if you’re needing a quick fix you could defeat the screensaver when the VNC connected bit is true .

    There is that bit and I disable all functions related to screen touched bit when vnc client connects. Honestly it's pretty annoying in my opinion, if you forgot to disable something you mess up the program even when the vnc client disconnects.

  12. Hi,
    In my UniLogic project I have some binary text objects associated with digital input bits. I expect that the text inside the text object changes accordingly to the associated bit, in this case the state of the digital input pin then.

    Going online to debug the program I am forcing the input state of the digital input pins and nothing happens, the text in binary text object does not change.
    If I apply a voltage to the digital input, so that it reads 1, the binary text changes as expected.

    If in a rung I insert a contact associated to the digital input bit that drives a coil associated to a memory bit variable, then if in HMI I associate the binary text object to that bit variable, I can see it changing if in online mode I force the state of the digital input.

    Does anyone know a fix to this annoying bug? If the PLC is not nearby it's a pain to debug and I'd like to avoid to mirror all the digital inputs on bit variables just to fix this.

    Thanks.

  13. 36 minutes ago, Ausman said:

    Remember me saying that VFD manuals need to be completely read!  The switch settings look clear enough in this, but perhaps they are physically hard to find.  Haven't handled one in the flesh.

     

    cheers, Aus

    Trust me, it's a pain to understand how those switches need to be set.

    The serigraphy near the switches reports something like "V/I" on one side and the switches are soldered so near to eachother that it's impossible to see if there are other writings on the other side of them. The VFD I am working on at the moment is relatively small (1.5 kW 1ph).

    Last month I had to work on 2 VFDs of 15 kW size and accessed the switches just to set RS485 termination on the last one on the bus (I could use modbus on that project and all went ok at first try), I admit I don't remember how the switches were placed but I remember that was not so immediate to locate the correct setting for the RS485 one I needed.

    I have 2 7,5 kW VFDs around now too, time to have them installed and I'll have a look at the switches... if possible I'll take and post a picture, stay tuned. :)

  14. 21 hours ago, Joe Tauser said:

    You can't modify the X & Y values of an object like a indicator or button but you can have a list of images by pointer.

    What exactly are you trying to do?

    Joe T.

    Ok, thanks for confirmation then.

    Was just an idea for some graphic presentations. I know PLC is not the right platform for such things but was just wondering if it would've been possible to do.

  15. 20 hours ago, Joe Tauser said:

    Running a VFD from the PLC should not be this hard.

    I reading that you are unsure of your electrical signal.  It's time to back up and verify what you're doing.  A meter will be required.

    First, I personally don't like to control drives with 4/20 because it's hard to verify what's going on without breaking the circuit.  The drive is often in the same panel as the PLC, so 0-10V is much easier.  Most drives come configured that way from the factory.

    Change your PLC program and hardware to a 0-10V signal and then put your meter on it while you change the value in the PLC.  A value of 0 to 4095 should give you the expected 0 to 10 volts out of the analog module.  This should give you some direction as to where the problem is.

    Joe T.

    I'll discuss with my superior to see if it's ok to go with voltage control, in that case I hope it will be more immediate and the I control will be experimented again in the future, sadly I have no much time left to dedicate to investigate this problem.

    I don't know what to do with VFD, all settings seems ok to me, followed manual indications where present.

    PLC is outputting the right mAs, as expected.

  16. So, the P00.* parameters on the VFD are correct, commands are received via the digital inputs on the VFD itself and the frequency is set via the A2 analog input on the VFD, the dip switch for V/I selection is set on I (at least I hope so, unitronics documentation lacks this information... pretty bad... :/ ) and the analog output from PLC is outputting the correct mAmps.

    Connections are made according to unitronics VFD manual.

    No success so far, I'll try some more experiments with VFD parameters and in case change to 0-10 V input signal to see if at least that works. :/

  17. 29 minutes ago, Flex727 said:

    Oops, sorry, that's for analog INPUTS, not outputs. The analog outputs for that module are 12-bit.

    I see, so is it correct to assume a range 0 - 4095 corresponding to 4 - 20 mA 12 bit analog output or do I have to use 819 - 4095 range instead?

    Tomorrow I'll try both cases and measure output current with multimeter.

    But the problem remains on the VFD, I don't know how to achieve precise frequency control, considering I'd also like to use linearization function to set intermediate frequencies... :/

    Edit:

    Looking at the VFD manual maybe I found the problem. They say that AI2 0-10 V mode corresponds to 0-20 mA mode so that 10 V equals 20 mA. I set the parameter P05.37 (Lower limit of AI2) to 4 but if this is related to 10 V full scale then it should be set to a value of 2.  Then all the linearization made by the VFD should be correct too.

  18. 7 minutes ago, Flex727 said:

    No, if you are outputting 4-20mA, then your MI would need to have a value of 819 to output 4mA. This assumes you have it set to "Fast Mode", which is 12-bit.

    I am pretty sure that the output from PLC is correct, measured current with a multimeter.

    But anyway, since I am learning, how do I set fast or normal mode for the analog output of the snap in module? I cannot find anything related to this and in visilogic there's no setting for fast modes on AO configuration section.

    Thanks a lot!

  19. Hi all, I am trying to set the frequency of an UMI VFD via the AO2 line of the snap-in I/O module (V200-18-E46B) connected to an V700 PLC, signal is 4-20 mA.

    The VFD is set to get frequency value from AI2 input and the corresponding dip switch is correctly set for the mA input selection.

    On the VFD, I set the P05.37 (Lower limit of AI2) parameter to 0400 so that 4 mA from PLC correspond to 0 Hz.

    My problem is the range of values that the MI associated with AO2 output can be set to.

    If I understand correctly, the MI = 0 correspond to 4 mA output from PLC so that the VFD should be set to 0 Hz.

    Then for the maximum value I should consider MI = 4095 to set 50 Hz on VFD.

    But there's something weird going on, VFD is at 0 Hz until MI = 8 and then starts raising and reaches 50 Hz before MI value reaches 4095.

     

    What am I doing wrong? Can someone help solving this issue? Where can I look for an example on this topic?

     

    Thanks in advance for support.

     

×
×
  • Create New...