12. How to use SFC14 & SFC15 for Data Transfer with Profibus slaves in S7 PLCs

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 47

  • @NA-ce1kq
    @NA-ce1kq 3 роки тому +4

    You really made me understand now how to properly use the SFC14 and 15! You are one of the best YT teacher! I just have one question: 1) Where did you get those parameters in DBW 2.0, 4.0 and 6.0? Because I did not find it in the ABB Manual but you are getting a live data. Thank you!

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      Thank you so much.., this vid is actually a continuation from my another video - ua-cam.com/video/Y2pvitN9JcM/v-deo.html
      You will find the answer to your questions.

  • @sureshkandekar4140
    @sureshkandekar4140 Рік тому

    Thank Sir, for this detailed video, well explained.

  • @amernassor3245
    @amernassor3245 2 роки тому

    very clear and simple to understand

  • @shahzadengr3568
    @shahzadengr3568 3 роки тому

    Very Imformative video , Thanks alot

  • @thippesh_trpani6584
    @thippesh_trpani6584 Місяць тому

    Thank u so much

  • @rajeshsingh-eq3eg
    @rajeshsingh-eq3eg Рік тому

    Great video, by you.
    Kindly make some video how can we make our own sfc like sfc 14, 15, 20 .??

  • @kgauravb
    @kgauravb 3 роки тому

    Excellent video, pls make video on Sinamics and ABB ACS drive using modbus control.

  • @mohamedeljabri4970
    @mohamedeljabri4970 9 місяців тому

    Thanks a lot , I see some protected by lock , how do you open them ?

  • @rooman1
    @rooman1 2 роки тому

    Great tutorial

  • @sinanartemis6176
    @sinanartemis6176 Місяць тому

    sir i have an s7 315 pn dp cpu, i connected a cp343-1 cp card to the plc and i want to make an profinet bus and via that profinet bus i want to drive a abb acs580 vfd. when i completed the hardware configuration i saw a pop up opened and it says if you want to use cp you should use fc12 and fc11 profinet send receive io block's can you help me i couldn't find the solution yet. have a nice day

  • @tehseenarshad8602
    @tehseenarshad8602 2 роки тому

    Thamks v. Good video sir

  • @ankitkumarmistry8310
    @ankitkumarmistry8310 3 роки тому +1

    and one more question is how we can choose DB values..means you select 1st 15 to 16 db values and their names..Is this same as manual parameters requirement or something else?

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      If you are asking about DC bus voltage, motor current,etc.., this should be same as how you configure on your drive. First 2 words should always be command word and speed reference. Rest is upto your requirements

  • @amit3801
    @amit3801 2 роки тому

    Really very useful....

  • @hamzajmili92
    @hamzajmili92 2 роки тому

    Thank you for this detailed video, well explained. Just I have one question :
    To communicate with G120 , why did you just duplicate the DB1 to DB2 ? How you know the ABB VFD and G120 have the same order of structure ( how could we know for example that the db1 dbx 13.0 ( OFF start for ABB brand ) is another thing parameter for example drive-Spec1 for siemens brand? Thank you in advance

    • @averageengineer4266
      @averageengineer4266  2 роки тому +1

      Thx for watching. Yes the control word is not exactly same ,but my point was to show the advantage of using db and sfc functions. If you are intrested in siemens control word ,pls see - ua-cam.com/video/yTlCZXCLneU/v-deo.html. You can skip to 19.00

  • @alagarsamy3914
    @alagarsamy3914 Рік тому

    Thanks brother

  • @rexcheng4567
    @rexcheng4567 3 роки тому

    I appreciate that very much! I have a question: Are these 2 SFCs only working for the profibus? For example, on the SFC14, do I just need to put the address value 'W#16#xxx' to the 'LADDR' without the sign 'PIW' or sth tag ahead the 'W#16#xxx'?

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      SFC14 can be used to read any PIW values, Just convert the starting PIW address to HEX value for LADDR and enter the correct number of Bytes as shown in the video.

    • @rexcheng4567
      @rexcheng4567 3 роки тому

      @@averageengineer4266
      I have a question for the 'LADDR' as below
      L #DP_start_address // INPUT interface of FC , this FC is called by another FB ,and this pointer is put with the address '508' ;
      T MW200
      CALL "DPRD_DAT" SFC14
      LADDR= MW200 // I'm confused by this transfer. Is the INT input '508' also valid? In general , it should be switched to Hex
      RET_VAL= MW600
      RECORD= P#DP

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      @@rexcheng4567 Yes, this way also works. When you load 508 to mw200, hex value of 508 is there in mw200. When you are online in the program, change the representation to hexadecimal and you can find hex value of 508 in mw200

    • @rexcheng4567
      @rexcheng4567 3 роки тому

      @@averageengineer4266 Why do we have to take the byte swap with the ABB? By this question, if we read the value like the DC bus by word, why don't we have to switch the 2 bytes?

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      @@rexcheng4567 to be honest, even i was confused why there is a byte swap. When i interfaced acs 880 to a ABB plc, there is no byte swap, you can find that vid in my channel. I think it has something to do with memory architecture of the siemens plc, i found tge same byte swap when i interfaced sinamics drive to s7 400

  • @최용갑-q6n
    @최용갑-q6n 3 роки тому

    이게 쉬운가요 저도 엄청 헷메죠 840D SIMOCOM611 나왔을때 혼자 고민 많이 했죠 그런데 벌써 단종이라니 이제야 알고 나니까.
    기본이 안되면 절대 해결이 안되죠.

  • @fawziamine3089
    @fawziamine3089 2 роки тому

    thank you very much I tried to download the ABB FC drive block to use in SIMATIC S7 to carry out the profibus communication between asc 880 and s7 drive but all the libraries who download me do not work and what you have an idea thank you in advance

    • @averageengineer4266
      @averageengineer4266  2 роки тому

      Thank you, if you are interested in a more detailed explanantion , pls see -
      ua-cam.com/video/Y2pvitN9JcM/v-deo.html

  • @ankitkumarmistry8310
    @ankitkumarmistry8310 3 роки тому

    I have one question.If I want to read actual motor speed in PLC what should I do for this?my plc is 300 series and s120 DP drive.please guide me.

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      If you want to know the drive parameter setting - ua-cam.com/video/yTlCZXCLneU/v-deo.html
      This video is sinamics g120 to abb plc configuration. But drive side will be same for any PLCs

  • @carim6242
    @carim6242 3 роки тому +1

    Thank you
    Please how display motor_current ? In DB

    • @averageengineer4266
      @averageengineer4266  3 роки тому +1

      Hi,
      DB1.DBW6 is assigned for motor current as per the program in the video.

    • @carim6242
      @carim6242 3 роки тому

      I try to do like this put
      I think the problem from telegram always show example: 33Hz 0 Ampers !!!! Ampers no change

    • @carim6242
      @carim6242 3 роки тому

      @@averageengineer4266
      Micromaster always sending 0 Amper to PLC !

    • @averageengineer4266
      @averageengineer4266  3 роки тому

      @@carim6242 yes, you need to configure in telegram, iam planning to do a vid soon about sinamics drive to s7 400 commisioning. Betw you can check this vid - ua-cam.com/video/yTlCZXCLneU/v-deo.html
      i have explained telegram setting on drive if it helps .

  • @avinashamberkar3780
    @avinashamberkar3780 2 роки тому

    I want to read energy consumption of G120 drive Parameters r0039 to s7-300 PLC. I set p039 in p2061 and check reading on PLC PIW 300 or pid 300 but it shows 32767 so please help me.

    • @averageengineer4266
      @averageengineer4266  2 роки тому

      It is easy, if you using scout, under profibus configuration, select transmit direction and link the free slot to the parameter you want to read. Same needs to be done in the plc side.

  • @anveshjadav
    @anveshjadav 2 роки тому

    I didn't get why you multiplied ref to 200 ? and while reading divide it by 20?

    • @averageengineer4266
      @averageengineer4266  2 роки тому +1

      200 is the scaling factor for the speed in percentage. While reading also you need to divide by 200, if i said 20 in the video, it might have been a mistake, thanks

    • @averageengineer4266
      @averageengineer4266  2 роки тому +1

      ua-cam.com/video/Y2pvitN9JcM/v-deo.html - better explained vid

  • @nguoicoon5863
    @nguoicoon5863 2 роки тому

    I connect S7 400 with ESEPRO profibus device. The process image is disable and no option.
    where did I do wrong?

    • @averageengineer4266
      @averageengineer4266  2 роки тому

      ua-cam.com/video/Y2pvitN9JcM/v-deo.html - In this video, i have explained how to add profibus drive,hope it helps

    • @nguoicoon5863
      @nguoicoon5863 2 роки тому

      @@averageengineer4266
      Thank you. That was great support.
      I have one requirement please
      My factory has used s7 400 for 5 year. I connected to some profibus device
      Now, I need to connect addition profibus to s7 400.
      I installed new simatic manager software and read successfully program from S7 400.
      I wonder that, I have to import again gsd file of old profibus device or not?
      Please help me this topic.
      Thank.

    • @averageengineer4266
      @averageengineer4266  2 роки тому

      @@nguoicoon5863 Not required, it will be there in the program backup.

    • @nguoicoon5863
      @nguoicoon5863 2 роки тому

      @@averageengineer4266 it mean that when I read program from PLC, the driver will update atomatically into my simatic manager software?

  • @balDer-ms2ro
    @balDer-ms2ro Місяць тому

    its really hard to learn PLC program. you must do it daily and years to master it