micro 1400

dmelect

Member
Join Date
Mar 2005
Posts
66
How can I tell if a message instruction that I have written is reading data? I dont see any errors but I dont know if it is reading the data comming into the micrologix.
 
Just before invoking the MSG command clear the target registers (if that is safe). When the MSG command indicates DN and no errors then examine the target area. if it is still clear then either there was no data or you aren't getting what you thought.
 
In my experience, the message .DN bit being set indicates a completely successful data transfer....

If the data in the destination appears wrong, you may have to look see if something else is writing to the same destination.
 
See picture below. Your data will be in N7:0 thru N7:9.

What are you connected to ( read from)? And how are you connected to it.

datahere.jpg
 
Aha !

A Garmin is going to be sending out strings of NMEA 0183 format data, and you're going to need to be able to parse it with the ASCII functions of the controller, not the MSG instructions.

Do you have an example of the data stream from this particular GPS ? Does it allow a query/response mode or streaming data only ?
 
That's good.

The first thing I would do is hook up the Garmin to my computer and run Hyperterminal or another terminal program (TeraTerm and RealTerm are my favorites).

This will let you see the actual NMEA Sentences coming from the device, so you have something to compare the incoming data in the MicroLogix to.

http://www.gpsinformation.org/dale/nmea.htm#position

Are you trying to get position, or navigation, or time, or something else ? Is this an automatically guided vehicle application, or a mining application, or a vessel ?
 

Similar Topics

Hi! Last few I've been trying to send message from MicroLogix 1400 to Micro 850. Unfortunately every time I failed :banghead:. Did someone tried...
Replies
6
Views
3,249
Hello, There was a mix up in information on some redeployed equipment and two of the micro 1400's that came in were hooked to 120v when they...
Replies
9
Views
1,989
I am trying to exchange data (N registers) to and from a Control Logix PLC. I am programming the messages in the Control Logix program, to...
Replies
7
Views
2,211
Does the 1100 only have 1 high speed counter, but it can have multiple inputs? And so then the 1400 has 6 HSC and you have a choice of multiple...
Replies
1
Views
1,732
Error: "Program in processor has changed causing offline state. Do you want to upload?" RSLogix500 V8.10 Micrologix 1400 Customer wants to add...
Replies
8
Views
2,317
Back
Top Bottom