Velleman VMB4RY Manual - page 2
VMB1RY PROTOCOL – edition 1 _ rev4
2
Binairy format:
EOF7...EOF1-IFS3...IFS1> bits Description SOF Start Of Frame (always 0) SID10 & SID9 Priority (00: highest … 11: lowest priority) SID8…SID1 Address SID0 Always 0 RTR Remote Transmit Request IDE Identifier Extension (always 0) R0 reserved (always 0) DLC3…DLC0 Data Length Code (0…8) Databyte1 Command Databyte2 Parameter Databyte3 Parameter Databyte4 Parameter Databyte5 Parameter Databyte6 Parameter Databyte7 Parameter Databyte8 Parameter CRC14…CRC1 Cyclic Redundancy Checksum CRCDEL CRC Delimiter (always 1) ACK Acknowledge slot (transmit 1 readback 0 if received correctly) ACKDEL Acknowledge Delimiter (always 1) EOF7...EOF1 End Of Frame (always 1111111) IFS3...IFS1 InterFrame Space (always 111) The relay module can transmit the following commands: • Updates LEDs on a push button module • Clears LEDs on a push button module • Sets LEDs on a push button module • Blinks LEDs slowly on a push button module • Blinks LEDs fast on a push button module • Blinks LEDs very fast on a push button module The relay module can transmit the following messages: • Relay status • Push buttons & relays switch status (Build 0817 or higher) • Module type • Bus error counter status (Build 0647 or higher) • First, second and third part of the relay name • First, second and third part of the local mode push button names (Build 0817 or higher) • Memory data • Memory data block (4 bytes) (Build 0735 or higher) The relay module can receive the following messages: • Push button status The relay module can receive the following commands: • Switch relay off • Switch relay on • Start relay timer • Start relay blinking timer • Relay status request • Clear Push button Led (Build 0811 or higher) • Module type request • Bus error counter status request (Build 0647 or higher) • Relay and/or push button name request (Build 0817 or higher) • Read memory data • Read memory data block (4 bytes) (Build 0742 or higher) • Memory dump request (Build 0735 or higher)