Download Inductive Modem Module (IMM) User`s Manual

Transcript
Section 5: IMM-Host Interface in Host Service Mode
5.5.1 TModem2 Maximum Wait for Start of IM Reply
After transmitting an IM command to which a reply is expected, the IMM waits for the first byte of the reply until a timeout
occurs19. This timeout and the setting to control the timeout period are called TModem2. Valid values for TModem2 are
from 5 to 3000; units are tens of milliseconds (TModem2=100 means 1 second). Note: If the remote device is an IMM, the
remote IMM initiates its reply before attempting to wake-up the remote host. TModem2 is analogous to THost2 on the IM
receiver.
5.5.2 TModem3 Maximum IM Receive Time
After transmitting a command and receiving a start of reply indicator, the IMM listens to the reply until the reply
terminates or a timeout occurs. This timeout and the setting to control the time period are called TModem3. TModem3 is
analogous to THost3 on the IM receiver. Set TModem3 of the IMM transmitting the command to match or be slightly
greater than THost3 of the IMM receiving the command. If the receiver’s THost3 is much greater than the transmitter’s
TModem3, the transmitter might start to send a new command while the receiver is still replying to the first command.
Valid values for TModem3 are from 100 to 60000; units are tens of milliseconds (TModem3=100 means 1 second). This
allows IM receive time to range from 1 second to 600 seconds (ten minutes).
In Config Type 1, TModem3 has the same meaning, but different units. The units of TModem3 in Config Type 1 are
seconds, with a maximum value of 600 seconds. If the GetCD response shows TModem3>600 , the actual delay in Config
Type 1 is 600 seconds.
5.5.3 TModem4
TModem4 applies only to Config Type 1 bii binary commands (a special case for use exclusively with older SBE 44 and
UIM devices). TModem4 is the maximum inter-character delay time before the IMM terminates reception of a reply to a bii
command. This is analogous to the BINARYGAP setting on the SIM. Valid values for TModem4 are 0 to 3000; units are
tens of milliseconds (TModem4=3000 means 30 seconds). The TModem4 setting exists in IMM firmware V1.02 and later.
Note that inter-character delays cannot terminate IM reception in most communication, because the system may receive
noise characters if the IMM is receiving while nothing is transmitting to the line.
5.6 Exiting Host Service Mode
The host should exit Host Service mode with the PwrOff command. The PwrOff command returns the IMM to Sleep mode.
If the host removes the IMM’s power supply, it should first send the PwrOff command and then wait 100 milliseconds
before cutting power.
19
If no IM carrier is detected, the IMM does not wait for THost2, but terminates immediately with a NO REPLY Error.