CP340 serial

Mistake

The receive error was My cable that wasn't connected, it was still connected on my PC for hyperterminal :mad:

But the problem in the VAT remains... starting in DBB32 with an E

My feeling is that the problem is the µAWS meter, I think I'll need some support of ELOVIS, the company of those meters...
 
Combo said:
The receive error was My cable that wasn't connected, it was still connected on my PC for hyperterminal :mad:
Sh.. happens!

Combo said:
But the problem in the VAT remains... starting in DBB32 with an E

My feeling is that the problem is the µAWS meter, I think I'll need some support of ELOVIS, the company of those meters...
This might be a good idea.

What happens to the error-status-length data if you connect/disconnect?
 
need help

I think you are right. It is a simple ascii protocol. With the RS485 interface you may read out all TDS units with one CP340. Poll the units cyclic. Only there is no error checking in this protocol, so if a bit "fall" due interference or something you will receive wrong data.

Expert please tell me how to Poll the units cyclic, I cannot find parameter in function which it I can set the address for slave units?
Thanks in front!
Regards.
 
The receive error was My cable that wasn't connected, it was still connected on my PC for hyperterminal :mad:

But the problem in the VAT remains... starting in DBB32 with an E

My feeling is that the problem is the µAWS meter, I think I'll need some support of ELOVIS, the company of those meters...
Hi Combo,
Could you post your system diagram here please?
Can we poll pure ascii from units to S7-300 through one CP340. How to send request code with slave units's address (my slave units can config its address)?
 
Hi, I've written programs for RS232 and RS485 in the past.

Here is my program for the RS485 communication to 5 slaves.

I hope it helps.

RS485 link (works for 7 days, so hurry): http://www.yousendit.com/download/WnBSeFVhZy84NVYzZUE9PQ


Questions about my code ? shoot.
Hi Combo,
I have downloaded your Code, and now have just viewing...🍻
May be I send you my question soon..hii...(y) Please feel free give me some help...Now many thanks Combo!
Regards.
 
I need your help!

Hi, I've written programs for RS232 and RS485 in the past.

Here is my program for the RS485 communication to 5 slaves.

I hope it helps.

RS485 link (works for 7 days, so hurry): http://www.yousendit.com/download/WnBSeFVhZy84NVYzZUE9PQ


Questions about my code ? shoot.

Hi Combo,
Sorry but I am a newbie in Step7, STL is difficult for me...I try to read your code but it seems so big project to me..
Could you give me some guide to write a program which function as belows (I think it simple with you but for me it difficult because the first time I do thiso_O, please guide me in LAD):
- Hardware: CPU 314c-2DP + CP340 connected to 05 indicators (can be addressed) through RS485, 2wire, ascii 8data bits+1stop bit.
- Step7 program:
+ Send code <STX>PA<CR> (eg: ^BP!^M for addres 1) to Poll for data from indicators
+ Receive data return from indicators.
(I can do the setting for HW already)

Many thanks for your attention!🍻

ALU
 
Help me more

Hi, I've written programs for RS232 and RS485 in the past.

Here is my program for the RS485 communication to 5 slaves.

I hope it helps.

RS485 link (works for 7 days, so hurry): http://www.yousendit.com/download/WnBSeFVhZy84NVYzZUE9PQ


Questions about my code ? shoot.

Hi Commbo,
Have a look here :http://www.plctalk.net/qanda/showthread.php?t=29358&page=3
and more inforamtion here: http://www.plctalk.net/qanda/showthread.php?p=311293#post311293
Please help me on this matter...I'm newbie!
Thanks in advance!
 
running...

This evening, no time now, I'm @ kuka this week.

Hi all,
at last my project is running...i can collect the data to my laptop through MPI (using USB/MPI converter) right now. I wanna go futher by using WinCC7.0 to view this data (I store in DB11). How can I assign this data to Tags and display it in WinCC? Experts please say something....many thanks!
 

Similar Topics

Hi! We are a group of students located in norway, and i have a challenge communicating between a laptop and the Siemens CP340 RS232 module. The...
Replies
23
Views
8,911
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
952
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,157
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,194
Hi, been looking everywhere for this info but cant find it. Does anyone know if the CP340 RS232 card supplies 5v to Pin 9. Thanks
Replies
2
Views
1,418
Back
Top Bottom