Jump to content

tonymony

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by tonymony

  1. Hello,

    I will be wonder if anyone is possible to answer me the next question.

    Is it possible to get a value from internet, like mmm, example a coin value in real time and transfer this value to the plc, and use it in the program with it?

    For example, we get the real value of the USD versus EURO then if USD > EURO, then the PLC activate alarm, it USD < EURO, then activate an icon in the HMI PLC

    Regards, Thanks

  2. Hi,

    This actually what I finally thought about how to convert from m3/h to m3 in a refreshing range of 100ms. So basically if it works like I think the sb7 works.

    1. Linearization 4-20mA to 0-1181m3/h
    2. Scan each 100ms if the proccess botton is close do the next routine each 100ms:
      1. Flow rate in m3/h to m3/100ms
      2. Summation the current value+the previous value
      3. Volume requiered-Summation=Volume Remaining
    3. When Volume remaining <= 0 then activate routine finish delivery and open the process botton

    I am not actually sure about how this sb7 works. I will be wonder for anysuggestion, thanks for your help.

    Regards,

     

    Captura.PNG

  3. Hello,

    I am currently checking an installation of a Flow meter model: Hoffer HIT-2A. 

    I would like to calculate in my PLC the Volume flowing at real time. This kind of valve has 2 outputs, 4-20 mA for the Flow Meter and a Pulse with 62.5 msec signal.

    Should I create a High speed input or can I use the next structure for the Volume Calculation in real time.

    Any suggestion?

    Thanks in advance

    Captura.PNG

  4. Hi Sirs,

     

    I rethink all the ladder logic, I would like to ask you if you notice at first look anything wrong, with ladder logic's LOGIC

     

    I have the next pieces working. I am going to start working with a normal routine(Basic), generator 1 Day, generator 2 Night, generator 3 Standby and a transformer which is the main one.

     

    I am simulating this program with bits instead with inputs and outputs.

     

    I have the next componets:

     

    Generator 1 start is MB5

    Generator 2 start is MB6

    Generator 3 start is MB7

     

    Phase failure rele transformer is MB0

    Phase failure rele Gen 1 is MB10

    Phase failure rele Gen 2 is MB11

    Phase failure rele Gen 3 is MB12

     

    Breaker Switch Transformer is MB1

    Breaker Switch Gen1 is MB2

    Breaker Switch Gen2 is MB3

    Breaker Switch Gen3 is MB4

     

    Gen routine BIT MB8

     

    PFR House  MB9

    BUSBAR Alarm MB13

     

     

     

    4a8db7107368c9cd9d32c4f15a1dbfbbo.jpg

     

     

    This is my program idea, I will performance and I will simulate. Could anyone say me if there is some confict condition with ladder logic in this program?

     

    Thanks

  5. Hello everyone,

     

    I am come back to the forum since too much time. I come back to Unitronics' PLC programming and I have got an issue with a routine.

     

    I am currently working with a generator routine which looks like:

    c0e0482d723a2534d6cbced050b72de5o.jpg

     

    We have a panel with 9 bottons to select a state for each generator (Day, Night, Standby). Therefore we have 6 combinations:

    1. Day,Night,Standby
    2. Night,Day,Standby
    3. Standby,Day,Night
    4. Standby,Night,Day
    5. Day,Standby,Night
    6. Night,Standby,Day

    And if it is not any of these ones,it will work with this state like standard one: ''Day,Night,Standby"

     

    Now the problems come. Time functions:

     

    Day-07:00-19:00

    Night-19:00-07:00

    Standby should work when there is a failure in one of the other ones.

     

    I made a simple visual checker with 3 pictures simulating the state of the generators, but I do not know why routines Gen1,Gen2 and Gen3 are always "ON".

     

    I have attached the file in this link.

     

     
    Thanks for your help.

     

     

  6. Thanks Flex :), it was very useful.

     

    I have a nother question I realise the webserver is simple, I read about a advanced webserver method, but I got the Visilogic app but it didnt work it has a password. It is in this link. http://www.unitronics.com/support/plc-tools-and-application

     

    Complex WebServer

    Special thanks to our forum member zpy, and also to Nacho for testing

    This .zip file contains everything you need to enable an Enhanced Vision with an SD Card to serve complex pages. Click to download...

    This .zip file contains everything you need to enable an Enhanced Vision with an SD Card to serve complex pages.

     

    I have a question how the bits and MI are sended if I create a webserver by myself, MODBUS? TCP? and how to send them

     

    Thanks

  7. HI,

     

    Thanks Flex.

     

    Back to my project, I set up the PC PLC communications, and the Webserver.

     

    I was reading about the webserver and the Web is simple, I read as well there is a way to get a advanced webserver.

     

    I have I question in my project I am trying to communicate the PLC with the Webserver using a simple text imput. But I have a problem with values. For example:

     

    When I write 2 letters or numbers throught the V700 Screen the data is save in a MI but the values are adding like (in decimal) "A" = 65 and "B" = 66, then the MI save (65*(2^8)+66).

     

    I do not really know what to do in this case. I only want to write text in V700 HMI, then transform to numbers send to Webserver, convert in the webserver to Text and show. Then the opposite way, text something in webserver convert to numbers, sent back to the V700 and convert to text and show. Any help¿¿

     

    Thanks

  8. Hello everyone,

     

    Finally after 2 months I understand normal process in unitronics thanks for support assistance.

     

    Now I am going to try to set up communications. This is my plan of communication:

     

    I will try to set up in the PLC 4 types of communications,

     

    1. PLC-PLC, for this one I will use 20000 port, socket 0
    2. PC-PLC, for this one I will use 20256 port, socket 1
    3. E-mail, for this one I will use 80 port, socket 2
    4. Webserver, for this one I will use 25 port, socket 3

    I have different questions for each communication process.

     

    • Should I set up the ethernet card in each process of communication or only once?
    • The IP local port for each communication should change?
    • In the FB TCP/IP connect or close there is a parameter named "Remote port", what is that?
    • The ping FB is linked with the PLC IP or PC IP?
    • Is it possible to create a local email?
    • When I select the webserver, the web could be whichever or my own domain?
    • Among others

    I upload my project just if you want to take a look of it. This is something educational it is not finish and not perfect.

     

    https://drive.google.com/file/d/0B2KvxQP-uoqGVUpwWk1WU0gxcjA/view?usp=sharing

     

    Thanks

×
×
  • Create New...