Home AMX User Forum NetLinx Studio

Help with NSI/Leviton IF501

Hello all,

I am having some difficulty getting any control out of my Oxo Merak 6ch dimmer with a NSI IF501. It could be my syntax problem as the NSI documentation is quite parse. Currently for PC/Serial to DMX I am sending something like :

SEND_STRING DMX,"'D001@',DMX_STRING[1],13"

where DMX_STRING[1] is a value between 0-255, and D001 is for Dimmer 1

Also, does anyone know if the DMX input port on the IF501 still works in "PC to DMX" mode? i.e. allow a DMX controller/fader to act as a pass-thru.

Would appreciate any help greatly!

fongslb

Comments

  • TurnipTruckTurnipTruck Posts: 1,485
    fongslb wrote: »
    Hello all,

    I am having some difficulty getting any control out of my Oxo Merak 6ch dimmer with a NSI IF501. It could be my syntax problem as the NSI documentation is quite parse. Currently for PC/Serial to DMX I am sending something like :

    SEND_STRING DMX,"'D001@',DMX_STRING[1],13"

    where DMX_STRING[1] is a value between 0-255, and D001 is for Dimmer 1

    Also, does anyone know if the DMX input port on the IF501 still works in "PC to DMX" mode? i.e. allow a DMX controller/fader to act as a pass-thru.

    Would appreciate any help greatly!

    fongslb
    SEND_STRING DMX,"'F00:00.0',$0D"  //set fade rate to zero (minutes:seconds:tenths) maximum 50 minutes
    SEND_STRING DMX,"'D001@',ITOA(NewLevel),$0D"   //set dimmer 1 to new level
    SEND_STRING DMX,"'G',$0D"     //execute command
    

    Be sure your baud rate is correct and all of the jumpers inside the unit are set. As I remember there are two that have to be changed for RS-232 to DMX.
  • TurnipTruckTurnipTruck Posts: 1,485
    And here is a complete function from snipped from my device module...
    DEFINE_FUNCTION fnChangeDimmerLevel (INTEGER nDimmer_, INTEGER nLevel_, INTEGER nMinutes_, INTEGER nSeconds_)
      {
      SEND_STRING dvIF501,"'F',FORMAT('%02d',nMinutes_),':',FORMAT('%02d',nSeconds_),'.0',$0D"
      SEND_STRING dvIF501,"'D',ITOA(nDimmer_),'@',ITOA(nLevel_),$0D"
      SEND_STRING dvIF501,"'G',$0D"
      }
    
  • fongslbfongslb Posts: 30
    Are the dimmer level ranges from 0-255 or 0-100?
    I am using TP bargraphs to reflect levels, so some conversion would be required if its 0-100.
  • TurnipTruckTurnipTruck Posts: 1,485
    Levels on IF/501 are 1-100. If you are using G4 panels, just set the range to 0-100. If you are using G3 panels, draw a bargraph longer than what you need and mask off the range beyond 100.
  • fongslbfongslb Posts: 30
    Thanks so much!
Sign In or Register to comment.