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 by ports and passwords that permit access to Supervisor Mode.
- If a port has accessed command mode using a password that does not permit Supervisor Mode, then that port will only be able to connect to the ports that are specifically allowed by the password definition.
To Connect ports, proceed as follows:
Access command mode as described in Section 5.1. If the Password Prompt is displayed, enter a password that permits Supervisor Mode.
Invoke the /C command to connect the desired ports.
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.
To disconnect ports, proceed as follows:
Resident Disconnect: Disconnects your resident port from another port. For example, if you are communicating via Port 3, and Port 3 is connected to Port 4, a Resident Disconnect would be used to disassociate the two ports. The APS offers two different Resident Disconnect command formats; the One Character Format and the Three Character Format (for more information, please refer to Section 5.5.3.):
One Character (Default): When the One Character Disconnect Sequence is selected, simply enter the selected Logoff Character once (Default = ^X ([Ctrl] plus [X])). Note that it is not necessary to enter a carriage return before or after the Logoff Character.
Three Characters: Uses the format [Enter]LLL[Enter], where L is the Logoff Character. For example, if the Logoff Character is "+", then the three character disconnect sequence would be [Enter]+++[Enter].
If the default Resident Disconnect Sequence is not compatible with your application, both the command format and Logoff Character can be redefined via the Port Configuration menus, as described in Section 5.5.
Third Party Disconnect: (Supervisor Mode Only) The /D command is issued from your resident port to disconnect two third party ports. For example, if your Resident Port is Port 1, a Third Party Disconnect could disconnect Port 3 from Port 4.
The /D command uses the format: /D xx XX [Enter], where xx and XX are the numbers of the ports that you wish to disconnect.
The /D (Disconnect) command can only be invoked by a port that permits Supervisor Mode.
The /D command can specify both connected ports, or either of the two ports. For example, if Port 1 is your resident port, any of the following commands can be used to disconnect Port 3 from Port 4:
/D 3 4 [Enter]
or
/D 3 [Enter]
or
/D 4 [Enter]
No Activity Timeout: Providing the Timeout Disconnect feature is enabled at either connected port, a No Activity Timeout can disconnect Resident Ports, or Third Party Ports.
RS232 Ports: To configure the Timeout Disconnect Feature for the RS232 Ports, invoke the /P command to display the Port Configuration Menu for the desired port as described in Section 5.5.3. Option 10 enables and defines the Timeout Disconnect Feature.
When the Timeout Disconnect Feature is enabled, the port will automatically disconnect if no data is received for the defined Timeout Period.
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.
Access command mode. If the password prompt is displayed, key in a password that permits Supervisor Mode.
Invoke the /P command to access the Port Configuration Menu for the desired Port(s) as described in Section 5.5.3. For example, to configure Port 4, type /P 4 [Enter].
From the Port Configuration Menu, select item 1 to define the Port Name.
Repeat steps 2 and 3 above to assign identical names to the other ports in the Hunt Group. For example, a series of ports in a group could all be named "SERVER".
To connect to the next available port in the hunt group, invoke the /C command using the port name to specify the desired group. For example, /C SERVER [Enter].
Your port will be connected to the first available port in the group. If all ports are presently connected, the APS will respond with a "BUSY" message.
It is only necessary to enter enough letters of the port name to differentiate Hunt Group ports from other ports. Type an asterisk (*) to represent the remaining characters in the port name. For example, to connect your resident port to the first available port in a group of ports named "SALES1", "SALES2", and "SALES3", the connect command can be invoked as /C S* [Enter], providing no other port names begin with the letter "S".
Hunt Group port names must be unique. Otherwise, ports with similar names will also be included in the Hunt Group.
Hunt Group Example 1:
Ports 1 and 2 are configured as Modem Mode ports, and external modems are installed at both ports. Port 1 is named "MODEM1" and Port 2 is named "MODEM2".
Your resident port is Port 4. To connect to the first available external Modem, access command mode and type /C MODEM* [Enter].
Your resident port is Port 1, and you want to connect Port 2 to the first available server, access command mode and type /C 2 SERVER [Enter].
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 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 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 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 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 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 command mode (Supervisor Mode), and issue the /C command using the following format:
/C xx [Enter]
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 Mode capability, and issue the /E (Erase Buffer) command using the following format:
/E xx [Enter]
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 RS232 ports. In addition to allowing configuration of the 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 Modem Mode is selected for a port that permits Supervisor Mode, you should also define at least one password that permits Supervisor Mode in order to discourage unauthorized access to higher command functions.
Normally, 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. Passwords are defined by invoking the /F command as described in Section 5.5.3.
Notes:
- When a Modem Mode Port exits command mode, or the DCD line is lost while 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.
- If desired, the Invalid Access Lockout Feature can be configured to completely shut down a port after a user-defined number of invalid access attempts are detected. For more information on the Invalid Access Lockout Feature, please refer to Section 5.5.4.