
adccommunitymod (AutomationDirect) asked a question.
Created Date: August 21,2007
Created By: shazzam
**** 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.****
I'm still rather new to PLC programming, and I have read all the examples from this website: http://www.plcs.net/contents.shtml But I am still a little confused about how to program this unit. I think the main problem is that I don't know about the registers for both the input and output. Is there a simple way to write a program where, when a press a momentary on switch X0, Y0 will close? Sorry for these stupid questions, but the instructions included didn't have any examples what so ever... Any help would be appreciated.
Created Date: August 21,2007
Created by: Bob S BN
This is all you need to make this happen. X0 is a normally open contact. When closed it will pass power flow across the rung to the output coil assigned to Y0. All programms nedd an "end " instruction as the last rung.
I believe there are some example programs in the directsoft manual as well that may help you begin to understand ladder logic. Manual can be downloaded from AD at no charge.
| X0 Y0 |
|---| |-----------------( )---|
| |
| |
|-----------------------(end)-|
|
Created Date: August 21,2007
Created by: Bob S BN
Let me try the picture again. I'm trying to make it look close to what the software will look like. The addresses will actually show up above the contact symbols.
|--|X0|--------------(Y0)--|
|--------------------(end)-
Created Date: August 21,2007
Created by: milldrone
shazzam,
I'm going to make some presumptions,
There is an example of a flip flop in DS5.after clicking on DSlaunch right click projects, click browse. Open the examples folder,open the ladder examples folder,click on the easy flip flop file. If I'm reading the rest of your post correctly this should help. If you need any more help or if I misunderstood your post, post back and I'm sure someone will help.
PS. have you seen the automation direct examples web page? http://support.automationdirect.com/examples.html
Vaughn
Created Date: August 21,2007
Created by: krak
you may want to check out the "learn " segment of the ad webpages.
Created Date: August 22,2007
Created by: shazzam
I thank you for all your help, but I almost have it.
I have the program setup like this:
|--|X0|--------------(Y0)--|
|--------------------(end)-
(thank you Bob S BN)
So when the program is up and running X0 lights up along with Y0. I'll take it as a good thing.
But it doesn't seem like it is closing the circuit (coil)..
I checked the manual Volume 1 and the PLC that I ordered and received is DD1, which is a sinking unit. I triple checked the wiring on page 2-16 but I still not getting an output.
I was just thinking about it and I have X0 wired as sinking, if I have a DD1 wired as a sourcing, could it be that I have a DD2?
So what I did is connected it as if it was sourcing unit and now they all turn on, whether I press X0 or not.
Again, any help would be appreciated.
Created Date: August 22,2007
Created by: milldrone
shazzam ,
I triple checked the wiring on page 2-16 but I still not getting an output..
How about the wiring on page 2-32?
Is anything connected to the +V terminal ( the right hand most screw terminal)?
Created Date: August 22,2007
Created by: shazzam
Thanks milldrone! Thank you all for your help! It works!
Is V+ powering the internal SSR's?
Created Date: August 22,2007
Created by: milldrone
shazzam,
The +V is a "bias voltage ". The transistors won't switch without it.
Created Date: August 21,2007
Created by: shazzam
I'm still rather new to PLC programming, and I have read all the examples from this website:
http://www.plcs.net/contents.shtml
But I am still a little confused about how to program this unit. I think the main problem is that I don't know about the registers for both the input and output.
Is there a simple way to write a program where, when a press a momentary on switch X0, Y0 will close?
Sorry for these stupid questions, but the instructions included didn't have any examples what so ever...
Any help would be appreciated.