Home AMX User Forum AMX General Discussion

Help with Grundig plasma RS232

I'm trying to control a Grundig plasma via RS232 but am having trouble working out the correct string to send.

I was hoping you guys could have a look at the attached and give me some ideas on the correct strings to send to change inputs etc.
I've tried SEND_STRING PLASMA, "'p 1 1',$0D" (* POWER ON *) but doesn't work.
All my wiring and baud settings are correct.

http://member.newsguy.com/~ambad69/Grundig.doc

Comments

  • SensivaSensiva Posts: 211
    Grundig

    First you have to make sure that the baud rate is set properly...
    DEFINE_VARIABLE
    CHAR GRUNDIGBUFF[100]
    DEFINE_START
    CREATE_BUFFER dvGRUNDIG,GRUNDIGBUFF
    DEFINE_EVENT
    DATA_EVENT [dvGRUNDIG]
    {
      ONLINE:
      {
        SEND_COMMAND dvGRUNDIG,"'SET BAUD 9600,N,8,1 485 DISABLE'"
      }
    }
    
    And watch the buffer from the watch window
    on Nelinx Studiuo click DEBUG -- > Start Debugging
    and then at the buffer to the list and see its current value.. this is how i always do.

    now try to send the code again, if it not working, try to include the braces ... who knows... may be it is required, i know its a dummy idea, but we are trying all possible cases.

    And if i were you , i will turn on the plasma, then try to send another command like Input data command, switch it to a currently working input.

    Check that the plasma has an ID 1 alread for the {SET ID} segment

    Finally you don't have to try in the code, and wait for 10s of 30 seconds boot, just send the strings in the telnet

    Regards
    :)
Sign In or Register to comment.