can c_bus reply
yanghua_angel
Junior Member
can c_bus reply.i have try everything to make c_bus can reply and i also use the amx's module about the c_bus, but i can't understand all the module .can anyone help ???
thanks for help.
thanks for help.
Comments
-
c_bus as in the lighting system from clipsal?
-
-
The module comes with a pretty comprehensive user manual with plenty of examples on how to implement both sending and receiving commands.
heres an example connecting to an Ethernet interfaceDEFINE_DEVICE dvCbus = 0:5:0 //CBUS PCI - 192.168.1.10 port 100001 vdvCbus = 33003:1:0 DEFINE_VARIABLE volatile char sCbus_Addr[] = '192.168.1.10'; volatile integer sCbus_Port = 10001; DEFINE_MODULE 'CBusModIII' mdlCBUS( dvCBUS, vdvCBUS, sCbus_Addr, sCbus_Port ); DEFINE_EVENT data_event[vdvCbus] { string: { select { active (data.text == "'K:P:[00:3A:02]'"):{ //lights are on so do something } } } online: { send_command vdvCBUS, "'STATUS:3A'" } } -
i have not use the ip method,but i only use the RS232 method and i can't recieve the reply.
i use the Channel Feedback,and also no use.
channel_event[vLight, 18]
{
on: on [dvTP, channel.channel]
off: off [dvTP, channel.channel]
}
this also no use
DEFINE_PROGRAM
[dvTP, 21] = [vLight,$A9] // group address A9 on local network, app 38
[dvTP, 22] = [vLight,$AA] // group address AA on local network, app 38
[dvTP, 23] = [vLight,$AB] // group address AB on local network, app 38
[dvTP, 24] = [vLight,$AC] // group address AC on local network, app 38 -
The module comes with a pretty comprehensive user manual with plenty of examples on how to implement both sending and receiving commands.
heres an example connecting to an Ethernet interfaceDEFINE_DEVICE dvCbus = 0:5:0 //CBUS PCI - 192.168.1.10 port 100001 vdvCbus = 33003:1:0 DEFINE_VARIABLE volatile char sCbus_Addr[] = '192.168.1.10'; volatile integer sCbus_Port = 10001; DEFINE_MODULE 'CBusModIII' mdlCBUS( dvCBUS, vdvCBUS, sCbus_Addr, sCbus_Port ); DEFINE_EVENT data_event[vdvCbus] { string: { select { active (data.text == "'K:P:[00:3A:02]'"):{ //lights are on so do something } } } online: { send_command vdvCBUS, "'STATUS:3A'" } }
I want to do c_bus?s feedback too,but I have not got feedback message like ?'K:P:[00:3A:02]'?,can you tell me how to get this feedback message?thank you!!!!! -
From the examples below it looks like you are using an old version of the Cbus module. AMX have v4.06 but it isn't on the website. For some reason you have to call them and ask for it. It doesn't seem all that much better than the old one, but it's worth a try.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums