09-10-2009 05:04 PM
Using a Zetron 1730 Controller and a Model 1708 RTU and need to read a counter that is connected to a water flow meter sensor.
I know the sensor is working, and I am running it to a digial input on the 1708 in status mode to use the counter for that input.
Using the zetron diagnostic program connected to the 1730 controller, I can poll the remote rtu and see the counter incrementing, so I know Im getting the count into the office
I can not find where or how to get lookout to do this. I am sure its there, I have looked in help, developers manual and I must be blind.
I realize it will have to be scaled and formatted but right now Id just be happy with getting the count into lookout.
Thanks for any help
09-13-2009 09:43 PM
First you need to select a lookout driver object to do the communcation. For example, we can use the Modbus object to communicate with the Zetron PLC through Modbus protocol.
Here is another thread about a similar problem.
I also suggest you to contact Zetron tech support. Ask them for how to configure or setup the PLC for modbus communication, and the detailed Modbus master's parameters.
After you setup the modbus communication, you need to know which modbus address is the one for the counter.
09-23-2009 02:19 PM
Ok, Maybe I did not clearly explain things.
This is a functioning system, lookout, Zetron 1730 Controller and model 1708 rtus.
And we are using Modbus
I want to GET the count from the digital counter on digital inout #8 of one of the 1708's.
In the Zetron book it says the address for that counter is 42081 for the value and 42084 for the period.
But, in the Model 1730 book it says that the address is 43029 and 43031.
Zetron says I want to read 43029 and 43031
So, I was thinknig I would use the Integral Object for this, but now am not sure.
Is this any better for you?
09-24-2009 01:56 AM
To get the counter data, just create the Modbus object in lookout, and read the address 43029 and 43031. Take a look at this KB, especially part 2.
I don't think you need the Integral object. If the flow meter output is, for example, how many gallons per minute of the water flow, you need use the Integral object to calculate the total number of the water flow during a period.
But your current input to lookout is the counter, which counts the digital pulse. It is already the total number of the digital pulse during the period. After you get the counter data into lookout, maybe you need further scaling to get the tatol water flow, and maybe use the period to calculate the flow rate.
05-15-2012 06:37 AM
I created a Modbus object for the counter. Zetron says that queries to read a counter must request all associated registers or an illegal data address will be returned. The counter I'm trying to read is: count address range 43061-43062 and the period address range is 43063-43064. I just want to 'read' the counter, I don't need the period. So, do I have to combine 43061, 43062, 43063 and 43064? If so, what is the easiest way? Please give example.
thanks for you help
05-15-2012 10:29 AM