How can we help you today?

Can the Serial Communication protocol of an M340 PLC be changed dynamically?

Yes the Serial Communication can be changed dynamically from Modbus Master, Modbus Slave, or Character mode by using a WRITE_CMD (%MWr.m.c.24.bit) and toggling bits 12, 13, or 14 respectively.
Example:
1) Bit 12 = 1, bits 13 & 14 = 0 Current protocol is changed to Modbus Master
2) Bit 13 = 1, bits 12 & 14 = 0 Current protocol is changed to Modbus Slave
3) Bit 14 = 1, bits 12 & 13 = 0 Current protocol is changed to Character Mode

Schneider Electric Canada

Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales inquiry online and en expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

Find support resources for all your needs, in one place.

  • Help and Contact Center
  • Contact Sales
  • Find our Offices
  • Where to Buy
  • Careers
  • Company Profile
  • Investors
  • Newsroom
  • Report a Misconduct
  • Product Documentation
  • Product Selectors
  • Software and Firmware
  • Product Substitution and Replacement
  • Blog
  • Events
  • Schneider Electric Community
  • Sustainability
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings