Virtual Commissioning: RobotStudio to PLCSim using RSConnectIOToSnap7

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 18

  • @Otto9889
    @Otto9889  5 лет назад +1

    I quote from my thesis:
    For non-commercial use, Denis Fraipoint developed two SmartComponents for data
    exchange with Siemens PLCSim virtual PLC. The SCs RSConnectDIOToSnap7 and
    RSConnectGIOToSnap7 are available on RobotStudio Apps since 16-05-2017 and can
    be used freely. Little information is available regarding setup and therefore is left to the
    user to figure out. The DIO SC exchange I/O data with a virtual PLC and the GIO SC
    exchanges memory bytes (MB) or data blocks (DB) with a virtual PLC. The SCs are
    based on the Snap7 open source library which provide an interface to Siemens S7 PLCs
    by use of the Siemens S7 Protocol. The protocol is a command-reply telegram type
    protocol. The telegram between Snap7 and the virtual PLC is carried over Ethernet by
    TCP/IP and requires a free tool NetToPLCSim through which the communication
    passes. When configured, NetToPLCSim provides a local IP address for a virtual PLC
    to which the SC can connect. And NetToPLCSim provides monitoring of the commu-
    nication, such as read (GETs) and writes (PUTs). A virtual PLC can run on the same
    computer as RS or another - thus facilitating a distributed VC environment for large
    heavy applications.

  • @erickponce1438
    @erickponce1438 5 лет назад +2

    Thank you a lot man, it worked beautifully!

  • @691bilal1
    @691bilal1 6 лет назад

    Great video, waiting for more such videos about RobotStudio and PLC, thanks.

  • @blingVolcano
    @blingVolcano 4 года назад

    What about the TestControlandMonitor smart component? How do we get that? You have a lot of things wired but no explanation about what you've done. Also there are tag assignments that you are monitoring at 25:36 with 2 lines of SCL code, how do we see the memory addresses on the right margin?

    • @Otto9889
      @Otto9889  4 года назад

      You don’t need the TestControlandMonitor. It is just a panel I created myself self for presentation purposes and have no logic inside it. The wires are there only to send the data from the TestControlandMonitor to the PLC that sends the data back to the TestControlandMonitor. Thus creating a loop and proving the concept. Regarding the memory addresses, the memory addresses are visible at 25:36 and are M1.0 MB13 MB11: Bit 0 of address 1, address 13 and address 11.

  • @hasanmasud3836
    @hasanmasud3836 5 лет назад +1

    Hello, thanks for a nice video, how the communication should work if I have a REAL siemens plc? a standard ethernet cable be enough for establishing communication between IRC5 controller (or robotsudio) and the PLC?

    • @Otto9889
      @Otto9889  5 лет назад

      In theory using real PLC should not make a difference as long as it supports Siemens S7 protocol. Please remember to enable PUT / GET feature.

    • @ndjxisjenxjix9525
      @ndjxisjenxjix9525 2 года назад

      @@Otto9889 Hello, I want to do this for a project. How would it be in real life? There should be a server running at all times I guess. Would it be possible? How would you do it otherwise

  • @lyuboslavradkov3927
    @lyuboslavradkov3927 6 лет назад

    Thank you so much! Wonderful Video. Do you know how to do the same with WINMod RS-200 app ?

  • @mathiasolofsson4321
    @mathiasolofsson4321 5 лет назад

    Smart component works fine with PLCSIM, but i have a problem. For some reason the controller in robot studio stop working when i activate PLCSIM (off - run), its very strange.

    • @Otto9889
      @Otto9889  5 лет назад

      Hello Mathias, I don't recall having this issue. My guess is has to do with versions. Maybe you could contact Eric Ponce (see above) who got it working. Unfortunately I don't have a RobotStudio anymore, so I can't check anything for you. In deed your issue is strange. Since RSConnectIO is in between. You can also ask the author of RSConnectIO.

    • @Otto9889
      @Otto9889  5 лет назад

      If you solve the issue, maybe you could mention it here. If you are not Siemens dependent, you can use OPC and CodeSys virtual PLC instead.

    • @MirceaMurar
      @MirceaMurar 4 года назад

      Hello Mathias, I have the same problem, did you managed to solve it?

    • @xx_DUCE_xx
      @xx_DUCE_xx 8 месяцев назад

      Any solution?

    • @xx_DUCE_xx
      @xx_DUCE_xx 8 месяцев назад

      ​@@MirceaMurar U solved mate?

  • @adolf5339
    @adolf5339 4 года назад

    Thanks a lot. Does it work for PLCsim Advanced too??

    • @Otto9889
      @Otto9889  4 года назад +1

      When this video was made, it would have worked with Advanced too. With PLCsim Advanced there is another option too: RobotStudio OPC Server OPC Bridge PLC OPC Server. I hope to release a video on a similar solution during next few months, but with Codesys, not Siemens.

    • @adolf5339
      @adolf5339 4 года назад

      @@Otto9889 Yes, i tried this morning with PLCsim advanced and works too. I haven't tried yet the option with opc server. Does it have more advantages or disadvantages? I'm planning to do some virtual Comissioning and i'm figuring the best way to do it. I'm having doubts also regarding managing a big list of signals with RSconectdiotsnap7.