AN80: Inductive Modem (IM) Communication between Two Inductive Modem Modules (IMMs)
This application note assumes the user has two Inductive Modem Modules (IMMs), two IMM test couplers, and two PC serial cables.
Each IMM is shipped in Configuration Mode 7, ready to connect to a PC with a terminal program using RS-232.
- Connect a PC serial cable to each IMM at J1.
- Connect each serial cable to a PC serial port. Run two copies of Seaterm or another terminal program. If using Seaterm, select Configure/SBE 37, and on the COM Settings tab select RS-232 mode. Select the appropriate COM port for each IMM at 9600 baud, 8 bits, no parity, 1 stop bit. Select no flow control if using a terminal program other than Seaterm.
- Plug a test coupler into each IMM at J2, and run a loop of wire through the center of both couplers to a 1K series resistance . The wire acts as the mooring cable in this setup.
- Connect a 9-volt battery each IMM. Each terminal program displays an IMM> prompt when you press Enter.
Note: Commands are not case sensitive.
- The IMM cannot listen for commands from the Inductive Mooring and the Host at the same time . The terminal programs with the IMM> prompts serve as hosts in this setup. When power is applied to the IMM, the IMM immediately sends a prompt to the Host . At one of the IMM> prompts, type PwrOff and press Enter. This terminates the host service and allows this IMM to respond to commands from the Inductive Mooring Cable. Additional keystrokes will wake the IMM and the IMM> prompt will appear. If this occurs, send PwrOff again.
- At the other IMM> prompt, type SetModemPrompt=S> and press Enter. This changes the prompt from IMM> to S> to avoid confusion.
- At the S> prompt, type CaptureLine and press Enter. The IMM tests the inductive line; if the line appears quiet, the IMM starts transmitting. If electrical noise causes the IMM to incorrectly report a busy line, use the ForceCaptureLine command.
- At the S> prompt, type ID? and press Enter. The other IMM responds via the IM line. If there is no response, press Escape to return to the S> prompt; then check that the other IMM is asleep (no IMM> prompt), both couplers are plugged in, and the wire loop runs through both couplers and a 1K resistor.
- The IMM Device ID should be 00, the default ID when IMM’s are shipped. At the S> prompt, type !00GetSD and press Enter to send the status command (get Status Data). Similar commands are GetHD (get Hardware Data) and GetCD (get Configuration Data).
- In addition to its ID, the IMM may be addressed by its serial number by inserting an S and the serial number before the command. Type !S70000002GetSD (where 70000002 is the IMM serial number) and press Enter. This addressing method works for all commands starting with ! or #.
- In the IMM terminal program, press Enter. The IMM> prompt returns.
- Only one device can transmit to the IM line at a time. At the IMM> prompt, type GetLineStatus and press Enter. The IMM detects the signal from the other IMM with the S> prompt, does not attempt to transmit, and reports that the line is busy. Type CaptureLine and press Enter. The IMM again reports that the line is busy.
- At the S> prompt, type PwrOff and press Enter to put the device to sleep. Since this IMM is transmitting, it first turns off its transmitter, then goes to sleep.
- At the IMM> prompt, type CaptureLine and press Enter. If the electrical environment is noisy, the IMM may report that the line is busy. If this happens, use ForceCaptureLine to start transmitting unconditionally.
- At the IMM> prompt, type TestCableCoupler and press Enter. This command works only when the line is captured. It checks that the cable coupler is properly installed and not damaged, reports the approximate coupler impedance, and characterizes the connection as good, fair, poor, or not connected.
- The IMM automatically listens to the IM line whenever a signal with sufficient amplitude is present. Newer inductive modem instruments, such as the SBE 39-IM, also automatically listen to the IM line whenever a signal with sufficient amplitude is present. Older IM devices require a wake-up tone to enable their receivers. At the IMM> prompt, type SendWakeupTone and press Enter to send a wake-up tone compatible with older devices.
- At the IMM> prompt, type ReleaseLine and press Enter. This disables the IMM transmitter. Type PwrOff and press Enter to put the IMM to sleep.
 The system is designed to work with resistances up to several Kilo-Ohms. A very short loop (under a meter) with no resistance increases power consumption and could cause communication problems.
 The IMM will soon be able to send a busy signal to the host when it is processing IM commands and vice versa.
 This is true in the current configuration, but the Host Service on Power-up can be disabled.
Application Note Revision History
|September 2005||Initial release.|