Parsing NMEA 0183 Sentences from a GPS using MicroLogix 1400

Ken Roach

Lifetime Supporting Member + Moderator
Join Date
Apr 2002
Location
Seattle, WA
Posts
17,445
This thread is a continuation under a new title of an application thread regarding the interface between a Garmin GPS and a MicroLogix 1400 controller: Previous Thread "MicroLogix 1400".

We have a working routine that will take the incoming GPS data (called an NMEA 0183 protocol Sentence) and break apart the comma-separated numbers into individual Strings in the MicroLogix 1400 controller.

What we need to add next is a routine to actually Read the incoming data using ASCII port instructions, then a routine to convert text to values.
 
This thread is a continuation under a new title of an application thread regarding the interface between a Garmin GPS and a MicroLogix 1400 controller: Previous Thread "MicroLogix 1400".

We have a working routine that will take the incoming GPS data (called an NMEA 0183 protocol Sentence) and break apart the comma-separated numbers into individual Strings in the MicroLogix 1400 controller.

What we need to add next is a routine to actually Read the incoming data using ASCII port instructions, then a routine to convert text to values.

How about using a Digi IAP as an interface. It can convert the ascii to a df1 messages and send it to your controller. From there, you could probably break it apart in ST pretty easily.
 
It's not difficult to use those two instructions, it's just that I don't have an SLC or MicroLogix handy along with the time to write and test.

All the tools are there, it's just a matter of turning the wrenches.
 

Similar Topics

Hi folks, I'm trying to parse a binary string on a Red Lion DA30D using a Raw UDP/IP input port. I've done this before with ASCII strings so I do...
Replies
38
Views
877
Hello, I have a codesys controller which I am looking to communicate with an external. User interface via mqtt. I subscribe to a topic and...
Replies
6
Views
1,410
All right you bit jockeys. This one has me stumped. I have data coming in as two bytes. 4 bits are my channel status and I extracted those no...
Replies
10
Views
2,205
Hello all, I have string data sent from a balance to a plc. The data cycles through every second or so which is good because it is constantly...
Replies
25
Views
6,431
Has anyone had any luck parsing XML data. I am trying to get data from MTConnect adapter and am having no luck.
Replies
2
Views
2,050
Back
Top Bottom