Hi all!
I'm trying to set up an OCS 300 to poll a Square D/ Merlin Gerlin power meter for data so I can store chuncks at a time and in the event of failures or outages record it to the controller, while at the same time giving me the ability to view the data in realtime.
I have experience with ladder logic with this and other brands, but this is the first time I've tried to do any networking.
I believe I have the RS-485 connections correct (I've been in contact with tech support) but all the modbus, registers(are they internal or external?), and whatnot is going over my head.
So far I know I need to open the port, but after that...I'm stuck. Could someone make up a small program to give me an idea which direction I ned to go?
The powermeter book lists one of the register I want to read as 4030, and then also lists several "Supported MODBUS Commands"
0x03 read holding registers
0x04 read input registers
Thank you for any help you can provide
I'm trying to set up an OCS 300 to poll a Square D/ Merlin Gerlin power meter for data so I can store chuncks at a time and in the event of failures or outages record it to the controller, while at the same time giving me the ability to view the data in realtime.
I have experience with ladder logic with this and other brands, but this is the first time I've tried to do any networking.
I believe I have the RS-485 connections correct (I've been in contact with tech support) but all the modbus, registers(are they internal or external?), and whatnot is going over my head.
So far I know I need to open the port, but after that...I'm stuck. Could someone make up a small program to give me an idea which direction I ned to go?
The powermeter book lists one of the register I want to read as 4030, and then also lists several "Supported MODBUS Commands"
0x03 read holding registers
0x04 read input registers
Thank you for any help you can provide