Any-to-Any Mode Ports can be connected to other Any-to-Any, Passive, Buffer, or Modem Mode Ports by accessing Command Mode and issuing the /C Command. All ports can be configured for the Any-to-Any Mode.
8.1.1. Port Connection and Disconnection
The APS provides communication between devices without the requirement that both devices use the same communication parameters. This allows you to connect devices that use dissimilar baud rates, parity, handshake, and etc. The APS converts data rates and other parameters, eliminating the need to select common parameters for all connected devices.
Two different types of connections can be made between APS ports; Resident Connections and Third Party Connections.
Notes:
- Third Party Connections can only be initiated from a port with Supervisor Level command capability.
- If a port has accessed Command Mode using the Port Password (User Mode), then that port will only be able to connect to other ports that share the same port password.
To Connect ports, proceed as follows:
When the /C command specifies the port name, it is only necessary to enter enough letters to differentiate the desired port from other ports. Type an asterisk (*) to represent the remaining characters in the port name. For example, to connect your resident port to a port named "SALES", the connect command can be invoked as /C S*, providing no other port names begin with the letter "S".
There are three different methods for disconnecting ports, the Resident Disconnect, the Third Party Disconnect, and the No Activity Timeout. Providing the Timeout feature is enabled, a No Activity Timeout will disconnect resident ports or third party ports.
Note: When Any-to-Any Mode, Buffer Mode, or Passive Mode are selected, Option 74 in the Port Parameters Menu determines how the DTR signal will react when the port disconnects. The DTR signal can either be held low, held high, or pulsed and then held high.
Notes:
- When connected ports time out, both ports will exit command mode after disconnecting.
- When an unconnected port is left in Command Mode and no additional data activity is detected, the port will automatically exit Command Mode when its defined timeout value elapses.
A Hunt Group creates a situation where the APS will scan a group of ports and connect to the first available port in the group. Hunt Groups are created by assigning identical or similar names to two or more ports. Hunt Groups can be defined using Any-to-Any, Passive, Buffer, or Modem Mode Ports.
Hunt Group port names must be unique. Otherwise, ports with similar names will also be included in the Hunt Group.
Hunt Group Example 1:
Hunt Group Example 2:
Passive Mode Ports function the same as Any-to-Any Mode Ports, but do not allow access to Command Mode. A Passive Mode Port can communicate with other ports, but cannot enter Command Mode, and therefore cannot invoke commands to redefine port parameters, display status, and etc.
Passive Mode Ports can be connected by accessing the Command Mode from a free Any-to-Any Mode or Modem Mode Port, and invoking the Third Party Connect or Resident Connect Command as described in Section 8.1.1. Passive Mode ports will not buffer data, except during baud rate conversion.
Notes:
- A Passive Mode Port is not allowed to access the Command Mode.
- In order to ensure supervisor access to important command functions, the Passive Mode is not available to Ports 1 and 2 (SetUp Ports).
- Port 8 (Internal Modem Port) cannot be configured as a Passive Mode Port.
Ports configured as Buffer Mode ports will collect data from the connected device and store it in the APS's statically allocated memory. Each APS port features a fixed length, fixed position data buffer.
The Buffer Mode allows collection of data from various devices without the requirement that all devices use the same communication parameters (e.g. baud rate, parity, etc.).
Notes:
- Buffer Mode Ports cannot access the Command Mode.
- In order to ensure supervisor access to important command functions, the Buffer Mode is not available to Ports 1 and 2 (SetUp Ports).
- Port 8 (Internal Modem Port) cannot be configured as a Buffer Mode Port.
8.3.1. Reading Data from Buffer Mode Ports
To retrieve data from Buffer Mode Ports, you must first determine which port buffers contain data. To check port buffers for stored data, access the Command Mode and type /S [Enter] to display the Port Status Screen.
To retrieve data from buffer memory, go to a free Any-to-Any or Modem Mode Port, access the Command Mode (Supervisor Level), and issue the /C command using the following format:
Where xx is the number or name of the port buffer to be read.
If the port's buffer is empty, the APS will send a message which reads "Connected xx, Buffer Empty"; where "xx" is the port number. If the buffer contains data, the APS will display a prompt that offers four options:
Note: All four of these options also allow pass-through communication with the device connected to the Buffer Mode port.
To clear data from the buffer, use the Erase/Connect option, or go to a free Any-to-Any or Modem Mode Port with Supervisor Level command capability, and issue the /E (Erase Buffer) command using the following format:
Where xx is the number or name of the port buffer to be cleared.
The Status Screen lists the amount of Buffer Memory currently used by each port. The APS uses buffer memory in two different ways, depending on the user-selected port mode.
If the Status Screen indicates an accumulation of data, the /E (Erase Buffer) command can be invoked to clear the buffer.
In addition to allowing data transfer, the Modem Mode also provides additional functions specifically related to modem communication. A Modem Mode Port can perform all functions normally available in Any-to-Any Mode. The Modem Mode is available to all APS RS232 ports. In addition to allowing configuration of the APS-8M's internal modem, the Modem Mode also simplifies the process of connecting an external modem to Ports one through seven.
Note: Port 8 (the internal modem port) is always configured for the modem mode. Port 8 cannot be configured as an Any-to-Any Mode, Buffer Mode or Passive Mode port.
When the Modem Mode is selected, the port configuration menu (command /P) will display three additional prompts, which allow the user to re-define the modem reset string, initialization string, and hang-up string. When the Modem Mode is selected for a port with Supervisor Level command access, the Supervisor Password should be defined. This will discourage unauthorized access to higher command functions.
When a call is received, the unit will prompt the caller to enter a password. The APS allows three attempts to enter a valid password. If the correct password is not entered in three attempts, or if the user does not respond to the password prompt within 30 seconds, the modem will disconnect. The password can be defined and enabled by invoking the /P command as described in Section 5.5.3.
Notes:
- When a Modem Mode Port exits Command Mode, or the DCD line is lost while the Command Mode is active, the APS will pulse the DTR line to the modem. The unit will then send the user-defined modem command strings to make certain the modem is properly disconnected and reinitialized.
- All APS-8M RS232 ports can use both the unit's internal modem and external modem(s) installed at another RS232 port, providing that the port password allows access to the desired modem port. To call out, invoke the /C command to connect to the port, and then access the modem as you normally would.