Member Login
Search
Past & Future Posts
Sponsored Communities
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Cool stuff
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
The default Magic Word, "Abracadabra", actually is a corruption of the
Hebrew phrase "ha-Bracha dab'ra" which means "pronounce the blessing".
Hebrew phrase "ha-Bracha dab'ra" which means "pronounce the blessing".
RSS Feed
www.control.com/rss
from the End of the rope department department...
Modbus write to register 40002I'm working with an old ABB ACS400 variable frequency drive. I'm trying to get it to start from a VB program. This requires setting a value to register 40002 and then writing values to the command word at 40001.
I've written similar programs for Allen Bradley and Altivar drives and both of those have odd quirks where you have to write more than one register at a time or write to a goofy offset.
On the above I've used MODBUS/TCP but on this antique, it requires an RS232 and CRC checking.
The ABB drive simply refuses to let me write anything to 40001, 40002, or 40003 but will let me write to any other valid register. Maybe it's something with the CRC. It beats me. I've stumped them at tech support at ABB so if anyone here has any great ideas, I'd appreciate it.
-Joe
I've written similar programs for Allen Bradley and Altivar drives and both of those have odd quirks where you have to write more than one register at a time or write to a goofy offset.
On the above I've used MODBUS/TCP but on this antique, it requires an RS232 and CRC checking.
The ABB drive simply refuses to let me write anything to 40001, 40002, or 40003 but will let me write to any other valid register. Maybe it's something with the CRC. It beats me. I've stumped them at tech support at ABB so if anyone here has any great ideas, I'd appreciate it.
-Joe
Hello Joe,
1. Download the MODBUS TCP/IP slave simulator at http://www.peakhmi.com/.
2. Execute your register write to the simulator.
This will validate your code.
If it does not work post your write command stream, in hex, and I will look at it.
Ciao,
Mark
http://www.peakhmi.com/
1. Download the MODBUS TCP/IP slave simulator at http://www.peakhmi.com/.
2. Execute your register write to the simulator.
This will validate your code.
If it does not work post your write command stream, in hex, and I will look at it.
Ciao,
Mark
http://www.peakhmi.com/
Download Automated Solutions Modbus Master ActiveX Control.
http://automatedsolutions.com/products/modbusrtu.asp
Run the pre-built MiniHMI example application and write to the register that you are having trouble with.
If there is an issue, MiniHMI will provide a detailed error description that should point you in the right direction.
-Mark
www.automatedsolutions.com
http://automatedsolutions.com/products/modbusrtu.asp
Run the pre-built MiniHMI example application and write to the register that you are having trouble with.
If there is an issue, MiniHMI will provide a detailed error description that should point you in the right direction.
-Mark
www.automatedsolutions.com
I believe 40002 is mapped to the Control Word Speed (or Torque) reference. You likely can't change it if the Drive is enabled. Depending on the operating macro, you will need to verify the enable or run signal is low before the source can be set. If you are using the DDCS Bus (fiber converter), then forget all that--I think that had more to it...
-Lee
-Lee
Let me clarify that--I think 40002 sets the control word source (ai, comm, keypad, etc.), not the actual reference itself. Something to verify...
I found the problem. You have to be connected through the RS485 port. It will let you change every other register through the RS232 port but not the command word at 40001 or the two holding registers 40002 and 40003.
Anyway, I ordered up a RS232 to RS 485 converter so I'm holding so to say 'till that arrives.
-Joe
Anyway, I ordered up a RS232 to RS 485 converter so I'm holding so to say 'till that arrives.
-Joe
Hip Hip Hooray for Joe. He posted some feedback on what he found his problem to be.
His example is worthwhile of emulation.
Thank you, Joe.
David
His example is worthwhile of emulation.
Thank you, Joe.
David
From Control Engineering magazine...
Related articles from Control Engineering magazine- Portable computing: Operators can be mobile with rugged HMI
- Whitepaper: Small form factor HMIs evolve
- Remote control: Get behind firewalls—securely
- Security: Yokogawa partners to add industrial firewall
- Performance intelligence: SmartSignal, General Physics deal focuses on expertise exchange
- ABB update: User conference, exhibition, flow, SCADA, wireless
- Interoperability: OPC for embedded applications
- Learning: Profibus, FDT seminars; FDT testing
- Fun engineering: FIRST Robotics Championship
- Rockwell to acquire Incuity Software; research shows how it could help
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
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-2008 Control Technology Corporation. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!



