Your Universal Remote Control Center
RemoteCentral.com
RS-232 & IP Control Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
RS232 command Help
This thread has 2 replies. Displaying all posts.
Post 1 made on Friday October 7, 2011 at 15:49
BigBoBails
Long Time Member
Joined:
Posts:
December 2008
87
I'm having issues working out the format for RS232 commands!!!!
The commands are for a visionHD 8x8 HDMI matrix.

I have the actual format but i cant work out how they should be input in to control software

below is the Command format for the first 3 output ports


Cir + ‘_’ + code + ‘.’
“Cir” is the key word, ‘_’ is Space, “Code” is the Control code, and ‘.’ is carriage return. For
example:
“Cir 39.” (hex: 63 69 72 20 33 39 0D 0A), when the mx0808 received this command, it will
change the Outport4 status to the next input port. ( “c”-0x63,”I”-0x69,”r”-0x72,”
“-0x20,”3”-0x33,”9”-0x39, ‘.’-0x0d0a)

5)Control code ( Mx0808-310 )
Outport1 <“08” >“09”
1“00” 2“01” 3“02” 4“03” 5“04” 6“05” 7“06” 8“07”
Outport2 < “18” > “19”
1 “10” 2 “11” 3 “12” 4 “13” 5“14” 6“15” 7“16” 8“17”
Outport3 < “28” > “29”
1 “20” 2 “21” 3 “22” 4 “23” 5“24” 6“25” 7“26” 8“27



help much apreciated.

thanks
Post 2 made on Sunday October 9, 2011 at 12:59
Audioman
Long Time Member
Joined:
Posts:
July 2005
20
BigBo,

It depends on the control software. Some take input in hex, some in ASCII, some either. Usually they allow 'escape' characters, so that formats can be mixed. E.g. "cir 3339<CR><LF>" would represent your string above.

Note that you're being inconsistent with character case: your text examples always have a capital 'C' and lower case 'ir', but your hex strings are all lower case: "cir". I wouldn't presume equipment like that would do case translation; they are more likely to accept input very literally, and if the manual has "CIR", I'd use "CIR" in my string, or "Cir" if the manual says "Cir", etc. Upper case ASCII starts with "A" at hex 41, and lower case at hex 61.

Another very important aspect to serial control is baud rate and data format.  The most common data format is 8 data bits, 1 stop bit, no parity.  Many devices use 9,600 baud (speed), but some use much higher rates.  It's essential to match those specifications between the 'host' (control processor) and 'client' (controlled device).

Hope that helps.
Enjoy your media!

[email protected]
OP | Post 3 made on Sunday October 9, 2011 at 15:05
BigBoBails
Long Time Member
Joined:
Posts:
December 2008
87
Thanks for the reply Audioman,

The text i posted was copied from the equipments manual. 

I have not dealt with mixed Rs232 before either ASCII or Hex so it has ben simple'ish'.

Control 4 is the control software which can use bothe ASCII and HEX.

Thanks Again


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse