![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
Although I have programmed in a variety of higher level languages and have gone through several PLC ladder-logic tutorials, I have found nothing about interaction between the DL205 (using a D2-250-1 CPU) and the C-More EA7-S6C touch panel. The Touch Panel manual is hardware and self-programming oriented. The DirectSoft manual seems to leave external interface panels as "an exercise for the reader".
I understand that each object on the screen has a memory address and for simple on/off inputs and outputs that is clear enough. What I need is an example of the ladder-logic - just a screen capture would be great (because few people are still using DirectSoft5) showing how to read and write Numeric Inputs and Outputs from/to the Touch Panel. I have searched the AutomationDirect and HostEngineering forums with no joy. Any assistance would be appreciated. |
|
|
|
#2 |
|
Lifetime Supporting Member + Moderator
|
Wildcatherder - your posts here, on the AutomationDirect forum and on the Host Engineering forum seem to show a fundamental misunderstanding about the role of the display panel in relation to the PLC. After this please confine your posts to one forum, choose which and post that fact to the other forums.
In the normal Display-PLC setup the PLC is the place which holds all the information regarding values. Let's discuss display and input objects on the display (the C-More in this case). On the C-More a display object is programmed to look at an address WITHIN THE PLC. The display, at run time, asks the PLC for that value which is at that address and displays it. The PLC does not actively SEND the value to the display except in response to a request from the display. An input object (let's say a number) is programmed such that, once a number is entered by the operator, to send that number to a specific location within the PLC. (As a help the input object may have asked for and displayed the current value - similar to an display object - from the PLC). The PLC does not actively request from the display the value. The value is sent by the display into the PLC. As I said before - you must understand the relationship of which hardware item (the display) initiates any communication and which item (the PLC) responds to those requests.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. www.thePLCguy.com |
|
|
|
#3 |
|
Lifetime Supporting Member + Moderator
|
Let me expand on my previous reply.
Typically there does not have to be any extra ladder logic in the PLC for the display to perform its communication. The responding by the PLC to queries happens automatically by the PLC system. When you are creating tags in the display program and enter an address, that address is the location of the information within the PLC. I can't tell if possibly you thought that the display had a set of memory locations with coincidentally similar nomenclature.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. www.thePLCguy.com |
|
|
|
#4 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
In fact, there are memory locations in the touch screen but they are MAPPED to locations in the PLC, in a transparent fashion. My fundamental misunderstanding is that I asked for a simple example and not an explanation of my ignorance and thought this was a place I could get it.
|
|
|
|
#5 | |
|
Lifetime Supporting Member + Moderator
|
I'm sorry that I must have misunderstood your intent in your sentence...
Quote:
__________________
Controlling outputs is the PLC's way of getting its inputs to change. www.thePLCguy.com |
|
|
|
|
#6 | |
|
Member
![]() Join Date: Sep 2007
Location: Nebraska
Posts: 227
|
Quote:
Now, it is possible you understood all this to begin with. If so, you didn't make that understanding very clear when you are asking for ladder logic screenshots and mentioning DirectSoft, a PLC programming package only. Also, you only ever mentioned reading the manual for the touchscreen (which only gives information on the hardware portion of the screen, not the programming) and the help in directsoft (which is the programming software for the PLC.) So forgive Bernie if he thinks you have some gaps in your understanding of how this stuff works; I thought the same thing. Brian |
|
|
|
|
#7 |
|
Member
|
The help file in the CMore software is very detailed. Also there are several sample projects in the Cmore projects directory.
As others have mentioned, the Cmore initiates all "conversations" with the PLC and will read/write directly from the PLC memory. You will make tags to address the User Defined memory areas that you want data transferred from/to in the Cmore software. There is no ladder logic involved. |
|
|
|
#8 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
Simple example of basic operation
I have a numeric input, a numeric display, and a pushbutton.
What would the ladder logic look like to add the number 2 to the value entered on the numeric input and have it appear on the numeric display? I know this is very, very simple, if you have already done it once. Please show me how it is done, once. Thank you. |
|
|
|
#9 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
Sorry, too simple. Addition should occur when button is pushed.
|
|
|
|
#10 |
|
Lifetime Supporting Member + Moderator
|
Check out the Increment/Decrement Value control. No ladder logic needed.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. www.thePLCguy.com |
|
|
|
#11 |
|
Lifetime Supporting Member + Moderator
![]() Join Date: Aug 2002
Location: Jacksonville, NC, USA
Posts: 141
|
Here's a bit of code that will do what you're looking for. Just substitute the appropriate addresses, depending on your particular system.
|
|
|
|
#12 | ||
|
Member
![]() Join Date: Sep 2007
Location: Nebraska
Posts: 227
|
Quote:
Quote:
Your pushbutton is set to turn on (and leave on) bit C0 in the PLC. This would not be a momentary pushbutton. Your numeric input is set for 16 bit BCD Integer, no decimal places and pointed at V1400. Your numeric display is set for 16 bit BCD Integer, no decimal places and pointed at V1401. The number 2 that you want added is a constant, never changing number. If you have any questions on this, let us know. Brian |
||
|
|
|
#13 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
Thank you all for answering my simple question. Seeing one (or, in this case a few) examples is really all I needed to get started. As an expert, one takes for granted that elements of layout, vocabulary, etc. are just not that obvious.
I know because, believe it or not, I am expert in certain areas and have made similar assumptions. Thanks again. |
|
|
|
#14 | |
|
Member
![]() Join Date: Sep 2007
Location: Nebraska
Posts: 227
|
Quote:
Brian |
|
|
|
|
#15 |
|
Member
![]() Join Date: May 2009
Location: Morro Bay
Posts: 132
|
Why one needs simple examples - #1
The OUT command gives the error "Invalid Element" when I try to load the original address of my Numeric Display: V10016. I changed the C-More project to use V1400 and V1401 for my numerics, as in the example from Brian123 but got the same "Invalid Element" error when trying to enter the OUT instruction. (I'm also unsure that one can actually address two 16-bit displays one bit apart doesn't work when the second is V1416 either.) Any suggestions? This is on DirectSoft5 with the C-More EA7 panel. |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GE 90-30 & AutoDirect DL205 similarities | DickDV | LIVE PLC Questions And Answers | 3 | June 5th, 2002 07:47 PM |