Serial communication AC500eCo plc with power meter via modbus RTU RS485 on COM2
Hello ABB,
I'm trying to communicate my plc to power meter. But I just receive 0 zero from the slave. How can I check that my plc connected to power meter or not. Here is my program is it right or wrong?

and here is COM2 configuration setting

read data

and finally can you please explain me this /%MWX/ ?
Regards,
I'm trying to communicate my plc to power meter. But I just receive 0 zero from the slave. How can I check that my plc connected to power meter or not. Here is my program is it right or wrong?

and here is COM2 configuration setting

read data

and finally can you please explain me this /%MWX/ ?
Regards,
Voted best answer
Here is the library use it if you don't have it
Regards
Amal
Regards
Amal
Answers
Hi,
Please ensure these things
1. Configuration of the Modbus RTU (COM2) configured as per the configuration of Modbus slave device (baud rate, parity, stop bits, etc)
2. The device ID is set as 1 in Modbus slave device as now you are collecting from only one device
Your diagram seems fine but I always choose blink function for triggering the COM_MOD_MAST
Also, check the Modbus address from your slaves manual
For checking your Modbus communication you can use Modscan which is free software, you can download from the web. If you are getting the readings on there your communication is fine the problem will be with your program
You can also refer to the following post and it will give you something
https://forum-controlsystems.abb.com/...
Regards
Amal
Please ensure these things
1. Configuration of the Modbus RTU (COM2) configured as per the configuration of Modbus slave device (baud rate, parity, stop bits, etc)
2. The device ID is set as 1 in Modbus slave device as now you are collecting from only one device
Your diagram seems fine but I always choose blink function for triggering the COM_MOD_MAST
Also, check the Modbus address from your slaves manual
For checking your Modbus communication you can use Modscan which is free software, you can download from the web. If you are getting the readings on there your communication is fine the problem will be with your program
You can also refer to the following post and it will give you something
https://forum-controlsystems.abb.com/...
Regards
Amal
I have attached the COM1 configuration and COM_MOD_MAST configuration
Please go through it and anything not clear let me know
Please go through it and anything not clear let me know
Timeout setting is 100, is that in milliseconds or seconds?
Here I have configured your com2 as Modbus with your shared details in communication, I have used Ladder Diagram for programming if you need you can convert it into any. Also, I just did to read the holding reg 40013. Also as you said your Modbus values are coming in integer no conversions will be required.
You need to configure your communication between PC and PLC coz that can be only done by you.
I hope this will get you if it is not getting please try to communicate using Modscan software you can download it from the web it is a free software
just try with it and let me know the result
You need to configure your communication between PC and PLC coz that can be only done by you.
I hope this will get you if it is not getting please try to communicate using Modscan software you can download it from the web it is a free software
just try with it and let me know the result
by
Your COM2 configuration picture is not availing with me could you resend it
Add new comment