[Part 11] Remote control of LS PLC’s FEnet with Ethernet communication and MODBUS TCP protocol!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • [Part 11] Remote control of LS PLC’s FEnet with Ethernet communication and MODBUS TCP protocol!
    The example code is compressed and uploaded on Nockanda's blog!
    bota.tistory.c...
    Nockanda's PLC series!
    For this series, please create explanatory materials on the Google Slides below! (shared with everyone)
    docs.google.co...
    Nockanda is a TH-camr who codes with Arduino!
    This series has the following precautions!
    1. Nockanda does not know much about PLC (most important)
    2. A person who used to code with Arduino made materials for beginners from the perspective of looking at PLC!
    3. Therefore, there is no intention to make PLC the standard!
    4. Nockanda 's PLC CPU can be controlled with Ladder Logic (LD) and ST language!
    5. I don't understand leather logic at all, so I finished it by running only a few samples!
    6.ST language is a bit understandable, so let's make various examples based on the Arduino coding strategy!
    7. However, the content to be coded by Nockanda in the ST language is “Is it really possible to do this?” is not guaranteed, let's focus on “finally it works”!
    8. If there is an incorrect explanation during the process, please let Nockanda know. Thank you!
    In this episode, we will use FEnet instead of Cnet of XEM-DN32H2, an LS PLC used by Nockanda!
    Cnet refers to a wired communication line connection between PLC and remote control equipment, and RS232 and RS485 communication is possible!
    And I tried controlling it using RS485 until the previous episode!
    FEnet refers to connecting and controlling LS PLC to the Internet!
    If you look at the main body of the PLC, there is an Ethernet connection port, and you can connect the Internet line from the Internet router here!
    And if you set the PLC appropriately, you can remotely control it through the Internet from an external program!
    Here, the following three protocols can be applied!
    1.MODBUS TCP
    2.MODBUS UDP
    3.XGT SERVER
    In this episode, we will use MODBUS TCP and MODBUS UDP!
    I don't know why, but the representative MODBUS in Ethernet control is MODBUS TCP!
    MODBUS UDP can also work, so let's try both!

ความคิดเห็น • 1

  • @yakkook
    @yakkook 11 หลายเดือนก่อน

    없는게 없는 녹칸다 유튜브❤