Jump to content

Vinicius

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Vinicius

  1. Hello

    There's some way to change the string library with a binary image/switch?

    I tried with two buttons, each for a language, and worked. But now I would like to change with a binary image/switch.

    Every touch in the button, will change the country flag and the language, but the screen starts to blink.

    image.png.58a18ac0d9c79f5b93a116f0470a4b14.png

     

    I created this logic, when the button is touched, incremends MI 19, if MI 19 > 1, then will return to 0.

    If MI 19 == 0, the languange would change to portuguese, bur if == 1, would change to spanish.

    This subroutine is called when the screen "configuration" is displayed.

  2. 19 hours ago, kratmel said:

    Hi,

    I will try to describe why it works without a connection.
    1) There is  output board inIside of the Unitronics OPLC controller.
    2) Each of the solid state outputs is a part (one channel) of the few  chip VN340SP (or something like that on foto).

    VN340.thumb.JPG.507d2a28015c4af739ce0989c2c1b051.JPG
    3) To send signals from the processor to this chip, we must have one common wire and several separate ones for the required number of outputs. This common wire also neded for power the VN340SP.  This wire is the OV contact you specified.
    4) This OV contact is connected to the main power OV contact of the PLC panel through a small fuse (you can check with a measuring device that the resistance between the 0V and 0V contacts is not equal to 0 Ohm).  For example i post foto of little fuse and 0V power connection for SAMBA SM70 board.

    VN340_1.thumb.JPG.d687c60b2fa3537f1d0d3c49b1a2ad2a.JPGVN340_3.thumb.JPG.5533551a994e097529b19f81db1566b4.JPG

     

    That is why you output operate with  0V not connected.


    5) If you neglect to connect this contact, it may happen that the fuse (or another cirquit) inside PLC blows and all your outputs stop working.
         
    Conclusion - always use the connection RECOMMENDED by the manufacturer.
    This will save your controller from problems and save you money.

    Thanks Kratmel, this was quite enlightening!

  3. 2 hours ago, sgull said:

    Hi Vinicius

    If you want the timers to continue to run when you leave the display, you must put them in a subroutine that is being called all of the time.

    On rung 10 you are using a positive transition contact of MB 35 to start timer 2.  This may explain why you are stopping at 4 seconds

    Regards

    Denis

     

    Hi Denis,

    Actually, I don't want the firt timer to continue to run after when I leave the display.

    What happens with the timer 2, is that, when it ends, and in the display is showing "00:00", right? So when I leave the screen and go back after, still is showing "00:00". But when it starts, it changes to 00:04, 00:03, 00:02....

    But if you, or somebody could help me to solve just the problem with the first timer, will be enough.

    Thanks for your time, already.

  4. Hello

    I'm using samba SM35-J-TA22, with visiologic 9.8.90 build 0

    I don't speak english very well, if you don't understand something, I could try to explain better.

     

    I created a display that shows two timers delay, preset to 5 second each. And a subroutine with the timers blocks that runs only while the display is on the screen.

    The first TD starts decreasing, and when its finished, the second TD starts.
    My problem here is, when I leave the display before the first timer ends, and I go back, the timer continues where it left off. I put a flag that should restart, but it's not working.

    And the second TD, appears "00:00" but when starts, it changes to "00:04", like only the element display needs to be refreshed.

    image.png.a2b33742a5402cdacb8d8e1b2dcd3081.png

×
×
  • Create New...