
adccommunitymod (AutomationDirect) asked a question.
Created Date: June 17,2013
Created By: Biederboat
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hi all, Brand new to the forum as this is my first PLC project in many years. Used to dabble a bit as a project engr at another company and now I'm back in doing a project for a client. Relatively simple, I have the logic functioning (got that figured out thanks to some searching past posts) with discrete outputs and now just want to convert it to analog output. It's a D05 with 2 channel analog in/2 channel analog out (configured as 0-10 VDC). I will only be using one output initially (might use analog inputs in the future). The program just sends a series of voltages (all through the same channel) timed at 4 sequential 2 minute intervals (to a proportional regulator). 2 minutes at pressure 1, 2 minutes at pressure 2, etc. for 4 total (8 minutes). It's currently working fine except that I'm turning on digital outputs, not the analog. I had someone else wire it up and I just have to assume that it's done correctly for the moment (at this point, it's just a programming issue). So I 've never worked with analog before. In reading the manual, it looks like I need to load some data into "V " memory locations, is that what I'm seeing? Seems to be confirmed by doing some searching but I'm hoping someone can just point me in the right direction. Thanks, BB
Created Date: June 17,2013
Created by: csmith
analog
I hope someone replies to your question as I am at the same stumbling block:)
Created Date: June 17,2013
Created by: bcarlton
Exactly which output module are you using? Have you set up the initialization values?
Created Date: June 17,2013
Created by: Biederboat
Exactly which output module are you using? Have you set up the initialization values?
F0-2AD2DA-2 and nope! As I understand, I need to write to V7700 to configure it as using just one analog output? Then I use V7702 to write the data out? :confused:
Thanks for any help,
BB
Created Date: June 17,2013
Created by: plcnut
If your module is configured correctly, then at each point where you would normally turn on an output, then place this on that rung:
LD K1000 (K is a constant value, they can be from 0 to 4095 for 0 to 10 volts. I picked 1000 as an example)
OUT V2000 (V is a variable address where the number is stored for the analogue output. This will be the number from the setup for the module)
Now you can load different K values at each of the steps. Don't forget to load a K0 at the end to turn the analog off.
Created Date: June 17,2013
Created by: plcnut
See if you can find the I-Box for the analog setup(ANLGCMB I think). If you go that route then the setup should be straightforward. Just be sure to place it at the top of your ladder, and cycle power to your PLC before testing.
Created Date: June 18,2013
Created by: bcarlton
Biederboat said he has a DL05 - I don't think IBoxes are available.
Created Date: June 18,2013
Created by: franji1
05 supports IBoxes. 05, 06, 250-1, 260, and 450 all support IBoxes.
Created Date: June 18,2013
Created by: Biederboat
Hey thanks guys, I appreciate the newbie advice and lack of flaming. Hard for me to know what's been beat like a dead horse. Looks like I got my point in the right direction, thus far anyway.
BB
Created Date: June 18,2013
Created by: plcnut
Try something like the attached screenshot.
The first rung sets up your card, just make sure that you tell it the correct slot that the card is in (I believe the first slot is 1 in a DL05).
The second rung loads a zero into the analog out for channel 1 at the beginning of each scan, each of the other rungs will update that output value with the highest value taking priority.
C0 through C3 are each of the four steps in your output.
Hope this helps.
Created Date: June 18,2013
Created by: Biederboat
Try something like the attached screenshot.
The first rung sets up your card, just make sure that you tell it the correct slot that the card is in (I believe the first slot is 1 in a DL05).
The second rung loads a zero into the analog out for channel 1 at the beginning of each scan, each of the other rungs will update that output value with the highest value taking priority.
C0 through C3 are each of the four steps in your output.
Hope this helps.
Awesome, thanks!
It likely won't be until this afternoon Pacific Time when I can try this but much appreciated.
BB