6/3/2010 8:45 AM | |
Joined: 3/3/2010 Last visit: 3/27/2024 Posts: 10 Rating: (0) |
Hi again, The error code A080 without i have change any thing in the DB_PARAM I have attached the project or only thepart that i use with the modbus connections. This is the first time for me working with this TCP/IP open modbus. When i hade program the first connection (called PLC A) in project it works perfecly then i copied this logic for the (PLC B) and modified it for the PLC B connection and when i started testing it connection with PLC A works perfectly but connection with PLC B i have manage to work a few times but at the most time it comes in to error. Regards Advantec AttachmentModbus.zip (772 Downloads) |
6/3/2010 2:58 PM | |
Joined: 1/17/2007 Last visit: 10/21/2024 Posts: 1547 Rating: (537) |
Ah you are using the PN CPU. I didn't noticed that. That changes things a bit. Error code A080 is given as "The parameter DB_PARAM was changed without a restart of the CPU." Which sounds like you have changed the DB_PARAM number or the contents of the DB_PARAM DB during runtime. Here is the relevant section out of the manual:- The parameter of data block MODBUS_PARAM must not be changed during runtime. It is necessary to restart the PLC after the modification of MODBUS_PARAM. For each logical connection one structure is required. Reading the manual, the way I understand it is that you would have to add a new structure to the DB for each logical connection. I cannot say for certain as I have never used this block. I suspect that you only have one structure in the DB and are attempting to modify it's contents during runtime to use another connection. Is that the issue? @Moderators: This thread might best being moved to the IT4Industry->Open Modbus TCP forum, where it will be seen by the Open Modbus TCP experts. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
6/5/2010 10:54 AM | |
Joined: 3/3/2010 Last visit: 3/27/2024 Posts: 10 Rating: (0) |
Hi again, Yes i also find the problem in OB100 Thanks now it works perfectly!! Best Regards Advantec |
Follow us on