Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2012
    Posts
    18

    GCL+ I little help wrapping my head around program arrays.

    For the life of me I can not grasp this. Anybody good at breaking it down in the simplest terms?
    I'm writing a program and have hit a road block!

    A little background on me.
    Only got into controls a year ago. Most of my background in Web design.
    I work with Delta exclusively at my work. From planning, installation and programming and commissioning. I have been through GeorgeU all as a Master.(As if that really means anything...lol)

    Thanks in advance.

  2. #2
    Join Date
    Oct 2010
    Location
    Baton Rouge, LA
    Posts
    1,114
    I think you are gonna need to get a bit more specific. Are you asking how the coding works? It uses if then, Boolean, and logic statements.

    IF 'AHU Occupancy' THEN
    START 'AHU #1',
    ELSE
    STOP 'AHU #1'
    END IF

    You could write the sentence as,

    If AHU Occupancy is on then start AHU #1 else(if not) stop AHU #1.

    This code would start and stop the ahu based on the occupancy timer.
    If you're too "open" minded, your brains will fall out.
    Artificial intelligence is no match for natural stupidity.

  3. #3
    Join Date
    Mar 2008
    Location
    Kitchener, Ontario
    Posts
    508
    you could code it tons of different ways.

    ie:

    Variable a
    If AHU1 Occ Sched Then Start a
    Else stop a
    End If

    AHU1 = a

    There is no right and wrong way, just use what is easiest for you .... as time goes you will probably adopt new ways to write code.
    also don't be afraid to use the help file as it is very useful when starting out...

    enjoy !

  4. #4
    Join Date
    Jul 2012
    Posts
    18
    I am writing a Que backwash program for four filters. I write hvac and lighting programs all day long to the point they bore me. We are now automating some of our large filtration systems and they require some very different scenarios.

    I have four tanks. They go into backwash based on effluent. If it drops below 700 gpm it triggers that filter for backwash.

    Sent from my SAMSUNG-SGH-T989 using Tapatalk 2

  5. #5
    Join Date
    Mar 2008
    Location
    Kitchener, Ontario
    Posts
    508
    Hi jmelvin,

    I am confused as to what you are asking... If you are writing programs all day to the point where they bore you then why are you asking to get your head around GCL+.

    just follow the sequence that was in the spec.

  6. #6
    Join Date
    Jul 2012
    Posts
    18
    I guess I wasn't detailed enough..lol. I don't need help in understanding GCL+ as a whole just arrays.
    I think I have figured it out some.

    Example:
    Constant Coder (1,2,3,4) (1,2,3,4)

    Sometimes working it out on paper gives me that A-ha moment and the light turns on!
    Anybody thought of creating a place to share programs?

  7. #7
    Join Date
    Oct 2009
    Location
    Nova Scotia, Canada
    Posts
    174
    Di you get this figured out?
    Follow me @blankscole

  8. #8
    Join Date
    Jul 2012
    Posts
    18
    I believe I understand it better now. It doesn't fit into my current project, but I am sure I will find a use for it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comfortech Show Promo Image

Related Forums

Plumbing Talks | Contractor Magazine
Forums | Electrical Construction & Maintenance (EC&M) Magazine
Comfortech365 Virtual Event