12/18/2014 9:54 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
i have gyro compass its output is rs422 two wires how can i connect it to cpu 315-2dp i use tia portal v13 |
12/18/2014 10:57 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
i am sure of rs422 under NMEA 0183 protocol |
12/18/2014 11:09 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
gyro compass is NAVIGA.X MK2 SPERRY |
12/19/2014 2:17 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
i ask sperry agent about RS422 two wire he told me that data is unidirection so you do not need 4 wire is this ok? |
12/19/2014 3:33 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
what is the function will be used to recieve data? |
12/19/2014 5:18 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
what do you mean by( You will not be able to use on on-board communication connectors) |
12/19/2014 11:32 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
ok i will use CP 340 it support ASCII protocol if this what you mean how can i recieve data(function)? |
12/23/2014 8:58 AM | |
Joined: 3/20/2013 Last visit: 4/3/2024 Posts: 676 Rating: (43) |
P_RCV and P_SEND |
Best Regards, |
|
12/23/2014 12:09 PM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating: (150) |
Look this: You will have to implement your own protocol stack in S7. CP340 with RS422/RS485 is the right choice. |
12/23/2014 8:06 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
please i need help about ( P_RCV and P_SEND) becouse no help in tia portal v13 about them |
1/3/2015 12:27 PM | |
Joined: 10/23/2014 Last visit: 3/25/2024 Posts: 201 Rating: (0) |
i can not open the sample program by v13 please i need to know how to read data and make necessary calulation by it |
1/4/2015 11:37 AM | |
Joined: 9/8/2009 Last visit: 7/17/2023 Posts: 1410 Rating: (150) |
I took a look, definitely its not for someone that has no experience before. There is no pdf document and also it could be done much easier. First you need to change in project Station_CP340_PtP the device from CP340 rs232 to CP340 rs485/rs422, then for NMEA0183 are used two end characters CR LF, so I set up the end delimeters (see pic). Also I have set the baudrate 4800 (you can incresae if your instrument sends at higher baudrate), 8 bits, 1 stop bit, none parity - 8N1 http://en.wikipedia.org/wiki/NMEA_0183 Further you may read some manual about RCV_PTP and SEND_PTP, it is for integrated CP in the CPU. They are more documented and basicaly the philosophy is the same - just to have a larger overview. Attachmentcp340.zip (92 Downloads) |
Last edited by: Marko Bursic at: 1/4/2015 12:44 PMLast edited by: Marko Bursic at: 1/4/2015 11:38 AM |
|
Follow us on