RS-232 return from a Hitachi Plasma
Thorleifur
Junior Member
Getting a weird code from a Hitachi Plasma screen (55PMA500E). When using a RS-232 program like Docklight I get the correct response, but when I do this in Netlinx Studio I get something completly different.
Supposed to get: 02 30 30 30 3X 03 (HEX Character Code), where 02 and 03 are the open and close bits.
Am getting via Netlinx: 2D 70
Serial port is set up correctly in the Netlinx and the string is of right length. Any ideas?
Supposed to get: 02 30 30 30 3X 03 (HEX Character Code), where 02 and 03 are the open and close bits.
Am getting via Netlinx: 2D 70
Serial port is set up correctly in the Netlinx and the string is of right length. Any ideas?
Comments
-
It seems to me that you are either sending something different from what you think, or that you are actually receiving something different from what you think. So you need absolute confirmation of both. Here are some ideas:
(a) Use device notifications to watch what is actually being sent and received by your code.
(b) Use "Control a device" to send the string from your controller and watch notifications.
(c) Plug Docklight into your controller, not the Hitachi, and use notifications to see what you are sending.
Note that the problem might just be timing - the code is grabbing the reply before it all arrives - or the setup of the device is wrong so sent or received strings are subtly garbled. -
I think that Hitachi has the same protocoll using on their different models of plasma displays. I did some small programm in 2004 for basic functions like switching on / off and changing the inputs of such a display. First it was not easy to do, but I got a reference doc about Hitachi Plasma - RS232c from Hitachi. I remember that it was very important on this models to first of all send a hex-code to enter the terminal-mode of the display. Without this, the commands send to the display are ignored.
to enter the terminal-communication mode is: send_string dvPLASMA,"$05"
power on is send_string dvPLASMA,"$02,$36,$45,$30,$30,$30,$30,$30,$30,$30,$30,$30,$31,$03"
power off: send_string dvPLASMA,"$02,$36,$45,$30,$30,$30,$30,$30,$30,$30,$30,$30,$30,$03"
and to end the terminal-communication mode: send_string dvPLASMA,"$04"
It is important to end the communication if you also want to use the ir remote control with the display. Otherwise you can ignore it.
Also when sending the $05 code to enter the terminal mode, wait approx. 4 seconds before sending the next commands.
Maybe this helps you?
Regards
Markus Ritz
Mediasystem, Austria -
I can control the Plasma fine. Everything I send at it works. It?s just I have to use the returns to check which input I am using and so forth.
Tried everything and still getting the wrong return. But thanks guys.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums