Seeking example code for voltage compare

bcoon

Member
Join Date
Nov 2006
Location
Cortland NY
Posts
1
Hi,

I have a GE Series One with analog input module. I also have two temperature transmitters, Type-J to 0-10VDC or 4-20 mA. I have a need to compare these two analog signals and drive an output based on the difference. I am familiar with code based on descrete inputs and outputs but have never used the analog features.

So it should be fairly simple to perform a formula like V1 - V2 = dV and then compare dV < 50 deg F, if dV < 50 deg F then set coil xxx. if dV > 50 def F then reset coil xxx.

Trouble is; I have no idea how to program this. Can someone reference example code to get me started in the right direction?

Thanks in advance for your help.
Brian
[email protected]
 
The Series One manual is available for download here:

http://forums.mrplc.com/index.php?dlcategory=15

It contains example code for getting the data from the analog input module into registers as well as examples of the math instructions and the compare instruction.

Also, the Series One is the same product as the DL305 from Automation Direct. I'm sure there are examples in the DL305 manual which is available for download from the Automation Direct website.

http://web6.automationdirect.com/static/manuals/index.html#dl305
 

Similar Topics

Hi all. I am trying to find safety application examples for an inspection door with electromechanical interlock. I can find many door switches...
Replies
39
Views
13,685
Greetings All, I recently decided to start freelancing in Controls and Automation part time, most of my experience has been with Rockwell...
Replies
2
Views
142
I'd like to display 2 weights at an operator station on the plant floor. These two weights are in our L71 PLC as a DINT but I can easily convert...
Replies
4
Views
1,761
I have a PLC5/80E that I want to poll a Modbus device into using a Digi1. I have setup the message as a multihop going to the IP adress of the...
Replies
2
Views
1,429
As mentioned in the title, I want to learn about PLC systems. Long story short: I had to strip out a plant room. Everything was going to the...
Replies
9
Views
2,601
Back
Top Bottom