Remote Operations Forum
Support forum for Schneider Electric SCADA systems, radios and RTUs. From commissioning integration devices and software, to enhancing existing installations or troubleshooting.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-23 04:06 AM
Hi all,
In my telepace program, i want to include the GPS as an input. However i'm not sure how to get the ASCII value(string) and then process them. Any ideas on how to do it.
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-23 05:19 AM
Hello Tharun,
Unfortunately this can't be done in Telepace Studio as there are no standard ASCII drivers. Stating that, this can be done in a custom C/C++ program when the serial port settings are set to NONE in the Telepace Studio project. Perhaps someone else here has an example for this sort of thing, but I do not.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-02-23 05:19 AM
Hello Tharun,
Unfortunately this can't be done in Telepace Studio as there are no standard ASCII drivers. Stating that, this can be done in a custom C/C++ program when the serial port settings are set to NONE in the Telepace Studio project. Perhaps someone else here has an example for this sort of thing, but I do not.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-03-20 04:17 PM
Hi tharun,
I'm afraid this can hardly be done via TelePACE ladder logic.
However it's rather easy to do in a C/C++ application: you'll need to set up the serial port accordingly, read the serial port buffer to an array, and take it from there.
I've had good results with implementing custom serial comms protocols on the SCADAPack, so the GPS is doable - there are plenty of code examples when it comes to parsing the NMEA data. And the fact that you probably won't have to query the device, rather just listen on the port, makes the job 50% easier.
If you have any questions, feel free to ask them here.
Later.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.