Discover our Clipsal Smart Home packages as seen on The Block 2018

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

    Explain the purpose of %SW138 to %SW141 for a M340/M580 PLC CPU.

    Goals and Symptoms

    To explain the functionality the purpose of %SW138 to %SW141 in a M340/M580 PLC.

    Facts and Changes

    The M340 PLC CPU must be using firmware version 2.2 or higher. The M580 CPU must be higher than firmware version 2.20.
    If the CPU is configured for Mixed Topological and State RAM then these System words are not necessary.
    If testing in the Simulator, this functionality was not added to it until Unity Pro Version 13.1.

    Causes and Fixes

    To facilitate the migration from LL984 to a M340 PLC 4 new System Words where added to offset the Starting Address of variables accessed by Modbus and ModbusTCP requests.

    Initialization of %SW138, %SW139, %SW140 and %SW141.
    To ensure that these 4 System Words are initialized immediately after the download of application, a specific declaration must be done in UnityPro.
    1) Create 4 named variables of type INT.
    2) Give initial values to these 4 named variables.
    3) Map these variables to the 4 System Words %SW138 .. %SW141

    Caution : Failure to follow these instructions can result in injury or EQUIPMENT damage (risk that Modbus request access to wrong variables)



    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