Velleman VMB4RY Manual - page 9
VMB1RY PROTOCOL – edition 1 _ rev4
9
‘Push button status’ received:
SID10-SID9 = 00 (highest priority)
SID8...SID1 = Address of the push button module
RTR = 0
DLC3...DLC0 = 4 databytes received
DATABYTE1 = COMMAND_PUSH_BUTTON_STATUS (H’00’)
DATABYTE2 = Push buttons just pressed (1 = just pressed)
DATABYTE3 = Push buttons just released (1 = just released)
DATABYTE4 = Push buttons long pressed (1 = longer than 0.85s pressed)
‘Clear LED’ command received (Build 0811 or higher):
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address of the push button module
RTR = 0
DLC3...DLC0 = 2 databytes received
DATABYTE1 = COMMAND_CLEAR_LED (H’F5’)
DATABYTE2 = LEDs to clear (a one clears the corresponding LED)
‘Switch relay off’ command received:
SID10-SID9 = 00 (highest priority)
SID8...SID1 = Address set by hex switches
RTR = 0
DLC3...DLC0 = 2 databytes received
DATABYTE1 = COMMAND_SWITCH_RELAY_OFF (H’01’)
DATABYTE2 = Relay bit number
Contents
Relay number
B’00000001’ Channel
1
B’00000010’ Channel
2
B’00000100’ Channel
3
B’00001000’ Channel
4
‘Switch relay on’ command received:
SID10-SID9 = 00 (highest priority)
SID8...SID1 = Address set by hex switches
RTR = 0
DLC3...DLC0 = 2 databytes received
DATABYTE1 = COMMAND_SWITCH_RELAY_ON (H’02’)
DATABYTE2 = Relay bit number
Contents
Relay number
B’00000001’ Channel
1
B’00000010’ Channel
2
B’00000100’ Channel
3
B’00001000’ Channel
4