Previous | Contents | Index |
The ILAN$MAX_SPT_REQUESTS parameter specifies the total number of blocks that can be allocated in the SPT (support) global section. DASes use blocks in the global section for storing data structures and for doing device I/O. The SPT global section is sized by calculating the number of SMALL, MEDIUM, LARGE and EXTRA LARGE blocks that the section should contain. Some blocks remain for the life of a device and some are allocated and deallocated for each I/O operation. Table 2-5 shows the static blocks of each size that are used by the DAS.
Block Size | Quantity1 | Block Type |
---|---|---|
EXTRA LARGE | 1 | Device 3 |
1 | Line | |
MEDIUM | 1 | Device |
10 2 | Device 3 | |
SMALL | 1 | Device |
1 | DAS |
Table 2-6 shows the number of dynamic blocks of each size that are used by the DAS. These blocks are created and deleted as the device does I/O. I/O can be initiated solicitedly by a user or a polling set or can be initiated unsolicitedly by the device.
Block Size | Quantity1 | I/O Type |
---|---|---|
LARGE | 1 | Upload 2, download 2 |
MEDIUM | 2 | Read, write, status |
1 | Upload 2, download 2 | |
2 | Upload 3, download 3 |
The size of the SPT global section can be tuned by changing the
percentage of each kind of block that is created. Refer to the
BASEstar Classic Configuration and Tuning Guide for instructions on changing the percentage of each size
of block that is created in the global section.
2.4.3 Configuring Ports
A device can be physically connected to a local area transport (LAT) port. To use a LAT port with the DAS, you must define the LAT port on the host system by using the LAT control program. The following DCL example shows how to define port_2 on the LAT node srvr4 as LTA992. It is very important when defining the LAT port to use the /NOQUEUE option. If the port is owned by another process device connection management reports an error during the establishment of a connection to the device. When you define a path and a device to BASEstar Classic device connection management LTA992 is supplied as the VAXport.
$ MCR LATCP LCP> CREATE PORT LTA992 LCP> SET PORT LTA992 /NODE=srvr4/PORT=port_2/NOQUEUE |
For the DAS for AB Data Highway Protocol to send and receive data correctly you must set and define LAT port characteristics to match the line parameters of the path definition for devices and terminals connected to the LAT. An example of the characteristics set at the LAT prompt follows:
Local> DEF PORT n SPEED 9600 Local> DEF PORT n AUTOBAUD DISABLED Local> DEF PORT n AUTOCONNECT DISABLED Local> DEF PORT n FLOW DISABLED Local> DEF PORT n PREFERRED NONE Local> DEF PORT n ACCESS REMOTE Local> DEF PORT n CHAR 8 Local> DEF PORT n PARITY NONE |
You must also set the following SYSGEN parameters to access Allen-Bradley PLCs to reduce the potential for data overruns. Use the SYSGEN utility to display the current values and AUTOGEN to reset the values accordingly. For information on using SYSGEN and AUTOGEN, refer to the OpenVMS System Management Manual.
Parameter | Value |
---|---|
TTY_ALTALARM | 0 |
TTY_ALTYPAHD | 1024 |
To enable use of the alternate typeahead buffer, type the following command from DCL:
$ SET TERM LTA992:/ALTYPEAHD/PERMANENT |
The DAS will issue an error on a connection attempt if the ALTYPEAHD parameter has not been set.
2.4.4 Setting Up Plant-Floor Equipment
To set up your plant-floor equipment, refer to the Allen-Bradley
documentation for your specific device.
Table 2-7 provides switch settings to use in setting up your KE/KF/KF-2/KF-3 communications card.
Parameter | Supported | Values |
---|---|---|
Half Duplex | No | |
Full Duplex | Yes | |
Embedded Response | No | |
BCC Error Check | Yes | |
CRC Error Check | No | |
RS-232C Handshaking | Yes 1 | |
Station Number | Yes | 1-377 (octal) 2, 1-31 (decimal) 3 |
Computer Comm Rate | Yes | 110 - 19200 4 |
Previous | Next | Contents | Index |