Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet communication with Laurel meter

I am trying to communicate with a Laurel meter (Counter for an encoder) over Ethernet and I can't really get anything to work...

 

This is what I know:
I can communicate and control the device with their own windows program

There are no other devices connected to ethernet.

I'm pretty sure the address of the device is 192.168.0.1, and the PC is 192.168.0.2

I'm pretty sure the port is 502.

Their windows program lists: TCP Port as 502, UDP Port 2 as 0 in Advanced settings. But also lists the device as having 'Port 2' as 63179

The device has two modes. Continuous mode, and Command mode. It was defaulted to Continuous mode, but I changed it to Command mode. I couldn't get either to work through anything other than their own program.

 

I've tried using the TCP modules, but I can't do anything except open a connection (With 192.168.0.1 and port 502). I've tried to reset the device, which from my understanding should be accomplished by writing *1C0 . But I can't even get that to work.

I tried using MAX, it could not find the device. I was able to open a VISA session by going to 'Manual entry of Raw Socket' and using the IP 192.168.0.1 and port 502. But I still can't reset the device.

 

Their ethernet manual: https://www.laurels.com/downloadfiles/ethernet_manual.pdf

Their serial protocol manual: https://www.laurels.com/downloadfiles/serialcom2.pdf

 

Any help is greatly appreciated!

 

0 Kudos
Message 1 of 15
(5,188 Views)

The device also uses a simple serial protocol, Modbus RTU, Modbus ASCII or one of several vendor supplied adapters.

What do you have? 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 15
(5,162 Views)

I tried using a USB to RJ45 cable that I am using for communicating with a drive controller, but then I couldn't even communicate with the device with their windows program.

 

If it came down to buying a different converter cable, I imagine I'd be told to just use the display and have a person enter it manually... but where is the fun in that!?

0 Kudos
Message 3 of 15
(5,146 Views)

You will need the converters supplied by the manufacturer like the manual says.  Have you contacted them? It seems like this isn't a Instrument Control though NI-VISA problem but a problem with understanding what the device needs to communicate.

 

Likely a PEBKAC Or, a Layer 8 issue


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 15
(5,142 Views)

I am attempting to communicate with it over Ethernet. I've got an Ethernet cable. The device has an Ethernet port. I can communicate with the device through Ethernet with their windows program.


I can not communicate with it through LabVIEW. Through MAX, or through TCP, over Ethernet.

 

And yes, we've contact them. They don't support drivers in any language.

 

We have the same meters on a different stand that use RS485 instead of ethernet, and I can communicate with those ones just find.

0 Kudos
Message 5 of 15
(5,138 Views)

@k0nkuzh0n wrote:

I am attempting to communicate with it over Ethernet. I've got an Ethernet cable. The device has an Ethernet port. I can communicate with the device through Ethernet with their windows program.


I can not communicate with it through LabVIEW. Through MAX, or through TCP, over Ethernet.

 

And yes, we've contact them. They don't support drivers in any language.

 

We have the same meters on a different stand that use RS485 instead of ethernet, and I can communicate with those ones just find.


They apparently do not want to share information on how to communicate with their instrument over Ethernet. It is does not appear to be a traditional Ethernet instrument. http://www.lxistandard.org/About/VXI-11-and-LXI.aspx

0 Kudos
Message 6 of 15
(5,135 Views)

ya.... I've never done device communication over Ethernet. I guess I thought I could use the same commands as their serial protocol, except through TCP instead of serial... and that doesn't seem to be the case. Manual talks about using some node setup program and setting up emails... I'm not trying to set up an email server to communicate with 1 device haha... at this point I guess I'm going to throw in the towel and either order the serial module and cable... or prompt for manual entry. Smiley Sad

0 Kudos
Message 7 of 15
(5,129 Views)

Again, and I repeat myself infrequently,  What do you have?

 

I'm guessing one of these

But which?  That would be useful information needed to point you to the right area of the manual you need to read,  Of course, Laurel Electronics  should know this off the top of their heads but, since they are being so unhelpful with their Customer Support, I will RTFM for you.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 15
(5,128 Views)

@JÞB wrote:

Again, and I repeat myself infrequently,  What do you have?

 

I'm guessing one of these

But which?  That would be useful information needed to point you to the right area of the manual you need to read,  Of course, Laurel Electronics  should know this off the top of their heads but, since they are being so unhelpful with their Customer Support, I will RTFM for you.


Unless I am mistaken he has the one with just the Ethernet interface.  Digital Interface #7.

 

It is very clear that they are not offering any support for the Ethernet interface other than offering their software.

 

 

 

0 Kudos
Message 9 of 15
(5,125 Views)

Sorry, you didn't specify what 'one' meant in 'which one'. Seemed you were asking about which Adapter I had... which my answer was Ethernet. Which Meter?  Model L50007QD

0 Kudos
Message 10 of 15
(5,123 Views)