Digital/Analog Conversion

kittydog42

Member
Join Date
Sep 2005
Location
Naperville
Posts
232
Hello,

I have a project where I am going to create a 2-10V analog signal with a DL05 PLC using 4 relay outputs with resistors. This is going to be used to control an 8 stage step controller that accepts a 2-10V signal. 2-3V commands 1 stage, 3-4V commands 2 stages, etc. I am using bits of a modbus word to control each of the relay outputs, so output 1 only would be a word of 1, output 2 would be a word of 2, output 3 would be a word of 4, and output 4 would be a word of 8. Combinations of the relay outputs are also used. The 0VDC side has a 1000ohm resistor wired in series with the relay output commons. The control signal comes off of both sides of this resistor. The other side of the relay outputs have a 2320ohm, 4220ohm, 6490ohm, and a 8250ohm resistor each wired to a different output with the other side of each resistor tied to +24VDC. This way, with no relay outputs active, the control signal is 0VDC. This seems to work fine for me to activate the stage outputs. My question is, has anyone else ever done anything like this? It seems to be a decent way to get low resolution control but figuring out the proper resistance values is the hard part. Does anyone have any D/A schematics that they have used to do this? The resolution can only get better with more outputs and perfectly chosen resistor values.
 
kittydog42 said:
My question is, has anyone else ever done anything like this?

Yep, poor mans D/A converter and you're right, more outputs gives you more resolution.

You'll have to be carefull of the input impedence of the circuit you'll be driving. Too low and it will effect the resistor voltage divider network that you've created and it will change the voltage values.
 

Similar Topics

Hello, I have a small programming task that I need help solving. I have to: * Create an analog input (4-20v)and a digital output * The analog...
Replies
45
Views
25,094
I am attempting to interface a Mistras acoustic sensor to a AB Micro820. The problem I have is the sensor logic is 3.3VDC and Micro820 is 24VDC...
Replies
10
Views
2,409
Hey I was wondering if you guys could explain to me how the signal flows on a analog & digital signal. for example: Explain the wiring of a...
Replies
2
Views
2,182
Hi, I have 7 years of experience as a maintenance / PLC programmer in a fairly old steel mill. I was the one who converted PLC2 to CtrlLGx...
Replies
4
Views
2,406
Hello, I was wondering if you guys could help explain to me how the wiring and signal on Digital and Analog inputs/outputs run from the PLC to the...
Replies
2
Views
2,677
Back
Top Bottom