A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.
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.
Posted: 2024-11-1608:01 AM
M221 OpenVPN Not Working
Hello all,
I need to have a M221 read the values from another M221 that it located remotely. The application is not safety critical, and I can deal with gaps in comms of up to 15 seconds before the local M221 enters a 'comms failed' state and switches off the stuff is is controlling.
4G would be ideal (hard wiring is not an option). To test I have x2 M221, each connected to a Teletonika TRB140. Teteonika RMS is then used to configure a VPN between the two (via OpenVPN).
The gateways can ping the local M221, as well as the other M221 (over the 4G VPN link). With the VPN client on my PC I can ping each M221.
When I use a direct ethernet cable between the two M221s, they can read the data in each other via the IO Scanner.
I cannot get it to work over the VPN link. I have tried playing with the time out periods and the cycle trigger times.
Any ideas if this is actually possible, and what could be going wrong?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2025-02-0604:20 PM
I am not familiar with Teltonika however it would help if you were able to capture the modbus communications from one another using wireshark. This hopefully will give you a better idea of what is going on.