News:

  • June 10, 2026, 06:51:31 AM

Login with username, password and session length

Author Topic: D0-06&C-more  (Read 34694 times)

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
D0-06&C-more
« on: September 20, 2012, 09:53:10 PM »
Well it's good to be back, I have been very busy the last 3 years and a lot has happened some good and some not so good.
Well for my problem, I recentley bought a D0-06 and a C-more EA1-S6ML. I have been working with it for a few weeks now, I can't get them to talk to each other i.e. change presets and have them show up in the ladder. And why when I put presets in on a timer on the screen, they disapear after power up, not retinative on the screen? What am I doing wrong or not doing to make it work?
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #1 on: September 20, 2012, 11:46:22 PM »
1. The presets for a time can be either constants (Kxxx) or a 'V' location

2. The preset MUST be in BCD.

3. The retentive state a 'V' register range is set under the 'PLC' menu

Come back with more details, especially 'zip' of the PLC program folder files and a zip of the display file.
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #2 on: September 21, 2012, 06:18:21 PM »
Hey Bob,
Senario, T2 Timer, "K" is is V41002 location, and that might be whats wrong ( among other things). On the Cmore, I have the timer so that I can set the preset value from it and tag name T2. Open Dsoft, place PLC in run mode, set the value on the Cmore,enter, but I don't see any changes in the ladder with the status on. I did this with a DV1000 a few yeard back and you could see the value change as you changed it from the screen. Not sure but I was looking in the set up menu in both the Cmore  and Dsoft and I don't think I have the statring values done correctley.
     
Where would I send the zip to? You want both, Cmore and the ladder from Dsoft?
« Last Edit: September 21, 2012, 06:31:17 PM by Vernon Leeper »
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #3 on: September 21, 2012, 06:50:56 PM »
V41002 is a word composed of the Stage bits for stages S40 - S57. Why did you choose such a register? Try something like V2000 - unless that's used, but something a little above that if necessary.
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #4 on: September 21, 2012, 07:19:24 PM »
Really don't know, I had a V location but couln't remember what it was so I went back to the bit map whenit didn't work either. Going through the help files now to see what i can do also to help me understand what's going on.
« Last Edit: September 21, 2012, 07:21:24 PM by Vernon Leeper »
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #5 on: September 21, 2012, 07:58:30 PM »
Ok so I went back to the timer(ladder), and in the preset value "K" I put V2, didn't work, put V2000, didn't work, It's not showing up when I enter the "K" or preset value from the panel. I need 2 cables so I can make changes to the screen and PLC with out having to plug and unplug from the plc and panel....
I have the tag name T2 for the timer being used, I even changed it a few times to V2000,TA2, T2 but nothing seems to work.
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #6 on: September 21, 2012, 08:13:51 PM »
If you use the 'K' prefix for the preset then you must enter just a number after that. For a TMR this will be the number of tenths of a second you want the timer ti time. It can't be changed except by changing the value using DirectSoft and re-downloading the program.

If you want the preset to be variable the erase the 'K' and just type 'V'xxxx (for example V2000) as the register which will hold the preset number.

In the CMore set the tag of the numeric entry to the same 'V' register you chose (I choose V2000 as a starting point as it is past those used as the 'accumulated value' for timers and counters). Make sure that the type is set as 16 bit BCD. It would help to visualize on the CMore if you set 1 decimal position for display.
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #7 on: September 21, 2012, 08:23:01 PM »
Let me send bothe if I can to you, take a look and tell me whatI'm doing wrong. The laddder is just a pelimanary for now and I really need to look closer at it for some changes befor I simulate it on install it all on the machine for use. How do I send it to you?
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #8 on: September 21, 2012, 09:19:55 PM »
While I can look at the DL06 program my CMore software is kind of wonky at the moment. The important thing to remember, using 'K' before a number says this number is a constant (the 'K' if from the German, long mathematical story). If you type a 'V' number then it says that 'this register holds the preset'. Your CMore program should be able to change that 'V' register easily.

I think I sent you a PM. If not let me know. I'll help you through it but it seems like you have just this one misunderstanding to work through.

If you want to send the program then zip together all the files which have the same basename as your program then post the sip file here.

The 'simulation' for the CMore DOES NOT interact in any way with the PLC program. It is just to show the relationship of screens.
« Last Edit: September 21, 2012, 09:22:22 PM by b_carlton »
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #9 on: September 22, 2012, 02:18:46 PM »
how do I insert or upload the zip? I don't see an option for it?
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #10 on: September 22, 2012, 02:44:30 PM »
When starting to post look for "Additional Options" in the lower left. Click it. You'll see the 'browse' button. Find the file on your computer and go from there.
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #11 on: September 22, 2012, 02:51:46 PM »
Oh
did not see that, see it now. I'll try a test load.
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3607
  • Darth Ladder
Re: D0-06&C-more
« Reply #12 on: September 22, 2012, 03:19:19 PM »
Looking at the PLC program, your T2 is done correctly, using V2002 as the register it looks to for the preset.  As long as your C-More program writes a valid BCD value to V2002 this will work as you intend.

T3 won't work because you used V3 as the preset.  Low numbered V's show up as TAxx when you enter them, which stands for Timer Accumulator.  So you've used T3's current time accumulator value as it's own preset!  Not sure what it will do in that case, probably always be completed no matter what.  There's no reason you can't use the TA values as general purpose V-memory, but only so long as you aren't using the corresponding TMRx, which in this case you are (and why bother when there are plenty of V's for which this isn't the case?)
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: D0-06&C-more
« Reply #13 on: September 22, 2012, 03:23:26 PM »
There are multiple problems both with the the DL06 program and with his display program (he sent them to my email - my invitation.) One 'minor' problem is that he has 'X's' and 'Y's' reversed. I'm trying to get in contact by telephone. I think it will be a long session.
An output is a PLC's way of getting its inputs to change.

Vernon Leeper

  • Full Member
  • ***
  • Posts: 49
Re: D0-06&C-more
« Reply #14 on: September 22, 2012, 04:13:17 PM »
Holy smokes, I did not realize I had swapped the inputs for the outs, what was I thinking, I've written a few ladders before and they worked but then again, I wasn't paying attention this time. Here is the panel, and yeah if you fix it and send it back I won't learn anything I would rather just redo it again with some coaching, I learn better by doing.
I sounded simple, started out simple, I just made it harder for myself. just could not figure out why the preset would not change. i did this with a dv1000 a few years ago for a vacuum forming machine and it worked out, that was a bit of a challenge, won't use one of them again, that's for sure. I do appreciate the help and maybe one day I too might be ale to pass along the knowledge to someone in need. I'm still getting a kick out of the fact that I reverse the x's y's...
Give a man a fish and he eats for a day, teach him to fish and he eats for the rest of his life.