Jevgenijs

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Posts posted by Jevgenijs


  1. On 2/20/2017 at 1:38 PM, ali ali said:

    when i download project s7-300 and 400 go to stop mode

    did you create a connection in NETPRO? 

    where did you get LADDR for sfc15?

    Of course there will be a stop controller - two masters on one profibas can not exist

    2017_10_18_11_30_30_NetPro_Giprig_Networ

    Here is an example on TCP/ip  how to make a connection, and then it is loaded into all controllers, in your case in all three you have the H system.

    on the profibas system is done similarly.


  2. On 24.04.2017 at 1:13 PM, kumarsaurab92@gmail.com said:

    Dear all

    I need one help i have one application where 1st time any input comming then one output should be SET.

    and when 2nd time same input will come this output should be RESET.

    Hello you need invert bool function? 

     

    //invert_bool

    FUNCTION FC 25 : VOID
    TITLE =
    VERSION : 0.1


    VAR_INPUT
      input : BOOL ;    //press_input
    END_VAR
    VAR_OUTPUT
      output : BOOL ;    
    END_VAR
    VAR_TEMP
      temp1 : BOOL ;    
      temp2 : BOOL ;    
    END_VAR
    BEGIN
    NETWORK
    TITLE =

          A     #input; 
          FP    #temp1; 
          =     #temp2; 
          A     #temp2; 
          AN    #output; 
          S     #output; 
          JC    end; 
          A     #temp2; 
          A     #output; 
          R     #output; 
    end:  NOP   0; 

    END_FUNCTION
    //end_invert_bool

     

    but it's better to change temp1 and temp2 to some merkers or dbx.

     


  3. On 05.10.2017 at 8:46 PM, amolamol said:

    We r using Siemens PLC S7 400 in small power plant. Sometimes this PLC flickers and plant stops for milliseconds and regains its position. All Digital outputs turns off and then regains its original postion. Can anybody have solution for this....???

     power suply card (rack slot 0)  is powered by UPS? 

    Are the output cards powered by a separate power source? does the input fail?