HCBBS Forum (English)
Submit Chemical Projects / Find Solutions
Amplify Your Requirements on a Broader Chemical Platform *Engineering · Technology · Equipment · Solutions*
Submit Request

Issues with the Modbus slave function of Siemens CP341

2015-11-16View Original

Thread Content

When using the CP341 as a MODBUS Slave for communication in the S7-300, Siemens’ documentation states that one should call FB7 and FB8 in OB1, then delete them from OB1 and subsequently call FB80. I followed these instructions, but when uploading the program to the PLC, it kept showing an error indicating that the blocks FB7 and FB8 could not be copied, and the CPU entered STOP mode. I would like to know how to resolve this issue.
Reply #22015-11-16
I don’t know what document you’re looking at; you only need to call FB7 (RECEIVE) and FB8 (SEND) when your CP341 is in MASTER mode. As a slave, directly call FB80
Reply #32015-11-16
I checked the documentation; FB7 and FB8 must be installed in the controller, as FB80 needs to call on FB7 and FB8 internally. So, you should still download FB7 and FB8 separately.
Reply #42015-11-17
Later, I found out that it was because my CPU did not support FB7/FB8; by using FB107/FB108 and FB81 instead, I was able to download the files to the CPU successfully. But there was a new problem: when I plugged in the RS485 serial connector, the SF red light turned on.
Reply #52015-11-18
Check the hardware diagnostic information; it’s possible that the cp341 has detected a disconnected connection

Submit a Project

**Looking for Chemical Technology, Equipment & Solutions?** No Registration Required Broader Platform Exposure | Global Chemical Service Provider Connections

Submit Request — Free Consultation

Disclaimer

This is an automated machine translation of the original thread. Some technical terms may have inaccuracies; the original text shall prevail. Click "View Original" at the top right to access the source page, which supports IP-based automatic real-time language translation. Please watch out for contact details and sales inducements to prevent fraud. All content and translations are for reference only, representing solely the poster's personal views. For enquiries, email service@hcbbs.com.