Home AMX User Forum NetLinx Studio

Problem with REL10 cards

I am working on a room with 7 projectors and 7 relay controlled screens. There is a NI-4000 with a REL10 expansion card in slot 1.

Each screen is wired with two relays for up and down. The up and down works for all 7 screens.

When I want to stop a screen I am simply pulsing the up and down at the same time. This method works for the screens connected to relays on the NI-4000, but does NOT work for the screens connected to relays on the REL10. When a stop is attempted on a screen connected to the REL10 the screen pauses and then continues moving.

It appears that when pulsing the up and down at the same time on the NI-4000 the pulses occur simultaneously and end at the same time. However, the same operation on the REL10 results in one pulse ending slightly before the other pulse and thus the screen continues moving.

Has anyone else experienced this same behavior? Is there a better way of stopping a relay controlled screen than pulsing both channels at the same time?

Comments

  • Depends on the screen - sometimes pulse in the current direction, sometimes a pulse in any direction.
  • DHawthorneDHawthorne Posts: 4,584
    You could try making a DEVCHAN array of the relays and pulsing the array name.

    DEFINE_VARIABLE

    DEVCHAN dvcScreenStop[] = {{dvNI_Relays, 1}, {dvNI_Relays, 2}} ;

    <... code for stop ...>

    PULSE[dvcScreenStop] ;
  • banobano Posts: 173
    cbailey wrote:
    I am working on a room with 7 projectors and 7 relay controlled screens. There is a NI-4000 with a REL10 expansion card in slot 1.

    Each screen is wired with two relays for up and down. The up and down works for all 7 screens.

    When I want to stop a screen I am simply pulsing the up and down at the same time. This method works for the screens connected to relays on the NI-4000, but does NOT work for the screens connected to relays on the REL10. When a stop is attempted on a screen connected to the REL10 the screen pauses and then continues moving.

    It appears that when pulsing the up and down at the same time on the NI-4000 the pulses occur simultaneously and end at the same time. However, the same operation on the REL10 results in one pulse ending slightly before the other pulse and thus the screen continues moving.

    Has anyone else experienced this same behavior? Is there a better way of stopping a relay controlled screen than pulsing both channels at the same time?

    You may want to try replacing the pulse command with an on delay off command.
    Good Luck
Sign In or Register to comment.