Author Topic: RE: Make Global Object  (Read 3760 times)

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
RE: Make Global Object
« on: February 19, 2024, 11:32:21 PM »
On the original post "Make Global object" by Tazmahal, I got up to step 10 of Archies instructions but "GroupObject"
was not in my toolbox. I tried putting the downloaded file under "Controls" and then it did pop up in my toolbox but it wouldnt let me drag it down to my form. Any ideas?

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: RE: Make Global Object
« Reply #1 on: February 21, 2024, 12:01:42 PM »
If you Build the Solution, do you get any errors?

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #2 on: February 22, 2024, 08:12:21 PM »
No and i managed to get it to pop up finally. However i still cant get it to work. i have a data type called PE. Lets just say the name was "PE1". i have several submembers such as:
.I            bool
.Blk         bool
.Clr          bool
.BlkCTU    CTU
.Name      String
etc.

under the Grouped object file, i put a basic indicator. Under PLCAddressSelectColor2 I put ".Blk"
then when i drug a grouped object to my form, under "PLCAddressUDT" i put "PE1". I made sure
the ethernet address was right and it still wont work. If i had color #2 set to green, the basic indicator
just stays green

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: RE: Make Global Object
« Reply #3 on: February 22, 2024, 08:36:06 PM »
The IPAddress you checked, was that in the editing of the GroupedObject? Do you get an error in the BasicLabel on the grouped object?

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #4 on: March 01, 2024, 09:46:59 PM »
i deleted the basic label and added the basic indicator. Here are some screenshots I took. I might have missed a step somewhere. 192.168.70.10 is the ip i need.

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #5 on: March 01, 2024, 09:51:58 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #6 on: March 01, 2024, 09:55:21 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #7 on: March 01, 2024, 09:56:44 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #8 on: March 01, 2024, 09:57:13 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #9 on: March 01, 2024, 09:57:44 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #10 on: March 01, 2024, 09:58:15 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #11 on: March 01, 2024, 09:58:38 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #12 on: March 01, 2024, 09:59:00 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #13 on: March 01, 2024, 09:59:27 PM »
continued

zach_a_ary

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: RE: Make Global Object
« Reply #14 on: March 01, 2024, 10:16:25 PM »
wow, after i went through the trouble of posting all those screenshots, i found one of my problems. I use inputs from several different PLCs. I routed all the traffic through one PLC so 90% of my forms all have the same ip address in ethernet driver. This particular input i decided to test is not the main PLC i pull information from. I changed it in the "groupedobject" config, but forgot to add a new ethernet driver for "192.168.70.10" on this form. However, after fixing that it is still not working.