Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel

How to connect arduino to plc schneider m221 hardware via rs232

SmartConnector Forum

Discussion of SmartConnector applications for integration of various other building management systems (BMS) into EcoStruxure Building Operation


How to connect arduino to plc schneider m221 hardware via rs232

I want to communicate from arduino to plc via rs232. I have made settings on the arduino and with the help of the modbus tester it is known that "Read Ok" means that the data has been sent from the arduino. However, after setting up the PLC m221 machine basic expert via a serial line modbus IO scanner with the slave address and offset that has been set but the value for %iwn when commissioning is an error or is red. Based on the error code from %iwns100 the error is because "Device not scanned correctly due to a communication error detected on a channel of the
device." Do you have any suggestions on how to make random values ​​generated in the Arduino program read in the PLC program? thankyou

Tags (1)