how to access the memories of clp schneider M221 via MODBUS TCP/IP

hello any case of success between the integration of aveva edge and PLC schneider M221? I need instructions to access the memories via MODBUS TCP/IP

Parents
  • Hello João

    If I remember well, the trick of these small PLCs from Schneider is that they just have the memory addresses that are defined in the PLC.

    For instance if you have a TAG at %MW1 and another tag at %MW3, but no tag defined at %MW2 that address will not exist in the modbus. When you define the tags in Citect the modnet driver will try to read the range from %MW1 t to %MW3 for performance, but the PLC will give an error because the address %MW2 doesn't exist.

    So you need to tweak the modnet driver to read just the addresses configured and not ranges, I don't remember the parameters, maybe block=1 will to it

  • No need to tweak the driver's parameters. To enable this behaviour you have to prefix the tag's modbus address with a capital 'G' i.e. G401190 instead of 401190. I don't know if it is possible to use this mechanism combined with %MW notation.

Reply Children
No Data