|
-
Jan 21st, 2011, 06:25 PM
#18
Thread Starter
Fanatic Member
Re: No Mscomm receive USB 16 Channel Relay Module - RS232 Controlled
So I basically sent an email to Manufacturer with the same info as my post 60
Ask specifically how to exactly send the command.
This is what I got back
The whole command consist of 5 bytes.
Byte N1 is the char "x"
Byte N2 represents the relays from 1 to 8. The MSB is relay 1. - This means that if you have this byte b10000000 / 128(dec) or 0x80(hex) or the ASCII symbol '€' - relay N1 is ON. If you have b10000001 - relay N1 and relay N8 are ON. What I mean is that when you send this byte you must remember that this byte consist of 8 bits and each bit is one relay. Bit N7 is relay1, bit N6 is relay2...bitN0 is relay 8.
Byte N3 represents the relays from 9 to 16. The MSB is relay 9. - the same story like byte N2.
Byte N4 is the char "/"
Byte N5 is the char "/"
So I am still unclear what to send as even with their Com Tool
x1a05// does not work.
Can some one help me interpret?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|