Machine and Motion Control Forum
Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-01 05:37 AM
Hi, again 🙂
Now I need advice/help on how to connect with modbus device and read registers.
I use TM251MESE controller and I connect to them using a serial port energy meter.
In Machine Expert I add the energy meter in that way:
Next I add channel and one address to read
After starting the controller the status looks like:
1- green
2- green
3- orange
Green led on serial port was flashing.
In attachment, I add modbus table of energy meter
I check the pins on serial port and the cable connection and they look correct.
Where can be a problem?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-01 05:48 AM
Please check if the energy meter offer values on Register address 0. Because at the moment you read this address via the offset value. Depending on the slave device you will get as response illegal address. Furthermore you could check the frame setting on the device and in your project and the device address. If you change settings on the energymeter, please try to power off/on the meter. The most devices need a reboot to accept new communicaiton settings.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-02 01:46 AM
Hello Pawel,
Apart from the correct wiring between the M251 serial line and the meter you need to verify the following parameters which should match their equivalents in the meter.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-04 10:50 PM
Hi,
I know about those parameters and I checked them.
Finally after changing the time between frames and cycle time in Modbus Slave Channel does works properly.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of