Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: ATU on November 02, 2012, 07:30:12 AM

Title: GX & GY coils
Post by: ATU on November 02, 2012, 07:30:12 AM
I've got some equipment with HMI's that use the GX and GY bits. Any plans to add DLGX and DLGY  support for DirectNet?   I don't want to have to make all of those screen changes if I upgrade them to the DoMore.
Title: Re: GX & GY coils
Post by: franji1 on November 02, 2012, 07:40:38 AM
No.  We really don't want to try to become a "drop in replacement" for a DL.  What about Timer bits?  Counter bits?  Stage bits?

We stopped at the 80% solution: X, Y, C, V (DLX, DLY, DLC, DLV).

Do you really want THAT MANY octal-numbered blocks in your Do-more???   ;D
Title: Re: GX & GY coils
Post by: ATU on November 02, 2012, 08:21:00 AM
 :(
Title: Re: GX & GY coils
Post by: franji1 on November 02, 2012, 08:39:44 AM
Wait - do you mean the EXAMPLE project that contains the DirectNET serial slave?  Or do you mean the built-in DL protocol K-Sequence slave or the built-in ECOM protocol slave?

If it's the EXAMPLE project (DirectNET serial) - you can modify the logic, create your own data-blocks of bits that map the protocol's GX/GY to these new data-blocks.  I don't know the spec off the top of my head (it's available online), so you could make it work.
Title: Re: GX & GY coils
Post by: ATU on November 02, 2012, 08:51:51 AM
I was referring to the built in data blocks, that just work when you use the DirectNet Serial and Ecom Protocols. As a practice I used the GX and GY on all of my push button and indicator lights in the HMI's that supported it. That way they are designated as remote I/O in my PLC program and I automatically recognize them as coming from the display.  That's a lot of tags.
Title: Re: GX & GY coils
Post by: BobO on November 02, 2012, 02:54:30 PM
I don't see us blowing off 2 more data blocks for legacy, sorry.

However, I am 90% sure I could do a sample app that implements the DL ECOM behavior for GX and GY...
Title: Re: GX & GY coils
Post by: ATU on November 02, 2012, 08:23:59 PM
That's Ok, don't spend the time on it. I probably would just redo the tags and make it straight forward and easy to debug.
You know, I had to ask. You have to do what's best for the product in the long term. I can see GX and GY coils being phased out and for good reason.

BTW, is it possible to change the state of the DLX coils through Directnet?  I could not get them to turn on. Is it read only from the slave device?

Title: Re: GX & GY coils
Post by: BobO on November 02, 2012, 08:49:21 PM
Directnet supports byte level access only, so it has to be done via read modify write. there may be bugs though. I'll be doing a bunch of work on it when I get home.
Title: Re: GX & GY coils
Post by: ATU on November 02, 2012, 09:15:24 PM
The HMI Reads the word, changes the bit and writes the entire Word back. It works fine for C and Y bits, but X doesn't change.
Title: Re: GX & GY coils
Post by: BobO on November 03, 2012, 01:39:34 PM
Sounds like a bug. According to a recent bug report from ADC, there are several. We'll get them worked out pretty quickly. The truth is that the DL emulation wasn't a testing priority...Modbus was.