How to connect arduino to plc schneider m221 hardware via rs232
SmartConnector Forum
Schneider Electric support forum about SmartConnector applications for integration of other building management systems (BMS) into EcoStruxure Building Operation.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
2022-07-2910:41 PM
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