The text of a manual · part 4 of 8
Owner's Manual: A Series, AC11 Series, ES Series, F Series, and G Series Multiport Controllers, pages 31 to 40
Pages 31 to 40 of 77
The original document is the PDF (195 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the BayTech 529 and BayTech 524
Page 31
make the host port's CTS line high and send an XON character (if XON/XOFF is enabled). Peripheral-to-multiport-to-host communication: When a peripheral device is transmitting data to the host device and the host port detects a low (negative voltage) on the DTR line, the multiport will stop transmitting data to the host device In addition, the multiport will make the peripheral port's CTS line low and send an XOFF character (if XON/XOFF is enabled). When the host port detects a high (positive voltage) on the DTR line, the multiport will resume transmitting data to the host device. In addition, the multiport will make the peripheral port's CTS line high and send an XON character (if XON/XOFF is enabled).
5.3.3
STANDARD 525/529 MODELS
Host-to-multiport-to-peripheral communication: When the host device transmits data to a peripheral device through the multiport's host port, the data is received and stored in a 256-character transmit buffer which in turn retransmits it to a peripheral device through a peripheral port. During transmission, after the buffer receives 236 characters, the multiport will make the host port CTS (Clear-To-Send) line low (negative voltage), signaling the host device that it cannot accept more data (however, in reality it can accept another 20 characters before overflowing the buffer). If XON/XOFF handshaking is enabled and the host device does not respond, 8 characters later the multiport will send an XOFF character, signaling the computer that it cannot accept more data (however, in reality it can accept another 12 characters before overflowing the buffer). When the multiport's buffer empties, the multiport will make the CTS line high (positive voltage) and send an XOFF character (if XON/XOFF is enabled), signaling the host device that it can accept more data. When the multiport retransmits the data to the peripheral device through a peripheral port, and the peripheral device cannot receive any more data, the multiport will expect to see a low on the DTR (Data Terminal Ready) line or receive an XOFF character (if XON/XOFF is enabled). When the peripheral device can receive more data, the multiport will expect to see a high on the DTR line or receive an XOFF character (if XON/XOFF is enabled). Peripheral-to-multiport-to-host communication: When a peripheral device transmits data to the host device through a peripheral port, the data is received and stored in a 3740-character receive buffer (or 7740 receive buffer for 525 units with Option 20) which in turn retransmits it to the host device through the host port. After the buffer receives 3720 characters (or 7720 characters for 525 units with 25
Page 32
Option 20), the multiport will make the peripheral port CTS (Clear-To-Send) line low (negative voltage), signaling the peripheral device that it cannot accept more data (however, in reality it can accept another 20 characters before overflowing the buffer). If XON/XOFF is enabled and the peripheral device does not respond, 8 characters later the multiport will send an XOFF character, signaling the peripheral device that it cannot accept more data. (However, in reality it can accept another 12 characters before overflowing the buffer.) When the buffer empties, the multiport will make the CTS line high (positive voltage) and send an XOFF character (if XON/XOFF is enabled), signaling the peripheral device that it can accept more data. When the multiport is sending data to the host device through the host port and the host device cannot receive any more data, the multiport will expect to see a low on the DTR line or receive an XOFF character.
26
Page 33
6
CONFIGURATION
NOTE: Most ports on all models may be configured via software commands by following a menu-driven configuration procedure (verbose mode). Some models also allow you to download a character string to configure the multiport without having to follow configuration menus (non-verbose mode). Please see Section 6.6 for a list of models that support non-verbose mode and instructions.
6.1
ALL 524 MODELS - CONFIGURATION PROCEDURE
IMPORTANT: Before you proceed, you must know the configuration of the devices that you are going to connect to your 524 unit (i.e., baud rate, word size, stop bits and parity). For your devices to communicate properly, the configuration of each port must match exactly the configuration of the device connected to that port.
6.1.1
HOST PORT CONFIGURATION
The host port of the 524 units are factory-configured at 9600 baud, 8 bit word size, 1 stop bit and no parity. If the device you connect to the host port does not match this configuration, then you may reconfigure the host port via a set of internal DIP-switches. Use the following procedure to program the host port on 524 units: 1) 2) 3) 4)
5) 6)
Turn off the power switch and disconnect the AC power cord; Lift the cover of your 524 unit by removing the screw in each corner; Locate the internal DIP-switches. Consult Table B on the following page to determine the correct setting of the DIP-switches. NOTE: If Switch 6 is "on" (parity disabled), the setting of Switch 5 (parity even or odd) will have no effect on the operation of the 524. Replace Cover; Host port configuration is now complete. The 524 will read the positions of the DIP-switches upon power-up. You may now reconfigure your peripheral ports if necessary.
27
Page 34
TABLE B - 524 HOST PORT DIP-SWITCH SETTINGS Baud Rate
Switch 1
Switch 2
Switch 3
150
Off
Off
Off
300
On
Off
Off
600
On
Off
On
1200
Off
Off
On
2400
On
On
Off
4800
Off
On
Off
9600
Off
On
On
19200
On
On
On
Stop Bits
Switch 4
2
Off
1
On
Parity
Switch 5
Even
Off
Odd
On
Parity
Switch 6
Enable
Off
Disable
On
Word Size
Switch 7
8 Bits
Off
7 Bits
On
NOTE: Switch #8 has no effect on the host port's configuration.
28
Page 35
6.1.2
ALL 524 MODELS EXCEPT 524F(P) PERIPHERAL PORT CONFIGURATION
To access the configuration mode of the multiport, connect a dumb terminal (or a PC running a terminal emulation program) to the host port, Port 5 of the 524. You may review the 524's current status by sending an ASCII Control-R followed by 0. You may also reconfigure an individual peripheral port's serial port parameters by sending ASCII Control-R followed by the desired peripheral port number, i.e., 1 through 4, depending on which peripheral port you want to reconfigure.
6.1.2.1
STATUS
The 524 unit will respond to the receiving of Control-R followed by 0 with a table similar to the following which shows the current serial port configuration for the peripheral ports: Bay Technical Associates Model 524 Port Expander, Rev. x.xx Copyright 198x
CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
1
9600
8
1
NONE
2
9600
8
1
NONE
3
9600
8
1
NONE
4
9600
8
1
NONE
If the current port configuration does not match your application, then you must reconfigure the appropriate peripheral port as described in Section 6.1.2.2.
6.1.2.2
SET SERIAL PORT CONFIGURATION
You may reconfigure individual peripheral ports by sending ASCII Control-R followed by the desired peripheral port number (1 through 4).
29
Page 36
The 524 will respond to the receiving of Control-R and the desired peripheral port number with a current status of that peripheral port and a list of options. For example, if you wish to reconfigure peripheral Port 3, send Control-R followed by "3". The 524 will respond back with the following menu: CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
3
9600
8
1
NONE
QUIT.........………….......1 SET BAUD RATE..….....2 SET WORD SIZE..…......3
SET STOP BITS.....4 SET PARITY......…5
ENTER REQUEST: You may now reconfigure Port 3 by selecting the appropriate option (1-5) from the menu. For example, to change the baud rate to 300 baud, send character 2 (set baud rate). The 524 will respond with the following menu: 1 2 3 4 5 6 7
FOR FOR FOR FOR FOR FOR FOR
300 600 1200 2400 4800 9600 19200
ENTER REQUEST: NOTE: A colon (:) always precedes a request for data from the 524 unit. Send a "1" for 300 baud rate and the 524 will respond with the following menu: CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
3
300
8
1
NONE
QUIT...........……….......1 SET BAUD RATE.…....2 SET WORD SIZE..........3 ENTER REQUEST: 30
SET STOP BITS.....4 SET PARITY....…..5
Page 37
If there are no other changes for this port, send a "1" to exit the serial port configuration mode for Port 3. The programmable 524s (i.e., 524s with a "P" suffix) will respond with the following message: Save Changes Permanently? (Y/N): If you answer "Y" (yes), the new configuration for that port will be stored permanently in non-volatile memory, and the multiport will subsequently power-up at the new configuration. If you answer "N" (no), the new configuration will be stored in RAM, and on the next power-up, the multiport will revert to the previous configuration. NOTE: Menu selection is case sensitive. Be sure to enter Capital Y or Capital N in response to the prompt. The programmable 524 will now return to the operations mode. NOTE: Non-programmable 524s (i.e., 524s without a "P" suffix) will return to operations mode immediately after you respond with "1" (Quit) from the Current Port Configuration menu above. NOTE: Please see Section 2 for a list of available options on the 524AP, 524AC11P, and 524ESP.
6.1.3
524F(P) PERIPHERAL PORT CONFIGURATION
To access the configuration mode of the multiport, connect a dumb terminal (or a PC running a terminal emulation program) to the host port, Port 5 of the 524F(P). To review the configuration of all peripheral ports on the Model 524(F), send from the Host Port an ASCII Control-T followed by a capital "K". To reconfigure peripheral Port 1, send a Control-T followed by an "A". To reconfigure peripheral Port 2, send a Control-T followed by a "B". To reconfigure peripheral Port 3, send a Control-T followed by a "C". To reconfigure peripheral Port 4, send a Control-T followed by a "D".
6.1.3.1
STATUS
The 524F(P) will respond to the receiving of Control-T followed by capital K with a table similar to the following which shows the current serial port configuration for the peripheral ports:
31
Page 38
Bay Technical Associates Model 524 Port Expander, Rev. x.xx Copyright 198x CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
1
9600
8
1
NONE
2
9600
8
1
NONE
3
9600
8
1
NONE
4
9600
8
1
NONE
If the current port configuration does not match your application, then you must reconfigure the appropriate peripheral port as described in Section 6.1.3.2.
6.1.3.2
SET SERIAL PORT CONFIGURATION
You may reconfigure individual peripheral ports by sending ASCII Control-T followed by ASCII Capital A, B, C , or D for peripheral ports 1 through 4 respectively. The 524F(P) will respond to the receiving of Control-T and the appropriate peripheral port letter with a current status of that peripheral port and a list of options. For example, if you wish to reconfigure peripheral Port 3, send Control-T followed by "C". The 524F(P) will respond back with the following menu: CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
3
9600
8
1
NONE
QUIT............……….....1 SET BAUD RATE........2 SET WORD SIZE.........3 ENTER REQUEST:
32
SET STOP BITS.....4 SET PARITY.....….5
Page 39
You may now reconfigure Port 3 by selecting the appropriate option (1-5) from the menu. For example, to change the baud rate to 300 baud, send character 2 (set baud rate). The 524F(P) will respond with the following menu: 1 2 3 4 5 6 7
FOR FOR FOR FOR FOR FOR FOR
300 600 1200 2400 4800 9600 19200
ENTER REQUEST: NOTE: A colon (:) always precedes a request for data from the 524F(P) unit. Send a "1" for 300 baud rate and the 524F(P) will respond with the following menu: CURRENT PORT CONFIGURATION PORT
BAUD RATE
WORD SIZE
STOP BITS
PARITY
3
300
8
1
NONE
QUIT...........………......1 SET BAUD RATE........2 SET WORD SIZE.........3
SET STOP BITS.....4 SET PARITY..…....5
ENTER REQUEST: If there are no other changes for this port, send a "1" to exit the serial port configuration mode for Port 3. The 524FP will respond with the following message: Save Changes Permanently? (Y/N): If you answer "Y" (yes), the new configuration for that port will be stored permanently in non-volatile memory, and the multiport will subsequently power-up at the new configuration. If you answer "N" (no), the new configuration will be stored in RAM, and on the next power-up, the multiport will revert to the previous configuration. NOTE: Menu selection is case sensitive. Be sure to enter Capital Y or Capital N in response to the prompt. The 524FP will now return to the operations mode. 33
Page 40
NOTE: The 524F (non-programmable) will return to operations mode immediately after entering "1" (Quit) from the Current Port Configuration menu. NOTE: Please see Section 2 for available options on the 524F(P).
6.2
ALL 528 NON-PROGRAMMABLE MODELS - CONFIGURATION PROCEDURE
IMPORTANT: Before you proceed, you must know the configuration of the devices that you are going to connect to your 528 unit, i.e., baud rate, word size, stop bits and parity. For your devices to communicate properly, the configuration of each port must match exactly the configuration of the device connected to that port.
6.2.1
HOST PORT CONFIGURATION
The host port of the 528 units are factory-configured at 9600 baud, 8 bit word size, 1 stop bit and no parity. If the device you connect to the host port does not match this configuration, then you may reconfigure the host port via a set of internal DIP-switches. Use the following procedure to program the host port on 528 units: 1) 2) 3) 4)
5) 6)
34
Turn off the power switch and disconnect the AC power cord; Lift the cover of your 528 unit by removing the screw in each corner; Locate the DIP-switches on the back panel. DIP switch bank A is used to configure the host port. Consult Table C on the following page to determine the correct settings of the DIP-switch bank A. NOTE: If Switch A7 is "on" (parity disabled), the setting of Switch 5 (parity even or odd) will have no effect on the operation of the 528. Replace Cover; Host port configuration is now complete. The 528 will read the positions of the DIP-switches upon power-up. You may now reconfigure your peripheral ports if necessary.