For the last couple of days I've been trying to get a Sony PCM-7040 to respond to commands over RS232, and failed.
The PCM-7040 is a studio grade DAT recorder dating back to the early '90s. It has a 25 way RS232 port on the back, which (according to the service manual) supports a list of commands that allow a PC to query its status, clear error logs and so on.
I've discovered that:
- The Sony will transmit its configuration, fault logs etc without a problem; these are triggered by pressing buttons on the front panel.
- To transmit, the Sony requires RTS connecting to CTS, otherwise it just hangs waiting for CTS to go high. It's also OK to assert CTS from the PC.
- It also requires DSR high, otherwise it displays an error ('---DSR Off---') when attempting to transmit.
None of this is unexpected for an RS232 device using hardware flow control. The problem is that I absolutely cannot get it to respond to any commands from the PC!
The serial port of the Sony is configured as per the recommendations in the service manual ("ISR" protocol, 9600, 7O1). But when I send "*IDN?;" (or any of a number of other commands or slight variations thereof), I get no response at all. Nothing. Nada. B*gger all.
It has an RS232 'status' entry in the service menu, which shows the most recently received character in Hex, and this works OK, so I know the machine is physically receiving characters from the PC and decoding them correctly. The status display also shows the state of the DSR and DCD inputs, and they're working too. The waveforms in both directions look OK on a scope. Communication from the Sony to the PC is fine.
I've even tried a second PCM-7040, in case there's some bizarre hardware fault with one unit... same problem.
I'm at a loss now for things to try. The hardware seems fine, but in the absence of any error messages or debug info, I've no idea why it seems to be ignoring commands from the PC.
Any ideas from the system integration gurus?