Jump to content

Edwin

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Edwin

  1. Alex,

     

    Thank you for your reply. I tried it but I doesn't function. I found out that the OpCode (for ArtDmx) has to be 0x5000 with the low byte transmitted first. So the code will be as follows:

     

    [41] [72] [74] [2D] [4E] [65] [74] [00] [00] [50] [00] [0E] [00] [01] [00] [00] [00] [02] [64] [C8] 

     

    Last 2 values are the setpoints which are 100 and 200. 

    I am sending it with the Protocol TCP/IP Send and a stream with a fixed length of 20 in this case.

     

    I can see that this is transmitted to the device but it is not working, can you what I might be doing wrong?

     

    Thanks.

  2. Thanks for your reply Alex,

     

    I already set the socket as TCP RAW and used the TCP protocol to send a message. The problem that I have is that I don't exactly know how to compose the message, it has to start with "Art-Net" 0x00 which is no problem but after that I have to send the following values:

     

    - OpCode (INT16) which has to be 0

    - ProtVerHi (INT8) which has to be high byte of protocol version (14)

    - ProtVerLo (INT8) which has to be low byte of protocol version (14)

    Do I need to put 0 at ProtVerHi and 14 at ProtVerLo?

    - Sequence (INT8) has to be 0x00

    - Physical (INT8) has to be 0

    - SubUni (INT8) has to be 0

    - Net (INT8) has to be 0

    - LengthHi (INT8) for the test I want to set it to 2 (so the first 2 DMX channels)

    - LengthLo (INT8) for the test I want to set it to 2 (so the first 2 DMX channels)

    - Data (INT8) value for DMX channel 1 to 2

     

    My question is: How can I compose this message? Do I need to put 0x00 after every part of the message?

     

    The setup is like this:

     

    PLC (V350-TR6 with ethernet) --> ArtNet-DMX interface (ArtNet-DMX Universe DR 1.1 from DMX4ALL) --> Lighting driver (Fluvo RGB)

     

    I tested the lighting driver with a standard control panel which functions.

     

    I hope this helps you to give me an answer. 

     

    Thanks

     

  3. Hello,

     

    I am trying to communicate with the Art-Net to DMX interface (from DMX4ALL) via LAN. I have to send a specific message to the interface so it knows what to do. The message is as you can see in the attachment. 

    I can connect to the interface with the "TCP/IP CONNECT" function block, but I cannot communicate with the interface.

    Can anyone tell me how I can make the message in the "Protocol: TCP/IP Send" function block?

     

    Thanks in advance.

     

    Edwin

     

     

     

    ArtDmx.pdf

  4. Hello,

     

    I am using the Enhanced Webserver and have a question about it. I want to use a user and password to secure the webserver. From the entrance page I can go to the start page when I log in, that's no problem. But when I want to go to another page it says wrong password! and when I look at the address bar I see "User=Hand.&Pass=Auto". When I fill the correct user and password in the address bar it works fine. I see that the user and pass is stored in ST20 and ST21 but I don't know what the are, are they memory addresses in the PLC or in the browser?

     

    Thanks in advance.

     

    Greets Edwin

×
×
  • Create New...