News:

  • May 02, 2026, 05:07:26 AM

Login with username, password and session length

Author Topic: GX & GY coils  (Read 74573 times)

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
GX & GY coils
« 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.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: GX & GY coils
« Reply #1 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

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: GX & GY coils
« Reply #2 on: November 02, 2012, 08:21:00 AM »
 :(

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: GX & GY coils
« Reply #3 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.

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: GX & GY coils
« Reply #4 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: GX & GY coils
« Reply #5 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...
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: GX & GY coils
« Reply #6 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?


BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: GX & GY coils
« Reply #7 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

ATU

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 2126
  • YKPAIHA
    • ATU, Inc.
Re: GX & GY coils
« Reply #8 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: GX & GY coils
« Reply #9 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.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO