# BASEstartm Classic DAS
for OMNItm Software
Installation and User's Guide

Previous | Contents | Index

### 2.3.2.4 NCL Configuration

In order to use the DAS for OMNI software OSI transport templates need to be provided for MMS, S7, AP and H1 connections. To configure OSI transport templates use the command procedure @SYS$STARTUP:NET$CONFIGURE.COM ADVANCED. Select Configure Transports from the menu selection and follow the instructions for configuring the templates. For Sinec S7, Sinec AP and Sinec H1, a NULL_INTERNET template must be configured. For MMS, an INTERNET template is configured. For details on configuring templates, see DECnet-Plus for OpenVMS Installation and Configuration.

For Sinec-S7 over TCP/IP an RFC-1006 template is configured. In addition running OSI Applications over TCP/IP must be enabled using @SYS$STARTUP:NET$CONFIGURE.COM ADVANCED and the PWIP driver must be configured using @SYS$STARTUP:UCX$CONFIG.COM. For details on configuring UCX (TCP/IP), see TCP/IP Services for OpenVMS Installation and Configuration.

The following is an example of an NCL configuration script showing creation of transport templates for MMS, S7, AP and H1 protocols.

    CREATE NODE 0 OSI TRANSPORT TEMPLATE OMNINET
    SET    NODE 0 OSI TRANSPORT TEMPLATE OMNINET NETWORK SERVICE CLNS, -
    CLASSES {4}, -
    CONS TEMPLATE , -
    EXPEDITED DATA TRUE, -
    CHECKSUMS TRUE, -
    INBOUND TRUE, -
    LOOPBACK FALSE
    CREATE NODE 0 OSI TRANSPORT TEMPLATE S7NET
    SET    NODE 0 OSI TRANSPORT TEMPLATE S7NET NETWORK SERVICE CLNS, -
    CLASSES {4}, -
    CONS TEMPLATE , -
    EXPEDITED DATA TRUE, -
    CHECKSUMS TRUE, -
    INBOUND TRUE, -
    LOOPBACK FALSE
    SET    NODE 0 OSI TRANSPORT TEMPLATE S7NET CLNS INACTIVE AREA ADDRESS {49::FF-00}
    SET NODE 0 ROUTING CIRCUIT CSMACD-0 INACTIVE AREA ADDRESS = {49::FF-00}
    CREATE NODE 0 OSI TRANSPORT TEMPLATE APNET
    SET    NODE 0 OSI TRANSPORT TEMPLATE APNET NETWORK SERVICE CLNS, -
    CLASSES {4}, -
    CONS TEMPLATE , -
    EXPEDITED DATA TRUE, -
    CHECKSUMS TRUE, -
    INBOUND TRUE, -
    LOOPBACK FALSE
    SET    NODE 0 OSI TRANSPORT TEMPLATE APNET CLNS INACTIVE AREA ADDRESS {49::FF-00}
    SET NODE 0 ROUTING CIRCUIT CSMACD-0 INACTIVE AREA ADDRESS = {49::FF-00}
    CREATE NODE 0 OSI TRANSPORT TEMPLATE H1NET
    SET    NODE 0 OSI TRANSPORT TEMPLATE H1NET NETWORK SERVICE CLNS, -
    CLASSES {4}, -
    CONS TEMPLATE , -
    EXPEDITED DATA TRUE, -
    CHECKSUMS FALSE, -
    INBOUND TRUE, -
    LOOPBACK FALSE
    SET    NODE 0 OSI TRANSPORT TEMPLATE H1NET CLNS INACTIVE AREA ADDRESS {49::FF-00}
    SET NODE 0 ROUTING CIRCUIT CSMACD-0 INACTIVE AREA ADDRESS = {49::FF-00}
    ENABLE NODE 0 OSI TRANSPORT
    CREATE NODE 0 SESSION CONTROL TRANSPORT SERVICE OSI PROTOCOL = %X05

S7 devices also support OSI communications over TCP/IP using RFC-1006. The following is an example of an NCL configuration script showing creation of an RFC-1006 transport template for the S7 protocol.

    CREATE NODE 0 OSI TRANSPORT TEMPLATE S7NET
    SET    NODE 0 OSI TRANSPORT TEMPLATE S7NET NETWORK SERVICE RFC1006, -
    CLASSES {0,2}, -
    EXPEDITED DATA TRUE, -
    CHECKSUMS FALSE, -
    INBOUND TRUE, -
    RFC1006 PORT NUMBER 102, -
    LOOPBACK FALSE
    ADD NODE 0 OSI TRANSPORT RFC1006 LISTENER PORT {102}

Table 2-6 gives a list of recommended OSI transport template parameters. Table 2-7 gives a list of OSI transport parameters that may need to be modified for your intallation. These parameters are explained in detail in the DECnet-Plus documentation. Some are inter-dependent so that modifying one parameter may require changing other ones also.

Table 2-6 OSI Transport Template Parameters
Parameter | Recommended Value1
--- | ---
Keepalive Time | 3 2
Retransmit Threshold | 2 2
CR Timeout | 5
ER Timeout | 5

1The values of these parameters depends on your specific network configuration and expected response times.
2The product of these values must be lower than the /TIMEOUT value on the device definition.

Table 2-7 OSI Transport Parameters
Parameter
Maximum Transport Connections
Maximum Remote NSAPs

Other timers in the transport template may need to be modified depending on your specific hardware and network configuration.

To modify transport template values place an NCL script in SYS$COMMON:[SYSMGR] and execute it from your system startup command file. Use the following syntax to execute an NCL script.

    $RUN SYS$SYSTEM:NCL
    @SYS$MANAGER:CUSTOM_NCL_SCRIPT.NCL

Previous | Next | Contents | Index