MCW-D 200 Control Protocol

peachbottomyazooNetworking and Communications

Oct 27, 2013 (3 years and 5 months ago)

81 views

Page 1 of 5
MCW-D 200 Control Protocol
11.12.2003, G. Fratila, S. Groß, M. Gebhardt
Communication:
RS232:
Speed: 115.200 Baud;
Messages: ASCII with variable length ended with chr(13).
LAN IPX:
Frame: Ethernet_II;
Socket number: 0x869C;
Messages: Same messages as for RS232 separated between ‘^^^’.
(E.g.: ‘^^^’+Message+’^^^’).
Each message sent to the CU must be acknowledged by a ‘Rdy” reply message. If ‘Rdy’
message is not received within 3 seconds last message must be sent again.
During the time of sending and the time of acknowledgement (or timeout), the CU must be
considered busy and no message must be sent to it.
Therefore, we recommend the implementation of an output queue triggered by the ‘Rdy’
acknowledgement (and the timeout).
Note: All further descriptions of the messages will not contain the separation bytes. Please
comply each message with the communication protocol description from above. (E.g. for the
message set_fpga(MASTER_VOLUME,5), if it will be sent on the RS232 interface will become
set_fpga(MASTER_VOLUME,5)+chr(13) else, if sent on LAN interface it will become
^^^set_fpga(MASTER_VOLUME,5)^^^).
Control Commands
PC -> CU
Inquiry messages:
scan
Message for seeking CU presence. Generates a CUhere or PChere reply.
Active messages:
start_delegate(a,b)
Start speaking a delegate MU.
 a – {0..255} - ADDRLO of the MU ID;
 b – {0..255} - ADDRHI of the MU ID;
If message was successful a reply speak(a,b,c) must be received.
Page 2 of 5
start_chairman(a,b)
Start speaking a chairman MU.
 a – {0..255} - ADDRLO of the MU ID;
 b – {0..255} - ADDRHI of the MU ID;
If message was successful a reply speak(a,b,c) must be received.
stop_tu(a,b)
Stop a MU from speaking.
 a – {0..255} - ADDRLO of the MU ID;
 b – {0..255} - ADDRHI of the MU ID;
If message was successful a reply stop(a,b,c) must be received.
clear
Issues a clear message having the same effect as the clear button of a chairman MU.
end.prior.
Ends the priority status of the system for the cases that a chairman MU issued a start priority
message (only priority mode 2 and 3). Effect similar to the second priority press of the chairman
MU.
blink(a,b,c)
Starts / ends blinking mode of a certain MU.
 a – {0..255} – ADDRLO of the MU Serial Number;
 b – {0..255} – ADDRHI of the MU Serial Number;
 c – {on, off} – When “on” blinking is enabled, when “off” is disabled.
reg_tu(a,b)
Puts a unit into request to speak mode. (MU_LED is red)
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID;
unreg_tu(a,b)
Disable the ¨request¨ status of a unit (MU_LED is off)
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID;
Page 3 of 5
pc_controll
Switch the unit to PC-controlled mode. Important: MUs must be configured in Normal Mode. The
complete functionality of the system must be rebuilt inside the controller device. Except Voice
Activation Mode.
E.g.: This means that when a MU is pushing its request to speak button, it will issue a request to
speak message to PC instead of immediately starting to speak.
cu_controll
Switches back the unit to CU-controlled mode. This means mainly that when a MU is pushing the
MU_SPEAK button it will immediately start speaking.
Control Reply
PC <- CU
Inquiry reply:
PChere
This reply is sent as a result of scan message. This reply tells that the CU is in PC-controlled
mode.
For more details see the scan, pc_controll and cu_controll commands.
CUhere
This reply is sent as a result of scan message. This reply tells that the CU is in CU-controlled
mode.
For more details see the scan, pc_controll and cu_controll commands.
Active reply:
PR.a.BT.b.TY.c(d,e)
Message sent when a chairman MU issued priority action.
 a – {SH, LO} – Priority press type – SH – short press, LO – long press;
 b – {N, F} – Priority sequence. For priority modes 2,3 (multiple sequence modes) it indicate
priority start (if F) and priority end (if N). For the other priority modes (single sequence
modes) it will be always read as N.
 c – {1..8} – Specifies MU Priority mode;
 d – {0..255} – ADDRLO of the MU serial number (has no use for controlling systems);
 e – {0..255} – ADDRHI of the MU serial number ((has no use for controlling systems)).
Page 4 of 5
speak(a,b,c)
Message sent by the CU when a MU started speaking.
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID.
 c – {M, P} – MU type – if M – delegate MU, if P – chairman MU.
lb(a,b,c,d,e)
Message sent by MU when the battery goes below the configured battery level.
 a – {0..255} - ADDRLO of the ID of the MU;
 b – {0..255} - ADDRHI of the ID of the MU;
 c – {String} – String containing the voltage of the MU battery with precision of two decimals;
 d – {0..255} - ADDRLO of the Serial Number of the MU;
 e – {0..255} - ADDRHI of the Serial Number of the MU;
stop(a,b,c)
Message sent by the CU when a MU stopped speaking.
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID.
 c – Reserved.
rq(a,b)
Confirms the registration of a request issued by a RTS unit when CU controlled.
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID.
ur(a,b)
In CU and PC control mode, it confirms the un-registration of a request (issued by a RTS unit in
CU controlled mode or by button press while unit requesting in PC control mode).
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID.
request(a,b,r)
This command is issued by a unit that request to speak only in PC controlled mode.
 a – {0..255} – ADDRLO of the MU ID;
 b – {0..255} – ADDRHI of the MU ID;
 r - reserved.
Page 5 of 5
CLEAR
Message sent by the CU when a clear message was issued (by the chairman MU or by CU
button short press).