Command fusion and Cbus very frustrating

Discussion in 'General Discussion' started by Les Bridges, Jan 31, 2014.

  1. Les Bridges

    Les Bridges

    Joined:
    Jan 26, 2014
    Messages:
    3
    Likes Received:
    0
    Location:
    Broome
    I was told today from clipsal that I had to send the ~ command to reset it before sending a command.
    Everyone tells you something different and there seems to be nothing consistent from both sides,

    Why would I want to set a LAN Bridge up to communicate in a way that I have no idea in the first place how it works differently to the default which I don't know what the default is supposed to be.

    Surely there would be something that says.

    "By default" Command Fusion Bridge, if in

    System commander connect via UDP port 10207 , Device 2, command "whatever the command is (in bed trying to sleep)" , String \x5380079004Ag\x0D

    Is a valid command to turn on Group 3 of your relay lighting device, providing your Network burdens and groups are setup correctly.

    This would make me focus on the Cbus device.

    How can I have a iViewer layout with 12 buttons that worked perfectly ( With simulated feedback) to nothing because someone advised on the forum that I needed to setup the Cbus using Cbus Toolkit?

    Now I can send working commands to the Cbus via putty but nothing else, you mention if I want to send the ~ command that's fine! it's not fine because I don't know what mode the CBus is supposed to be in to receive the above example because no one will tell me!

    Surely there would be something of a firm example to stop the guessing so my time can be spent enjoying the learning process of GUI designer?

    Further to this I cannot find anything that resets a 12 relay Cbus unit or a 5500Ps to default apart from the multiple default buttons in the 12 relay unit.

    Or is Cbus a waste of time and I should be looking at another product that works better with some concrete support?:eek:

    Nothing but confusion, Mis Direction and Headaches
     
    Last edited by a moderator: Jan 31, 2014
    Les Bridges, Jan 31, 2014
    #1
  2. Les Bridges

    Dave Byron

    Joined:
    Aug 3, 2004
    Messages:
    835
    Likes Received:
    0
    Location:
    Casurina
    Confussed

    Gee Les you seem to have one of everything, maybe a drawing of your setup would help.
    Does the Cbus stuff work OK via switches, touch screens or what ever ???
    Have all the configable Cbus gear been configured using Toolkit, assigning goups to ports etc, once that is saved to the units there normally is no need to touch the relays and dimmers again.

    What to you think you going to do to a power supply (5500PS) its either turned on or tuned off thats it.

    Reset - define what you mean by that, there is a reset for relays etc in Toolkit but that will clear all settings out of the unit, same as out of the box then you would have a non configured unit.

    LAN Bridge - by who ???
    Command Fusion Bridge is that software ??
    iViewer is that a Apple product
    via putty - thought that used in woodworking

    Dave
     
    Dave Byron, Jan 31, 2014
    #2
  3. Les Bridges

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    If that is how you have communicated to anyone trying to assist you, any wonder you have been getting mixed information..

    Have you done any training on any of the products you are trying to integrate together?
     
    Roosta, Jan 31, 2014
    #3
  4. Les Bridges

    Les Bridges

    Joined:
    Jan 26, 2014
    Messages:
    3
    Likes Received:
    0
    Location:
    Broome
    5500pc - l5512rvf

    Sorry for my vague post last night my apologies.

    Im in Broome a novice and we have no way of training officially and everyone has to start somewhere and I am really trying to learn.

    Out of the box Command Fusion LAN Bridge, Programmed via learn commands L5512RVF.

    I managed to create a 12 button layout in GUI Designer that had Simulated Feedback that controlled all 12 relays perfectly On and Off.

    Someone on a Thread said I needed to configure the CBus gear via Cbus Toolkit and since then I have been unable to use the iPad side of things.

    I can send commands via putty and the serial port and it controls the relay fine.

    I used to be able to send similar commands from System Commander via UDP Port 10207, this no longer works.

    It seems something in the Cbus tool kit changes its communication, could it be a Device ID or the mode it is operating in.

    Is their a master reset for the L5512RVF and the 5500PC?

    Burdens Hardware and both Clocks are set as per Clipsal's instructions.

    Clipsal mentioned to send a ~ character to clear the PC5500 someone else told me that changes the 5500PC's Mode.

    Thank any one in advance for the help and encouragement.
     
    Les Bridges, Feb 1, 2014
    #4
  5. Les Bridges

    Mr Mark

    Joined:
    Jan 27, 2006
    Messages:
    322
    Likes Received:
    5
    Location:
    FNQ
    Hello Les.

    Some good news and some bad news.

    I should be able to help you with this one but I'm in the middle of moving house. I use Command Fusion software (iViewer on iPad for control, GUI Designer to build projects) to control C-Bus via C-Gate as it offered more options at the time - the LAN Bridge from Command Fusion has sorted the multiple client issue, then there is the MMI response from C-Bus to decode - too much work at the time.

    Once you have set up group addresses in your relays, switches etc, I found it best to change the mode of the PCI - give me a few days to find and unpack some notes and I'll post some info. Even though you are talking directly to C-Bus and not via C-Gate, the principle is essentially the same. PM if you like.

    Mark
     
    Mr Mark, Feb 1, 2014
    #5
  6. Les Bridges

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,392
    Likes Received:
    24
    Location:
    Adelaide, South Australia
    You have a basic problem.

    You are trying to use a mix of Clipsal and non-Clipsal equipment, you are trying to make up and send commands, and you have had no training and don't have documentation. Sounds like a recipe for Trouble with a very big T.

    You need some documentation, especially on C-Bus serial commands that end up being accepted by a CNI or PCI (5500CN or 5500PC). If you are playing in the land of sending Cbus serial commands around, then you really need to read 3 documents:

    1. Quick Start Guide.

    2. Interface Requirements.

    3. Serial Interface Users Guide.

    These explain things like HOW to set up the interface, and what happens when you change settings in it (hint: don't keep sending "~" all the time, it forces the serial interface to reset any mode settings).

    You also need to commission devices using C-Bus Toolkit.

    Relevant information:

    Cbus Serial protocol documents.

    C-Bus Toolkit

    And for non-Clipsal software or other products you need to consult their manufacturers.
     
    ashleigh, Feb 1, 2014
    #6
  7. Les Bridges

    rhamer

    Joined:
    Aug 3, 2004
    Messages:
    673
    Likes Received:
    3
    Location:
    Melbourne, Australia
    Do you have any c-bus input units?

    I think from memory if you don't have again least 1 c-bus input unit, you won't get MMI's, meaning you won't be able to get the status of the output units at startup.

    It's been a while since I did MMI stuff, and I could be off a bit, but there is definitely a catch in there somewhere.

    Rohan
     
    rhamer, Feb 1, 2014
    #7
  8. Les Bridges

    Les Bridges

    Joined:
    Jan 26, 2014
    Messages:
    3
    Likes Received:
    0
    Location:
    Broome
    Cbus Command Fusion

    Thank you everyone for you help I have had a good read on my 2000 k trip and have found the following and I hope its correct and I hope it can help others

    Relay Unit L5512RVF On Off Relay Group Commands with the checksums. A great HEX Calculator http://www.lammertbies.nl/comm/info/crc-calculation.html , use 256 minus the one byte checksum once you have Calculated the CRC, convert this back to Hex, recalculate this in the calculator and the 1 Byte CheckSum should be 0.

    Hex you wish to create a Check Sum for Example : 0538000109

    ($05+$38+$00+$01+$09 = 71) (256-71=185) (185 Hex = b9) ($05+$38+$00+$01+$09+$b9=0)

    Group 1
    \05380079004A\x0d
    \0538000100c2\x0d
    Group 2
    \053800790149\x0d
    \0538000101c1\x0d
    Group 3
    \053800790248\x0d
    \0538000102c0\x0d
    Group 4
    \053800790347\x0d
    \0538000103bf\x0d
    Group 5
    \053800790446\x0d
    \0538000104be\x0d
    Group 6
    \053800790545\x0d
    \0538000105bd\x0d
    Group 7
    \053800790644\x0d
    \0538000106bc\x0d
    Group 8
    \053800790743\x0d
    \0538000107bb\x0d
    Group 9
    \053800790842\x0d
    \0538000108ba\x0d
    Group 10
    \053800790941\x0d
    \0538000109b9\x0d
    Group 11
    \053800790A40\x0d
    \053800010Ab8\x0d
    Group 12
    \053800790b3f\x0d
    \053800010bb7\x0d

    These have all been tested and work fine, as I get further into this if its acceptable on this forum I will share a working Command FusionGUI which will control a 12 Relay and an 8 dimmer unit.

    Thanks again everyone,

    Regards


    Les
     
    Les Bridges, Feb 3, 2014
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.