Announcement

Collapse
No announcement yet.

Compiler Error: Trying to AND above a JOIN

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • dgiel
    started a topic Compiler Error: Trying to AND above a JOIN

    Compiler Error: Trying to AND above a JOIN

    Does anyone know why this ladder logic would give the Compiler Error: Trying to AND above a JOIN error or how to fix this line of code?

    Click image for larger version

Name:	code error.PNG
Views:	24
Size:	17.2 KB
ID:	120278

  • ControlsGuy
    replied
    I like MEMCOPY for the true case.

    Leave a comment:


  • franji1
    replied
    Originally posted by pbw View Post
    Click image for larger version

Name:	Do_more.PNG
Views:	18
Size:	10.5 KB
ID:	120286
    You could use a If..Then..Else arrangement to get it all on one rung.
    Harder to read though.
    Interesting! Cool!

    For the 2nd COPY (C9 OFF condition), RSTR Y9-Y11 would be better

    Leave a comment:


  • pbw
    replied
    Click image for larger version

Name:	Do_more.PNG
Views:	18
Size:	10.5 KB
ID:	120286
    You could use a If..Then..Else arrangement to get it all on one rung.
    Harder to read though.

    Leave a comment:


  • dgiel
    replied
    Thanks! was just hoping to be more efficient with my rungs.

    Leave a comment:


  • franji1
    replied
    Sadly, the current Designer does not allow that construct in a single rung. You will need to duplicate the C9 Enable contact on 3 separate rungs

    --]C9[------]C3[---------(Y11)

    --]C9[------]C2[---------(Y10)

    --]C9[------]C1[---------(Y9)

    Leave a comment:

Working...
X