Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 32 of 70

Model 200 Controller System Manual, pages 311 to 320

Pages 311 to 320 of 695

The original document is the PDF (3.9 MB). 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 Intermec 0200

Page 311

9 Using Peer-to-Peer Applications

Page 312

Model 200 Controller User’s Manual

Page 313

Using Peer-to-Peer Applications

9

Now that you have configured the Model 200 Controller to communicate with your LAN and you have configured your controller to communicate with your Intermec network, you are ready to tie the entire data collection network together using an application. This chapter explains how to configure your controller for using peer-to-peer applications and it provides guidelines on how to write TCP/IP or APPC applications so they can communicate with the controller. This chapter also provides guidelines on how to write applications that communicate using a direct TCP/IP socket interface.

Chapter Checklist Done?

‰ ‰ ‰ ‰ ‰

Task

Page

Configure the host for peer-to-peer applications.

9-5

Identify the peer-to-peer links.

9-6

Identify any transaction IDs that are routed to the peer-to-peer links.

9-11

Save and activate the configuration.

9-15

Understand how TCP/IP applications communicate with the controller.

9-16

Or, Understand how to use the direct TCP/IP socket interface.

9-23

Understand how APPC applications communicate with the controller.

9-28

When you understand these sections and perform these tasks, you can start using the controller.

9-3

Page 314

Model 200 Controller User’s Manual

About Peer-to-Peer Applications The Model 200 Controller runs an applications programming interface (API) that makes communicating with remote applications easier. Applications communicate with the controller through network communications processes called NetComms. NetComms are responsible for safely routing data from remote applications across a network to the controller and back. After you configure the controller, you need to create or modify your TCP/IP and APPC applications so that they communicate with the controller. If you need more information, see the DCS 300 Technical Reference Manual. TCP/IP Host

IBM SNA Host

Ethernet Token ring

IBM SNA Host

Token ring Twinaxial SDLC

Model 200 Controller

Data Collection Network 0200-025

9-4

Page 315

Using Peer-to-Peer Applications

9

Configuring the Host for Peer-to-Peer Applications For peer-to-peer applications, your network administrator needs to set up certain parameters on the host for TCP/IP or APPC applications.

TCP/IP Applications IP address The IP address is the address that is assigned to the Ethernet card or token ring card in the Model 200 Controller. The IP address has the format xxx.xxx.xxx.xxx where xxx is a number from 0 to 255. TCP/IP NetComm send port (4400) This number identifies the port number through which the host makes send connections to the Model 200 Controller. TCP/IP NetComm receive port (4401) This number identifies the port number through which the host makes receive connections to the Model 200 Controller.

APPC Applications LU name The Model 200 Controller’s logical unit name is the partner LU name that your application references when allocating an APPC conversation. The default is ACCNET. Network ID The network ID is the SNA network ID that was specified when you configured the Model 200 Controller. The default is APPN. MAC address The Ethernet address or Token Ring address. You can verify the default value using the View Runtime Configuration feature. For help, see “Viewing the Configuration” in Appendix A. Send transaction program This program is the Model 200 Controller’s transaction program name for the send connection. The default is RECEIVE. Receive transaction program This program is the application’s transaction program name for its receive connection to the Model 200 Controller. The default is SEND. Mode name The mode name describes the class of service and other session characteristics that you may want to alter or create to suit your network design. The default is #INTER. For help on setting up #ACCNET mode on your host, see the DCS 300 Technical Reference Manual.

9-5

Page 316

Model 200 Controller User’s Manual

Setting Up Peer-to-Peer Links on the Controller To run TCP/IP or APPC applications in your data collection network, you must identify all the application names in the Model 200 Controller. The controller puts these names in a peer-to-peer destination list. Every time an application connects to the controller, it informs the controller of its name. The controller dynamically associates the application as one of the destinations in its peer-to-peer destination list and forwards the appropriate transactions to it. The controller routes transactions to applications or other peer-to-peer destinations by one of two ways: • The controller recognizes the transaction ID and routes it to all destinations in its list that are associated with this transaction ID. • The application is the destination in the transaction header. Use the worksheets in Appendix E to help you obtain the information you need. This section describes how to set up the peer-to-peer destination list for your host applications and your data collection devices. Before you proceed, make sure you have already performed these tasks: • Installed the Model 200 Controller. • Installed and configured the connection points and downline devices. • Configured the network adapter cards.

9-6

Page 317

Using Peer-to-Peer Applications

9

To set up peer-to-peer destination list 1. From the main menu, choose Peer-to-Peer and then choose Host Connection. The Peer-to-Peer Destination List dialog box appears. 2.

Add, edit, or delete destinations. For help, see “Adding a Destination” in the next section.

3.

Choose Close to close the dialog box and return to the main menu.

9-7

Page 318 read from a scan by OCR; it may hold reading errors

Model 200 Controller User’s Manual

Adding a Destination

Configure this peer-to-peer destination and its transactions.

Destination name: Hot Standby timeout: (20 seconds [1-9999]

Transactions held in volatile memory: © None @ Unlimited @ Maximum: [50 (1-9999) (International text pass- through

~ Transactions Selected Available

4 |< Seltect<| (TDSTORI EI

| Add... Edit...

-Delivery Responses [if any)

Interactive response:

Hot Standby:

OK | Cancel | Help

Page 319

Using Peer-to-Peer Applications

Field

Description

Value

Default

Destination name

The meaningful name that identifies the destination (application).

1 to 16 alphanumeric characters

None

Hot Standby timeout

The number of seconds the controller waits for a response from this destination before it places transactions going to this destination in a Hot Standby file.

1 to 9999

20

Transactions held in volatile memory

The number of transactions the controller keeps in RAM before it writes the transactions to a Hot Standby file.

None, Unlimited, Maximum

50

International text pass-through

This check box determines how much of the transaction is converted.

Check, Clear

Clear

9

Check this box to enable this feature. The server converts only the transaction header. Clear this box to use limited EBCDIC mapping. The server converts the entire transaction. Selected

This list box contains the transactions that are routed to this destination.

Predefined

None

Available

This list box contains the transactions that are available to add to the Selected list box.

Predefined

None

Interactive response (optional)

This message is sent to the source of the transaction when the transaction for this destination is delivered successfully in Interactive mode.

1 to 39 characters

None

Hot standby (optional)

This message is sent to the source of the transaction when the transaction for this destination is written to a Hot Standby file.

1 to 39 characters

None

9-9

Page 320

Model 200 Controller User’s Manual

To define your peer-to-peer link 1. From the Peer-to-Peer Destination List dialog box, choose Add. The Peer-to-Peer Destination Parameters dialog box appears. 2. In the Destination name field, enter the name of the destination (application) that will accept the transactions in the Transaction box. 3. In the Hot Standby timeout field, enter the number of seconds the controller waits for an acknowledgment from this destination before it places the transactions going to this destination in a Hot Standby file. 4. Choose the number of transactions you want the controller to keep in RAM before it writes them to a Hot Standby file. This setting refers to the transactions the controller is processing. It does not affect the Hot Standby timeout. Choose None if you want the transaction always written to the file. This setting is the safest setting and it is also the slowest. Choose Unlimited if you do not want the transaction written to the file unless the time you set for the Hot Standby timeout expires. This setting is the fastest. Choose Maximum and enter the maximum number of transactions the controller stores in RAM before it writes them to a file. 5. Enable or disable international text pass-through. A check in the check box means that international text pass-through is enabled. For help, see “Using International Text Pass-Through” in the next section. 6. Add all transactions that you want routed to this destination (application) to the Selected list box. a. From the Available list box, select a transaction to be added to the Selected list box. b. Choose Select. 7. Remove any transactions that you do not want routed to this destination from the Selected list box. a. From the Selected list box, select a transaction to be removed. b. Choose Remove. 8. Add, edit, or delete any transactions that are listed in the Selected list box. For help, see “Adding a Transaction” later in this chapter.

9-10