CP340 comm

shanmu_gam

Member
Join Date
Mar 2007
Location
*******
Posts
22
I have a siemens CP340 communicating with Prosoft ADM module and if sometimes by anycause if the PLC goes to stop mode and comes back RUN mode, the communication is not getting established. I have to download the hardware configuration again or reset the EN_R in FB2 P_RCV and set back the EN_R in FB2 P_RCV. Is there anyway to initialise the CP340 module while it come to RUN mode? Thanks
 
I have a siemens CP340 communicating with Prosoft ADM module and if sometimes by anycause if the PLC goes to stop mode and comes back RUN mode, the communication is not getting established. I have to download the hardware configuration again or reset the EN_R in FB2 P_RCV and set back the EN_R in FB2 P_RCV. Is there anyway to initialise the CP340 module while it come to RUN mode? Thanks

Seems to me you have the solution already. If you look in the TEMP area in OB1, you will find a byte 'OB1_SCAN_1' that counts no of scans since restart. Put in a bit that enables setting of the EN_R's first when a certain no of scans has been reached.

Kalle
 

Similar Topics

Dear All, Can you please give me some steps to communicate between S5 CP524 and S7 CP CP340 with 3964R procedure. I have tested 3964R...
Replies
0
Views
1,810
I've got a CP340 RS232C that sends print commands to a Domino inkjet printer. My problem is that it will work without issue for weeks/months and...
Replies
0
Views
1,698
Hallo, I have Tia Portal V16 and I'm upgrading an older machine. That machine has a component running on rs232. The machine has still the old...
Replies
7
Views
978
Hi all, i have a module from b&r automation and i am want to get the data from it, but the com port is already taken. Is it possible to monitor...
Replies
1
Views
1,166
Hi, I am planning to use the 300 series in redundacy by using two cpus, and IM153 modules in Profibus DP. I am having some problems with my...
Replies
0
Views
1,196
Back
Top Bottom