advertisement
from the pvbrowser department...
Accessing memory using rlmodbus daemon
Communications systems and equipment. topic
Posted by Diego on 24 May, 2012 - 10:38 am
How do I access all memory of the Schneider-Electric PLC Premium? I can only read up to the %MW1024 memory location using the rlmodbus daemon (rllib library).


Posted by pvbrowser on 30 June, 2012 - 11:12 am
> How do I access all memory of the Schneider-Electric PLC Premium?

You will have to look into the documentation of the Schneider-Electric PLC. There you should find a table with the Modbus mapping of your PLC.

rllib will simply request data from the PLC under an address you specify. Since Modbus uses 16 Bit addresses the address range is from 0 to 65536.

If the slave device (here your PLC) has data in the specified location it will respond with the according data.

But if you use an address that is not listed in the Modbus mapping of the hardware vendor the slave device will respond with an error telegram meaning that there is no data available on that address.

There may be several address ranges within one device. Normally 1 for coils and one for registers.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.


Fortune
Mitchell's Law of Committees:
Any simple problem can be made insoluble if enough meetings are
held to discuss it.
Advertise here
advertisements
Time to incorporate data handling, web HMI and motion in one system!
Servo, steppers, analog, digital & web HMI - Fully Integrated!
Servo, stepping motor control, analog & web HMI in one system!
Control.com is the largest Automation community on the web. Learn how to advertise here now...
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive