12/13/2010 7:29 AM | |
Joined: 10/13/2008 Last visit: 12/2/2022 Posts: 73 Rating:
|
Dear friends Now I have another problem wiht CP441-1. My communication is Modbus RTU as a Slave. I read in CP document that it support 3694(R) , ASCII and Printer Drivers.!! So Please tell me which driver I must configure for this Communication. Splitted from Modbus On CP441-1. |
Last edited by: O_Moderator at: 12/13/2010 12:44 PMnew subject after splitting |
|
12/13/2010 10:10 AM | |
Joined: 10/7/2005 Last visit: 3/25/2025 Posts: 3042 Rating:
|
Hello again r_nakhai may I suggest you do what I suggested earlier (the taskthatI can't stop you from doing, e.g. google"xCP Modbus), as you will find out that: "The .........xCP MODBUS RTU driver can be used in conjunction with any CP that provides a plain ASCII communication link, such are CP340/440, CP341/441 ..." |
Cheers |
|
12/21/2010 11:13 AM | |
Joined: 10/7/2005 Last visit: 3/25/2025 Posts: 3042 Rating:
|
Hello r_nakhai just to be clear: You do NOT want to buy a CP441-2 with the additional Modbus license Dongle as a replacement for your CP441-1 (which I can appreciate as it is costly). You also do NOT want to go for the cheaper otion which would allow Modbus RTU usage on your CP441-1. Instead youdo want to develop your own Modbus Driver for the CP441-1 but do not (yet at least) havedetailedknowledge aboutserial communication in general or Modbus specifically. Well, I must say:Good on you for having a go at it (not too sure if the amount of consumed engineering hours will end up costing you more than any of the other solutions, but at least you will learn a lot),. Your question now is: "Can I configure Serial port as an ASCII protocol (ed: to use it for Modbus RTU based communication)?" I'd sayyou can and should, but haven't tried this myself. If you look at the CP441 manual you'll find however the following info for the ASCII driver: The ASCII driver controls data transmission via a point-to-point connection between the communication processor and a communication partner. This driver contains the physical layer (layer 1). The structure of the message frames is left open through the S7 user passing on the complete send message frame to the communication processor. For the receive direction, the end criterion of a message must be configured. The structure of the send message frames may differ from that of the receive message frames. The ASCII driver allows data of any structure (all printable ASCII characters as well as all other characters from 00 through FFH (with 8 data bit character frames) or from 00 through 7FH (with 7 data bit character frames) to be sent and received. |
Last edited by: fritz at: 12/21/2010 11:29 AMfixed typos Cheers |
|
This contribution was helpful to
1 thankful Users |
Follow us on