Vijeo XD - Communicating to M221 using Modbus TCP

preview_player
Показать описание
How to Setup up a simple M221 project. How to set up EcoStruxure Operator Terminal Expert (Vijeo XD) to Communicate to the M221 using Modbus TCP.

Have you decided to try Vijeo XD? If so, you might be wondering about how to establish some basic communication to some Schneider Electric PLCs. In this article we can talk about getting communication going between Vijeo XD (EcoStruxure Operator Terminal Expert) and a small M221 SoMachine Basic PLC.

At present, March 2018, the best way to communicate to the M221 using Vijeo XD is with Modbus TCP (alternatively serial/USB). The steps are simple and straightforward.

After configuring the ethernet port for the M221 and adding 1 rung of instructions the PLC is ready for communication via Modbus TCP.

In Vijeo XD we add the Schneider Electric Modbus TCP driver. In the properties of the Mobus TCP driver we set the IP address of the PLC (hopefully on the same network as your PC/Runtime) and the addressing to IEC mode. That's it for the driver!

You can now add variables pointing at the appropriate driver name and IEC addresses you have used in the M221. Graphic objects are bound to the variable name as required.

To test the communication you can use the Vijeo XD simulation which can communicate directly with the PLC (even with the trial version). If all goes well you should be seeing and changing data in the M221 immediately.

For those interested in importing Symbols into Vijeo XD instead of addressing, this feature is coming very soon. Stayed tuned for my article on Vijeo XD Symbol Link as it becomes available.

Happy HMI development!
Рекомендации по теме
Комментарии
Автор

Hello thank you for that awesome video. I try to follow the step but the communication between my HMI on Vijeo and the M221 is not working. Is it because i am using the trial version? Is it possible to have the link to download the lastest Vijeo XD version too? Thank you :)

YoungOby
Автор

Is it possible to communicate Vijeo XD with a modbus simulator in the same computer ?

sgonzalez
Автор

Is it possible to mirror a st6 series hmi on local network on to my pc?

allanjacob
Автор

I can't do it. I can't read or write values in simulated HMI. can you help me solve this

minhlenhat
Автор

Hi Paul,
This is an excellent vid. Do you have any guidance on how I establish comms between a M221 and HMI that does not support modbus TCP? I am using a M221C16R and HMISTO715

francisward
Автор

I can do the simulation if it is in trial mode Vijeo xd?

LorentzIbanez
Автор

quiero comunicar el PLC221C24R con el MODEM SR2MOD03 alguien que tenga una idea?

DioinerFernandez