neper
March 27, 2008, 5:14pm
1
Hi!
I have regarding VMB4RY Protocol - edition 1 (available for download in 4 CHANNEL RELAY MODULE page info vellemanprojects.com/be/en/product/view/?id=363140 ) .
When I compare these specification with your demo project I see that High priority and Low priority bytes have different values in both references.
Demo: High: 0xF8 Low: 0xFB
Protocol document: High: 0x00 Low: 0x11
This make me some confusion, likewise STX and ETX bytes.
If possible I would like that you explains me how it’s works.
thanks!
VEL324
March 31, 2008, 8:11am
2
The high and low priority values are the bit 0 and 1 of a complete byte.
Bit 2 is the start of frame bit (always low) of the same byte and all the other bits (3…7) are high.
The STX and ETX bytes are used to identify the start and end of a messages packet on the pc.
neper
March 31, 2008, 8:52am
3
Sorry but I don’t have sure I understand. If it’s possible give me some samples?
thanks
duke
April 27, 2009, 12:37pm
4
STX - start of transfer
ETX - end of transfer
low prority - 0xFB
high priority - 0xF8
VEL448
April 28, 2009, 11:10am
5
Because:
FB = 11111011
F8 = 11111000
^^