MVI56E SIE configuration

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 11

  • @GajahMada-c6d
    @GajahMada-c6d 10 місяців тому

    Hi simon,
    Can you tell me how to read the address M from siemens?
    Thank you

  • @tendaywibawa3663
    @tendaywibawa3663 3 місяці тому

    Hi Simon, I have question,
    which type of cable that you use to connect from Siemens PLC to 1756 MVI56E SIE module ?
    is it Profinet cable or normal Cat5e Ethernet Cable?

    • @simonkembo
      @simonkembo  3 місяці тому +1

      @@tendaywibawa3663 Hi, just a normal Ethernet cable. Cat5/6.

  • @waldin17
    @waldin17 6 років тому

    Hi Simon,
    could you share the tia porta project? thanks

    • @simonkembo
      @simonkembo  6 років тому

      Hi Waldo,
      I can make you a sample project, I'm just on a trip right now. Is next week okay? I will email it to you.

  • @tigrangrigoryan1105
    @tigrangrigoryan1105 6 років тому

    Hi Simon
    could you explain why you make DB1 (INT) Tag with input adress IW22? Thank you

    • @simonkembo
      @simonkembo  6 років тому

      Hi Tigran,
      So the latest version of TIA will automatically map your DB to the controller memory and automatically assign an address. Back in v13 SP1, you would have to assign a address to store your data in the Siemens controller. You would have to get the address from the controller's Device Overview. Does this answer your question?

    • @tigrangrigoryan1105
      @tigrangrigoryan1105 6 років тому

      Hi Simon
      Thank you for the fast answer
      I need to read and write DINT, in that case I probably need to define DB1 as DINT and as% ID22?

    • @simonkembo
      @simonkembo  6 років тому

      Not necessarily if you are using PLX3x-EIP-SIE gateway (or the MVI56E-SIE InRax card). The gateway's internal database is defined at INT limits (it is a 4000 INT size register database). That means from the gateway's point of view, a DINT is actually 2 INTs stored consecutively in the database. Say you have DINT in your AB controller, when you send this via EIP to the gateway, the gateway will store it as INT1 and INT2. Like wise, when you the gateway is returning it to the AB controller, it will return INT1 and INT2. At that point you will need a COP instruction in your logic to convert these INTs into a single DINT. The same applies to the Siemens Ethernet side. An ideal solution is to have 2 arrays at your controllers, one that is in INT size for the transfer and another that is in DINT size for the conversion of the transferred data. Makes sense?

    • @tigrangrigoryan1105
      @tigrangrigoryan1105 6 років тому

      Can I use same settigs for S7 1500 CPU ? I must read from DB 170 and write in DB 175 in this case i need 2 INT Tags or ?

    • @simonkembo
      @simonkembo  6 років тому

      @@tigrangrigoryan1105 Okay so as far as I can tell, it will work with the 1500, but I have never tested it myself so I can not be 100% certain. All the documentation I can find suggest that it does, I will need to do a bit more research. You have the freedom to read and write any datablock address. If it's a DINT, it would occupy 2 INT registers. I will avoid saying "you will need 2" because you essentially have 4000 INT registers to play around with.