Sign in to follow this  
Followers 0
Kenwei8011

CP341 Modbus card as a slave to link to a DCS system

1 post in this topic

Hi there, I really need your professional advise. I have a 412-5H PLC set and it link to the IM 153-2. The CP card is install at the IM rack. I have configured the parameters for the CP341 card (I am not sure if i configured correctly), and in my program, i use FB80 and downloaded FB7 and FB8 as I understand that the FB80 will call them internally. The CP card is serve as a modbus slave to give data to a DCS system. I'm using the modscan32 for simulation as the DCS system is not here. From the PLC diagnostic buffer, I got the error as below, Event 1 of 22: Event ID 16# 2523 Area length error when writing Instance DB, word access, Access address: 602 FB number: 7 Module address: 30 Requested OB: Programming error OB (OB121) Priority class: 1 Internal error, Incoming event 10:33:05.834 AM 05/05/2014 (Coding: 16# 2523 0179 8E25 025A 0007 001E) Event 16 of 22: Event ID 16# 2522 Area length error when reading Instance DB, byte access, Access address: 650 FB number: 7 Module address: 54 Requested OB: Programming error OB (OB121) Priority class: 1 Internal error, Incoming event 10:33:05.828 AM 05/05/2014 (Coding: 16# 2522 0179 8E15 028A 0007 0036) I selected 2 errors for your reference. For Event 16, the access address is 650, but my understanding, the instance DB has the length of 604 bytes. Why FB7 is looking for address 650? Is the Instance DB is not big enough?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0