Jump to content

Eyal Koren

Members
  • Posts

    259
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Eyal Koren

  1. Hi Alberto,

    First of all, there are no attachments in your post.

    Second, I would check the status of the USB to Serial adapter by opening the device manager in windows. Simply type "device manager" in the search pane inn the Windows start menu. click on the device manager icon and from the window that will pop up, select "Ports (COM & LPT)". You should see a device named "Prolific USB to Serial Comm Port" and a port number in the parenthesis.

    After discovering the com port that is attached to your USB to Serial adapter, go to Visilogic, select the "Connection" menu and select "Communication & OS". From the window select the port number that corresponds to the one that appeared in the device manager.

    That should solve the connection problems. If you still having communication issues (or any other issues) you are more than welcome to contact us at support@unitronics.com.

  2. Hi again Eyal Koren.

    Thank you for all support. Now i finely understand how the Alarm Displays works.

    I send you my test projekt so you can se the problem I have.

    I am working with diesel Power plants,and we make our own softwear.

    Look at the ladder code, this is a very common way to create alarms with Reset.

    It is for the ladder code(not the alarm screen)to deside if the alarm is reset able

    or not. If the alarm (MB940) is active, the alarm is not reset able.

    Is it possible to get an option Reset MB with the next update, so that the alarm screens

    reset button works even if the alarm signal is active.

    attachicon.gifmicke-alarms.vlp

    Iv'e looked over your application. You were using a simple self-holding mechanism to keep MB31 energized. The thing is this: In an actual system you anyway won't be able to reset the alarm until you will reset MB940, because it will keep the self-holding mechanism energized all the time.

  3. EduMarg,

     

     

    Attached is a picture of my screen for reference to what I am seeing. As you will notice, my string is not converting to a number as described in your example. Is there something I am missing? I am pulling out a section of the string that indicates the weight value I want to read. I tried to shift the string source and length to remove the spaces and that did not seem to help either.

     

    Joeattachicon.gifCapture.PNG

     

    Hell Y.INDS.

     

    It does seem that when leading spaces are present in the string, the function will not convert (unlike leading zeros). Try to remove the leading spaces first.

    • Like 1
  4. Hello Senszey,

    Please have a look at the attached image.

    Basically, it describes the digital output configuration for the PLC.

    In general, digital outputs are not getting their voltage supply from the PLC's power input, but from another circuit. Hence, to energize your outputs you will need to add another 24V source which will be wired as stated in the attached image.

    post-20103-0-26430700-1410087799_thumb.jpg

  5. Hi Eyal Koren Shalev.

     

    I am very happy that we understand each other.

     

    For a specific alarm i select MB 841 as reset bit in the alarm properties. I put the reset bit in the ladder code for the alarm.

    I make the alarm with my alarm button. In the alarm screen i press the reset button for the specific alarm, nothing happens, the alarm is still active.

    The reset button in the alarm screen has no connection with my MB 841 in the ladder code.

    What is the problem, what is it that i dont understand.

    To be able to reset an alarm, the conditions that triggered it from the first place should be turned to normal state. Hence, if an emergency button was pressed and triggered an alarm, the only way to reset this alarm is if the emergency button is released.

    If following this instruction still doesn't seem to solve the issue, please send your application to support@unitronics.com. 

  6. Hi Eyal Koren-Shalev.

    The alarms display must have an MB for reset funktion in the ladder code,

    If you have emergency stop the engine, you dont want it to start before you have reset the alarm from the alarms display.

    That is the exactly the reason for the ladder reset bit being optional - not all alarms are critical and demand this kind of safety mechanisms.

    In case of emergency stop, you connect the reset bit to the system start logic, but the actual reset is being done in the Alarms Screen.

  7. Hallo Eyal Koren.

     

    Thank you for helping me with the alarm displays.

    My problem is that the reset mecanism is not working.

    In the "alarms propertys" i select MB 841 as the reset bit for a specific alarm, and then i use the reset bit MB 841 in the ladder code.

    If i in the alarm display press the reset button for the specific alarm, nothing happens with MB 841 in the ladder code.

    What is the meaning to select a reset bit.

    The Reset Bit is an optional operand selection tool. You can use it to create a specific logic when the actual alarm is reset by the user (for example - start logging data upon alarm reset). The actual alarm reset button is found in the Alarms Screen.

    Please see the attached application. I'm sure it will answer all your questions 

    Alarm example.vlp

  8. Ok,

     

    I think this will be the problem ( bad programming of me ! )

     

    But 1 question about this issue :

     

    is the order of commands execution always the same, or can it change in time. The most of the time, I get "good" values, but suddenly I get a wrong one !

    Or is the time needed for an read data table column and put the values into the MI's taking some time, so this is sometimes slower and I get "bad" result.

    this is because I want to explain my customer why the PLC sometimes gives the "wrong" values. 

    Pascal,

    Once the code has been compiled and downloaded to the PLC, it will always be executed in the same order.

    Getting an occasional "wrong" value is probably a problematic logic. If you are not sure why this happens, you are welcome to send the application to support@unitronics.com including details related to the issue, and we will point it out.

  9. I have the following problem :

     

    In net 1, I read a column of a data table in MI100 ... MI 109 

    in the same net (net 1) I search a certain value in the MI100...MI109, with a CALL subroutine that returns a returnvalue.

     

    Is this allowed, or should I search this value in another net ?

     

    Because sometimes (not always) I don't have the correct  returnvalue ?

     

    program look likes this :

     

     read column and write to MI 100...MI 109  // search value into MI 1 // call subroutine for searching where MI 1 is in MI 100...MI 109 // put return value into MI 2 ( all this is place in one net ! )

     

    or should it be like this ?

     

    net 1 : read column and write to MI 100...MI 109

    net 2 :search value into MI 1

    net 3 : call subroutine for searching where MI 1 is in MI 100...MI 109

    net 4: put return value into MI 2 

     

    before I change my program, I want to know if this is the problem of bad readings !

    Hi Pascal,

     

    Flex 727 is right. In ladder programming, the compiler can change the order of commands execution (in a single net) which may cause unexpected results. It is recommended to separate your code into simple structures - or one rung per net. This will also make your code more readable.

  10. Hello Julio,

    Thank you for using Unitronics products.

    I have a few questions/comments:

    1. What is the network registration status of the PLC side modem?

    2. What communication parameters are defined in the Communication&OS menu (in Visilogic)? Please make sure that all parameters are defined correctly, including PLC name, IP and port number.

    3. Make sure that all the parameters in GPRS Register function block are defined correctly.

    4. Just to clear things up: In GPRS Start Call function block, you define the IP address and port number of the remote device you are trying to call to (in this case your PC). You need to make sure that the PC has the exact same parameters and that it is in active listen mode. In GPRS Listen function block, when activated, the PLC listens to a specific port for other devices to communicate with - in that case you should follow the instructions given above (in section 2).

     

    I hope that this will solve your issue. Please let me know the results.

  11. Hello!

     

    Another one topic about PLC/E-mail, unfortunately, I'm not able to copy with the problem...

    I use the ladder from Example (of course). I setted up PLC's IP, mask and gateway. Firstly, I wrote "telnet pop.gmail.com 25" in CMD to see the protocol type used by the e-mail server - ESMTP. After that I dial the text "ping pop.gmail.com" to see the IP address of the server. I changed a setting in "TCP/IP-Tcp Connect" block. The "Remote IP" inside the block is equal to  IP address of the server. The last change is in "E-Mail" block. "From:" e-mail is "support@unitronics.com" and "To:" e-mail is "..........@gmail.com". When i press "Connect" in HMI the connection is done. However when I press "Send E-mail" the program shows two different errors: "'From' address format incorrect"; "The server cannot receive data (DATA mode error)". Please, tell me where might be the mistakes to try to solve them!

    Hello VasilPopov,

    Unfortunately, the Email functions in Vision PLC's does not work with SSL encrypted email accounts (such as Gmail).

    Please try non-encrypted email services (such as http://www.gmx.com/)

  12. Hi, Eyal

     

    tank you very much for your post.

     

    For the attached image from the PDF help file, i think that show me the read of timers and not the write from the web page,

     

    the title is

     

    Timer

    You can show timer values

     

    Is this true?

     

    Thanks you

    Ido,

    You are right. My reply was related to presenting timer values on web server HTML page.

    There is no direct way for storing a timer values to the PLC via advanced web server.

    What you can do is store an ML value to the PLC, and create logic that will convert this value to timer preset/current value. To do this use the "Store Timer Current/Preset" FB's available from the "Store" menu in Visilogic. The resolution for this conversion is 10 mS, hence for storing the value 60000 the timer value will be 10 minutes.

  13. Any progress on Unilogic Alarm Utility?  My head is spinning trying to work with the events UDFB. I like how Visilogic would log the acknowledgement time in history. I had Visilogic configured for no reset required but acknowledgement was required to ensure the operator would see an alarm occurred. When an alarm occurred it would load my alarm screen and the button to get out of the alarm screen was hidden until acknowledgement was made.

    Unfortunately, the Unilogic Alarm Utility is not yet to be released.

    Until such a utility will be available, you can use the Alarms example I shared above instead of using the Events UDFB. It does not contain a logging of ACK time but it is still quite useful.

  14. Hi Jsmn,

    Thank you for using Unitronics products.

    The answers to your questions:

    1. The alarm reset bit functions as a reset mechanism for the alarm itself. This is useful for monitoring the correct functionality of your system. If the bit that triggered the alarm int the first place is not reset, the alarm will keep popping up.

    2. The Ack (or acknowledgment) bit is a common function in industrial automation. It means that the operator acknowledge that he understands that an alarm is still active. The following post gives a typical example for the use of Alarm Reset and Ack: http://www.plctalk.net/qanda/showthread.php?t=73191

    3. To set the RTC of the PLC you should go to the Connection menu-->Communication&OS. Select the second tab and press "Set RTC" (when the programming cable connected to the PLC).

  15. Hi Dub,

    Thank you for choosing Unitronics.

    Try the following:

    1. From Visilogic screen, select the Build menu-->Build All. Then download the application to the PLC.

    2. If that doesn't help, select the File menu-->System Images. Select "Restore All System Images to Default". Then download the application to the PLC.

    3. In any case, download the most recent Visilogic version (9.7.9) and update the PLC firmware to 3.9.6 (most recent). If you need guidance in doing so please let me know.

×
×
  • Create New...