Velleman VMB4RY Manual - page 11
VMB1RY PROTOCOL – edition 1 _ rev4
11
‘Module type request’ command received:
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address set by hex switches
RTR = 1
DLC3...DLC0 = 0 databytes received
‘Relay and/or push button name request’ command received (Build 0817 or higher):
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address set by hex switches
RTR = 0
DLC3...DLC0 = 2 databytes received
DATABYTE1 = COMMAND_RELAY_NAME_REQUEST (H’EF’)
DATABYTE2 = Relay bit number
Contents
channel number
B’00000001’
Relay Channel 1
B’00000010’
Relay Channel 2
B’00000100’
Relay Channel 3
B’00001000’
Relay Channel 4
B’00010000’
Push button Channel 1
B’00100000’
Push button Channel 2
B’01000000’
Push button Channel 3
B’10000000’
Push button Channel 4
‘Read data from memory’ command received:
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address set by hex switches
RTR = 0
DLC3...DLC0 = 3 databytes received
DATABYTE1 = COMMAND_READ_DATA_FROM_MEMORY (H’FD’)
DATABYTE2 = High memory address
High address
Memory bank
H’00’
For channel 1 data
H’01’
For channel 2 data
H’02’
For channel 3 data
H’03’
For channel 4 data
DATABYTE3 = LOW memory address (H’00’...H’FF’)
‘Read data block from memory’ command received: (Build 0742 or higher)
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address set by hex switches
RTR = 0
DLC3...DLC0 = 3 databytes received
DATABYTE1 = COMMAND_READ_MEMORY_BLOCK (H’C9’)
DATABYTE2 = High memory address
DATABYTE3 = LOW memory address
Remark: Valid address range: H’0000’ to H’03FC’
‘Memory dump request’ command received (Build 0735 or higher):
SID10-SID9 = 11 (lowest priority)
SID8...SID1 = Address of the module
RTR = 0
DLC3...DLC0 = 1 databytes received
DATABYTE1 = COMMAND_MEMORY_DUMP_REQUEST (H’CB’)