Discover our Clipsal Smart Home packages as seen on the Block

in location


I'm looking for

  • Wholesalers
    • Uncheck All Check All
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    M340 specific system words, %SW138 %SW141

    Goals and Symptoms

    To facilitate the migration from LL984 to M340, four new System Words have been added to offset the starting address of variables which are accessed by Modbus requests.

    Facts and Changes


    System Word Modbus request impacted First accessed variable
    when Starting Address = 0
    Modbus Discrete Input Offset
    FC02 Read Discrete Inputs %M[%SW138]
    Modbus Coil Offset
    FC01 Read Coils
    FC05 Write Single Coil
    FC15 Write Multiple Coils
    Modbus Input Register Offset
    FC04 Read Input Registers %MW[%SW140]
    Modbus Holding Register Offset
    FC03 Read Holding Registers
    FC06 Write Single Register
    FC16 Write Multiple Registers
    FC22 Mask Write Register
    FC23 Read/Write Multiple Registers

    The base address is the number of %M or %MW which correspond to Modbus address 0000.
      • %SW140 contains 1000. When the Modbus server receives a Read Input Registers request (code 04) with starting address equal to 0000, it returns values from %MW1000.

        %SW138 contains 0001. When the Modbus server receives a Read Discrete Inputs request (code 02) with starting address equal to 0000, it returns values from %M1.

    Warning : it is mandatory to set the value of those 4 words with Initial value mechanism, rather than writing in an application section. Otherwise, upon PLC Init command or setting %S0 to 1 or downloading application, the 4 system words are set to 0000 and the behaviour of Modbus server is wrong.
    Causes and Fixes

    This information will be included in UnityPro V7.00 Help on line documentation

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance