Siemens CPU315-2 + CP340, communication issues with RS232.

tsunamik

Member
Join Date
Sep 2013
Location
Šumperk
Posts
1
Hi folks,

I could really use some help - I am trying to connect CP340 with my PC by RS232 protocol. I need to send some characters to PC from PLC, so I have everything connected and set up, used standart P_send block, chosen correct address of CP340 module, set DB number and offset number, prepared and so on, standart stuff.
But when I send those chars, in terminal on my PC I always get same thing: 6 times ASCII code for STX (start of text) and then NACK.

It doesn´t matter what I try to send, it always does the same. I tried messing with protocols, changing all kinds of settings, switching cables, pretty much everything except replacing my CP340 module, but I don´t think its a problem.

Could you point me the right way please? I wasted so many hours, that I am getting desperate :)
 

Similar Topics

Dear Sirs, I had a problem with CP 343-1 with CPU315-2DP.I had newly add the CP343-1 Ethernet module to the hardware to allow me to access this...
Replies
5
Views
2,632
I have never installed a brand new CPU before. But, I need to take an existing project from a CPU315 and put it in a CPU319 because we are...
Replies
13
Views
3,115
Hi, I need to make a change in the Hardware Configuration of a Siemens CPU315-2 2PN/DP. But I'm not able to download the modified configuration...
Replies
2
Views
2,027
I'm using a CPU315-2 DP and I can't find any information in the manual regarding the analogue current outputs, such as the addresses and which...
Replies
6
Views
1,840
Hi, I am a student and trying to wire a Siemens CPU315-2DP Analogue Module with a 0-10V and 4-20mA sensors. The Specs of the PLC are: CPU315-2DP...
Replies
14
Views
6,527
Back
Top Bottom