
MC1 V3 Installation & Programming page 5 / 9
RS232 Serial Command Protocol
Link must be set to 9600 baud 8N1 (8 data bits, no parity, 1 stop bit). This protocol is very similar to the R2D7.
Control System Serial Port to MC1
Information Data # of characters
Header (Start of command) * (asterisk) 1
Subsystem number or
Administration command
Optional 1 digit number which is ignored
1
V = report version
F = turn on feedback (verbose) L = limited feedback
2
0 - 1
Command
3
o = open u = up c = close d = down s = stop p = program
m = move to commanded position
r = report current position
q = simulate unpush of existing button
1
Channel
4
00
5
– 60 0 or 2
Position or
“Button Time”
if “m” then 0 0 – 9 9 = commanded position in %
otherwise 3 digits ignored unless 0 0 0
6
2
0 - 3
Terminator ; (semicolon) or “CR” (enter key) 1
MC1 to Control System Serial Port
Event MC1 sends
Powered up version (same as response to “V”) followed by X-on
Response to “V” query 3.0; if 115VAC 3,0; if 230VAC
Response to “r” query with our main
address
*nnRpp; (nn = main channel, pp = percent away from reference)
*nnRN; (N means position is unknown because not yet calibrated)
*nnRU; (U means position is unknown)
Terminator is received
with limited feedback
“s” command with our main channel stops and causes “r” response
*nnM; if “m” command with our main channel
*nnX; if our “m” command cannot be executed (uncalibrated)
otherwise no response even if command is bad
Terminator is received
with verbose feedback (default)
no response if “r” “m” or “s” command and not our main channel
“s” command with our main channel stops and causes “r” response
*nnM; if “m” command with our main channel
*nnX; if our “m” command cannot be executed (uncalibrated)
U; if command is not formatted correctly
G; if “s” command with ALL (or no) channel
no response to “q” command
G; if command formatted correctly (and not shown above)
1
This is allowed to make the protocol the same as R2D7 which requires a “system number” here.
2
This can only be changed via serial command, there is no S77 sequence to do this and reset does not change it.
3
Case is not important: o is the same as O and so on.
4
If command is stop, then this value is optional, if included, it will be acted on only if it is our main channel or ALL,
if not included, it will be interpreted as ALL.
5
00 = ALL.
6
This is allowed to make the protocol the same as R2D7 which has optional “send time” here,
if the time is 0 0 0, then the button will start and wait for *q; to simulate the end of the button,
this does not work for “p” commands.
Kommentare zu diesen Handbüchern