Home AMX User Forum AMX Technical Discussion
Options

RADIA RE-DM4

Hi,

I'm confused about the programming manual for the Radia RE-DM4.

Comments

  • Options
    JLambanJLamban Posts: 20
    I have 1 Radia RE-DM4 dimmer. From the attached file,

    The CHANNELS means RE-DM4 channel 1,2,3...?
    So how I can control each channel?

    How about in the Send_ String command, what does the dimmer means?
    Is dimmer 1 = channel 1 of a dimmer? or dimmer 1 = RE-DM4?

    if i send string to the dimmer such as this,

    SEND_STRING Radia,'1U' //Ramp dimmer one up

    Does it affect the per channel of the dimmer or it will affect all the channels of the dimmer?



    Sorry if my question is a bit confusing.
    Thanks in advance.
  • Options
    ericmedleyericmedley Posts: 4,177
    JLamban wrote: »
    I have 1 Radia RE-DM4 dimmer. From the attached file,

    The CHANNELS means RE-DM4 channel 1,2,3...?
    So how I can control each channel?

    How about in the Send_ String command, what does the dimmer means?
    Is dimmer 1 = channel 1 of a dimmer? or dimmer 1 = RE-DM4?

    if i send string to the dimmer such as this,

    SEND_STRING Radia,'1U' //Ramp dimmer one up

    Does it affect the per channel of the dimmer or it will affect all the channels of the dimmer?



    Sorry if my question is a bit confusing.
    Thanks in advance.

    If you turn on channel 129 of the device that is the Radia dimmer pack, dimmer channel one will begin to ramp up the level until you turn channel 129 off or it get's to 100%. Conversely, if you turn channel 135 of the device on, dimmer channel 1 will begin to ramp down its level until you turn channel 135 off or it gets to 0%.

    I think there's more to the string protocol than I can see on the picture posted. what I see is the elements of a string message but not how the message is bullt. Since they included a <CR> in the list I assume they use a $0D to end-deliniate the message.


    One other thing I do know about testing Radia stuff is that you do actually have to have stuff hooked up to it to test. it won't work unless there's loads on the dimmer and high-voltage power connected on the supply side. In other words, even though it shows up on the NS device tree and communicaates and all that, you won't see any useful programatic feedback/functioning unless there's real high-voltage stuff connected. I built myself a littel test board with 6 cheap ceramic Edison light sockets to test the six zones.

    As with all things high-voltage, the usual discalimers come along with this that I am not a licensed electrician and my advice as to how to hook up the high-volage side should not be followed. You should have a qualified electriciain wire it for you. If not, make sure you have a video camera running just in case you need some legal proof for insurance purposes or comedy movie material.
  • Options
    JLambanJLamban Posts: 20
    Thanks for the advised and appreciated all your help.

    But still I'm confuse on how to control each channel of my dimmer.

    If it's okay with you, can i see your sample program on how you call each channel?

    I've done codes for it but I'm not sure if it's working.

    // For channel 1 Preset 25%,50%and 75%
    BUTTON_EVENT [dvTP,61]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'1L25T9',$0D" // CHANNEL 1 25%
    }
    }
    BUTTON_EVENT [dvTP,62]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'1L50T9',$0D" // CHANNEL 1 50%
    }
    }
    BUTTON_EVENT [dvTP,63]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'1L75T9',$0D" // CHANNEL 1 75%
    }
    }
    // For channel 2 Preset 25%,50%and 75%
    BUTTON_EVENT [dvTP,64]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'2L25T9',$0D" // CHANNEL 2 25%
    }
    }
    BUTTON_EVENT [dvTP,65]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'2L50T9',$0D" // CHANNEL 2 50%
    }
    }
    BUTTON_EVENT [dvTP,66]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'2L75T9',$0D" // CHANNEL 2 75%
    }
    }
    // For channel 3 Preset 25%,50%and 75%
    BUTTON_EVENT [dvTP,67]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'3L25T9',$0D" // CHANNEL 3 25%
    }
    }
    BUTTON_EVENT [dvTP,68]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'3L50T9',$0D" // CHANNEL 3 50%
    }
    }
    BUTTON_EVENT [dvTP,69]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'3L75T9',$0D" // CHANNEL 3 75%
    }
    }

    //**************Program Stops Here*********////



    I based my code on the last part of the RE-DM4 dimmer manual

  • Options
    ericmedleyericmedley Posts: 4,177
    Turning on a channel from a button push is pretty basic stuff they covered in your first AMX programmer class. There's nothing wrong that I can see from your code on the strings. I would handle it a completely different way but that's just me.

    You might want to post your device declaration section and perhaps the problem exists there.
  • Options
    JLambanJLamban Posts: 20
    My program is basic, maybe later on I would learn the complex stuff if I have a free time . I haven't loaded and tested my program. Hopefully it will work. I'll post as soon as I will go to the site.
  • Options
    JLambanJLamban Posts: 20
    My code is working.

    My problem now is, it won't work with my Novara Keypads.

    I connected my Novara keypad thru axlink to my NI-2100.

    DEFINE_DEVICE

    dvKEYPAD =1:1:1
    dvREDM4=2:1:1
    dvRDM6EM=3:1:1

    BUTTON_EVENT [dvKEYPAD,1]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'1L0T9',$0D" // CHANNEL 1 OFF
    }
    }
    BUTTON_EVENT [dvKEYPAD,2]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'1L100T9',$0D" // CHANNEL 1 ON
    }
    }
    BUTTON_EVENT [dvKEYPAD,3]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'2L100T9',$0D" // CHANNEL 2 OFF
    }
    }

    BUTTON_EVENT [dvKEYPAD,4]
    {
    PUSH:
    {
    SEND_STRING dvREDM4, "'2L100T9',$0D" // CHANNEL 2 ON
    }
    }

    Did I miss something on my codes? Any other configuration for the Novara keypads?(CP-1008)
Sign In or Register to comment.