advertisement
from the Modbus AC450 department...
AC450 ModBus Communication
Communications systems and equipment. topic
Posted by RAFAEL LEON on 11 July, 2012 - 2:47 pm
I need link a AC450 with a PLC. I have a CI532v02 module to be used in a serial communication under ModBus protocol.
In AdvaBuild software the configuration for CI532 is made by MS Data Base Elements.

The "CI532 DB Element" was created (MVI1), with the POSITION, SUBPOS, NODE number, etc. This DB Element is working good.

In the start up of MVI1, changing SERVICE terminal from 0 to 1, the CI532 don't receives the configuration and the system show a follow diagnostic message:

0 253 S 20:24:55 29 56 MviStb1 H'00070018 H'00000000 H'00000000

In the Modbus Manual (ABB) I found a description for de diagnostic message

"Time-out waiting for Configuration MS.
Create the Configuration MS with ident=Data1, and fill in the connected DAT references. See Section 3.6.1, MS for MVI-MODBUS Configuration"

The Configuration MS with ident=1 is already, but the parameters from this MS don't arrive to CI532 module (MVI1).

I think, the Configuration MS isn't running.
How can I know if the MS is running?
what additional test I must to do?


Posted by Rob on 11 July, 2012 - 10:09 pm
Read The Manual! You need to create much more than just an MVI and one MS. With a CI532 you also need a PC program for starters. Work through the tutorial in section 3.4.1 of the manual if you are a Master, section 3.4.2 if a slave - and check EVERYTHING.

Also, see section 5.4 paragraph 2
If the network number or node number for any of the communication modules in the Advant Controller 400 is changed after the start-up of the node, the Advant Controller 400 must be COLD STARTED

That means you must DUAP / LOAP the controller if you change anything or the link cannot start.

Starting an MVI link on an AC450 is always difficult because every detail must be correct. But once everything is correct and the link starts it is normally very reliable.

Rob
www[.]lymac.co.nz


Posted by RAFAEL LEON on 12 July, 2012 - 9:22 am
Hello Rob,

Thanks for your help and tips.
Exactly there are more MS and PC program, but all are already configurated.

I'm making this work for two (2) AC450 (networks different), where the AC450 is Master. Each one will be communicated with the PLC, but only one are Ok. The configuration for both is equal and under the same condition.

The Node number and network number have not been changed after the MVI configuration.

The time-out message makes me think that the MS configuration (Ident=1) is not running. The question is Why?
What can I do?

R. Leon
www.eseprin.com


Posted by Rob on 12 July, 2012 - 9:15 pm
OK, so you have the required PC programs and all the database elements and a copy of the manual. That's a good start :)

The message says its looking for a Message Set with Ident=Data1 - But Data1 in the error message=0 and there is no MS with Ident zero. (And there should not be).

Are you trying to use the second serial port on the same CI532 as the working link? I think (but I'm not sure) that this doesn't work. Sorry, its been a while since I made a link like this, but IIRC I've seen this issue before and this is how we solved it. If you can try to move the PLC link to another CI532 then you might be able to get it working.

Obviously, this is quite a big job and will require a cold restart of the controller, so please be absolutely sure that you've checked all of the settings and configuration. As I said before its easy to make a mistake and I've spent hours on this kind of problem before.

Good Luck
Rob

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
"I bet the human brain is a kludge."
-- Marvin Minsky
Advertise here
Advertisement
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive