Technical Forum

Communication / Networks

requirement of S7 prgram for CP341 as Modbus RTU Master in CPU414-4 system

Thread Starter: kumar.annoy   Started: 5/25/2012 10:12 AM   Replies: 3

« Previous thread Next thread »
Page 1 of 1 (4 items)
  5/25/2012, 10:12 AM
Joined 5/25/2012
Last visit: 4/23/2013
Posts: 3
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

CP341 is used as Modbus RTU Master in a CPU414-4H system. I have downloaded the driver as per H-system requirement. Also dongle is installed in the module. Modbus communication parameters are set as per slave requirement: Baudrate 1200, Stop bit 2, No parity, two wire RS485 connection scheme.
I have used program segments from "8106__36_220609.zip" which i downloaded from another thread. Once request bit is started, i can physically see Tx and Rx leds blinking in CP341 module; but status error "08 30H" is continuously evaluated for all the slave nodes. The same error is also logged in the online diagnosis of CP341. No data is received in destination DB. FB7, FB8 are used for send and receive function. Function code 3 is used and LEN parameter 6 is set as mentioned in CP341 manual.
Looking for advice on the issue. Any particular HW/SW/FB requirement to be fulfilled?

Top
  5/25/2012, 3:11 PM
Joined 9/27/2006
Last visit: 5/24/2013
Posts: 3949
Rating:
Rated: Excellent [4.15 out of 5 / rated 620 time(s)]. (620) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Hello kumar;
Start with the description of error code 08 30H (from the "Loadable driver, Modbus RTU, S7 is master" manual), and the suggested repairs:

08 30HA request message has been sent and the reply monitoring time has elapsed without the start of a reply message being recognized.Check if transmission line is interrupted (interface analyzer may be required).
  Check whether the protocol parameters transmission rate, number of data bits, parity, number of stop bits have the same settings for the CP and the link partner.
  Check if the value for the reply monitoring time set with PtP_PARAM is big enough.
  Check whether the specified slave address exists.
SIMATIC S7-300/S7-400 Loadable Driver for Point-to-Point CPs: MODBUS protocol, RTU format, S7 is master   

Hope this helps,
Daniel Chartier
Top
  5/28/2012, 12:29 PM
Joined 5/25/2012
Last visit: 4/23/2013
Posts: 3
Rating:
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

Thank you Daniel for your clarification.
I have used transmission rate, number of data bits, parity, number of stop bits as per partnered link. however I need one more clarification. 
I have not installed resistor at start and finish end of the multidrop configuration. Is it possible that error '08 30H' (Check if transmission line is interrupted) is generated due to mismatch of signal transmission in absence of resistor?
I had placed order for resistance of 330 ohm (as found in the manual). Is this rating ok?
I have not used FB7, FB8 before for Modbus send and receive fucntions. Are they ok/reliable for data read/wirte in CPU414-4H redundant system?

with regards
Annoy

Top
  5/28/2012, 2:26 PM
Joined 4/15/2009
Last visit: 5/23/2013
Posts: 648
Rating:
Rated: Outstanding [3.21 out of 5 / rated 29 time(s)]. (29) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
kumar.annoy wrote:
I have not installed resistor at start and finish end of the multidrop configuration. Is it possible that error '08 30H' (Check if transmission line is interrupted) is generated due to mismatch of signal transmission in absence of resistor?

I had placed order for resistance of 330 ohm (as found in the manual). Is this rating ok?
I have not used FB7, FB8 before for Modbus send and receive fucntions. Are they ok/reliable for data read/wirte in CPU414-4H redundant system?

Dear Annoy

First you need to install the Terminating Resistors ( as prescribed ) for Communication Interruption.

Also FB7 and FB8 normally used for Modbus Communication with CP341


Niranjan
Top
Page 1 of 1 (4 items)
Actions