Stange Marantz RS232 Commands
[Deleted User]
Posts: 0
New AMX dealer and first time poster to the forum.
I am installing a Marantz DV7600 and CC4300 - both controlled via RS232. The Marantz CC4300 CD player manual provided clear, straight forward serial commands to use and so far, for the most part, using terminal these commands seem to work well. The Marantz DV7600 DVD player however is another story. I can't make heads or tails of the RS232 control syntax. An example...
Play is listed in the comand reference as "@PLY:0\xd," and Stop is "@STP:0\xd,". I am totally lost as how to interpret these commands let alone convert them to their ASCII equiv for Netlinx.
Has anyone used or delt with a Marantz product with these commands before? Is there a "secret code book" or some way to work with this syntax?
I believe that the Marantz SR9600 also uses this command stucture.
Cheers
I am installing a Marantz DV7600 and CC4300 - both controlled via RS232. The Marantz CC4300 CD player manual provided clear, straight forward serial commands to use and so far, for the most part, using terminal these commands seem to work well. The Marantz DV7600 DVD player however is another story. I can't make heads or tails of the RS232 control syntax. An example...
Play is listed in the comand reference as "@PLY:0\xd," and Stop is "@STP:0\xd,". I am totally lost as how to interpret these commands let alone convert them to their ASCII equiv for Netlinx.
Has anyone used or delt with a Marantz product with these commands before? Is there a "secret code book" or some way to work with this syntax?
I believe that the Marantz SR9600 also uses this command stucture.
Cheers
0
Comments
Play
SEND_STRING dvDVD, ""'@PLY:0',$0D"
Stop
SEND_STRING dvDVD, ""'@STP:0',$0D"
HTH
Welcome to the forum!
Cheers
Can you post the protocol or link to the protocol for us to look at?
TX:P
TX:L
TX:Y
TX::
TX:0
TX:
So it looks like I might be doing a carriage return after each character.
Play
SEND_STRING dvDVD, ""'@PLY:0',$0D,','"
Stop
SEND_STRING dvDVD, ""'@STP:0',$0D,','"
I don't use Hyperterm so I'm no help there, sorry. And I don't know what logger you are using but it looks similar to what the logger I'm familiar with outputs.
That stuff is really odd.
Play
SEND_STRING dvDVD, '@PLY:0\xd,'
Hopefully someone who has worked with this unit before will chime in. Sorry I couldn't have been of more help.
I'm trying variations of the string now to see if anything happens.
Crud!
Play
SEND_STRING dvDVD, "'@PLY:0',$0D"
Stop
SEND_STRING dvDVD, "'@STP:0',$0D"
Here is what I see in the Notifications window when using the AMX DUET module for play and stop:
Line 1 :: String To [5001:1:10]-[@PLY:0$0D] - 23:28:25
Line 4 :: String To [5001:1:10]-[@STP:0$0D] - 23:29:15
Response from GET BAUD
Line 5 :: String From [5001:1:10]-[PORT 1,9600,N,8,1 485 DISABLED] - 23:31:01
Assuming the module works then I would have to say you have a cabling issue, a defective unit, or the carriage return isn't being sent with your terminal program.
You have the option to use Control a Device to send the string to your DVD with Netlinx studio and an NI Master. Just make sure String Expressions is checked, String is selected, and you enter the correct Device, Port, and System. In the message to send window type in "'@PLY:0',$0D" and then click on Send To Device to send the play command.
Let us know what you find out.
http://www.sysinternals.com/Utilities/Portmon.html
However, if you aren't comfortable with that, it looks like the "secret code" is nothing more than a strange way of representing hex. /xd = $OD in NetLinx parlance, so the /x is just a way of saying the next didgit is hex.
These are exactly right..... I'm a Marantz dealer and work with these DVD's all the time...
As for Testing RS-232/IP Strings, I use Vantage Tester 1.11. Its an Awesome little utility. Lets you type in your string and send it all at once instead of the Hyperterminal send as you go stuff.... Its small and Does RS-232 and IP... Sweet emulator
This is what I have been testing with so far.
DEFINE_EVENT
button_event [tp8400,100]
{
PUSH:
{
SEND_STRING dvDV7600, "'@PLY:0',$0D"
}
}
button_event [tp8400,101]
{
PUSH:
{
SEND_STRING dvDV7600, "'@STP:0',$0D"
}
}
Cheers
You should see the TX light flash for RS-232 port 1 when you press the Play or Stop buttons. If you don?t have a touch screen then you can use Emulate a Device for device 10001:1:0 and push channels 1 and 2. If you want to send the strings directly to the device then you can use Control a Device for device 5001:1:0.
Does this do the trick?
This last week has been overwhelming for me in my first intoduction into the AMX world.
For the past year things were simpler, installing RF to IR blasters and using universal RF remotes, but my customers started asking for more and I bit off on that. Kinda makes me wish I had stayed on the structured wiring side of things but I am up to this challange!
I just wish there were better documentation on the Netlinx API - all I had luck finding on the AMX training site was basically an introduction to the GUI of Netlinx. Still the product is just plain neat and I like the WOW factor it seems to give my customers.
Anybody have suggestions on how best to ramp up my knowledge on the programming side? Are there any tutorials out there outside of the AMX offered classes?
There is Vantage tester if it can help you
As for documentation, up until about a month ago, there was some self training stuff on the web site called "Intro to AMX programming." It doesn' look likes it's still there, but I see no reason why I can't email the zip files to you. let me know.
Otherwise, the Netlinx programming manual covers most everything and the Studio manual covers a lot, too. If you've had prior programming courses/experience in C or FORTRAN, you can learn enough from the Intro, and the Netlinx Programming manual to accomplish a whole lot of the basic stuff. There is no substitute for the real training courses, though, if you want to get proficient.
Of course, if you watch this forum (and read the archives) you'll learn how to solve a grand assorment of problems with efficiency and style and before long you will be pursued unmercifully by members of the opposite sex.
The downloadable modules are a good source of sample code to look at. The actual device control is hidden, but there's a bunch of stuff in the UI code that you should be able to looke at, understand and profit from.
Also, there is some good stuff in the technote archives though searching there--you have to sort of know what you're looking for. There is some stuff on master to master, there is a style guide, and there's stuff on IP and other things.
So, there's a lot there -- good luck with it. Trying to learn on your own without going through the training can be a little tough, but you can probably learn enough to accomplish what you need for many things.
With that out of the way the last nut I need to crack is the CD player. I have been sending what I thought were the correct strings but whatever I send it just turns it off.
BUTTON_EVENT [tp8400, 103] { //Power DVD
PUSH: {
SEND_STRING CD, "$32,$30,$31,$32,$30,$31,$0D"
}
}
I have been using the control a device feature in Netlinx and every string I send out just powers off the player. Something I notice when I send the string is that the TX and RX lights on port 3 flash at the same time where as on the DVD player (that now works thanks to all in this forum) only flashes the TX light. Any thoughts?
Cheers
Cheers