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!