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 38 of 70

Model 200 Controller System Manual, pages 371 to 380

Pages 371 to 380 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 371

11 Using Screen Mapping

Page 372

Model 200 Controller User’s Manual

Page 373

Using Screen Mapping

11

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, such as screen mapping. Before you can run screen mapping, you need to have defined your terminal sessions in Chapter 10, “Using Terminal Sessions.” This chapter explains how to build templates for screen mapping and how to create script files for screen mapping. It also explains how to define screen mapping sessions that match a terminal session with a script file.

Chapter Checklist Done?

‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰

Task

Page

Create a new or open an existing script file.

11-7

Set global options for the current script.

11-22

Create standard sequences for starting and ending screen mapping sessions.

11-26

Define all transactions that the current script uses.

11-34

Select a current transaction.

11-34

Define all the host screens that receive data from the current transaction.

11-63

Select a current host screen.

11-36

Define all host screen fields, regions, and messages for the current host screen.

11-39

11-3

Page 374

Model 200 Controller User’s Manual

Chapter Checklist (continued) Done?

‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰ ‰

Task

Page

Repeat the preceding two steps until you have defined all host screen fields, regions, and messages for all host screens that receive the data from the current transaction. Repeat the preceding six steps until you have defined all transactions. Determine the order of events.

11-59

Define user blocks.

11-65

View and check the script.

11-69

Configure the screen mapping sessions on the Model 200 Controller.

11-76

Build the terminal screens and group them into menus.

11-83

Generate the terminal templates from the menus.

11-102

Map the transaction fields to the host screen fields.

11-80

Save the configuration.

11-83

Download the reader program to your JANUS devices.

11-109

Download the template to your JANUS devices and your TRAKKER Antares terminals.

11-113 11-118

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

11-4

Page 375

Using Screen Mapping

11

About Screen Mapping Screen mapping lets you map transaction fields from a JANUS device or a TRAKKER Antares terminal to different host screen fields in a host application. On the Model 200 Controller, you use the Script Builder Tool to create a script file that the controller uses to map transaction fields from the data collection devices to host screen fields. You can also use the Script Builder Tool to create logon and logoff sequences in host screens, handle regions (such as error messages) on host screens, and send messages back to the source of the transaction, such as a terminal. While defining your script, you build the screens for the terminals, group them into menus, and generate each menu into a terminal template. This terminal template runs on your JANUS device or TRAKKER Antares terminal. You can either use the reader program to request the terminal template from the controller or you can download the template from the controller to your data collection devices. You also need to create screen mapping sessions that define specific transactions to be sent to a specific host terminal session using a specific script file. Screen mapping sessions allow multiple terminal sessions on the controller to simultaneously communicate with multiple terminal emulator sessions running on different hosts. Before you run screen mapping, you need to download the terminal template application (RDRPGM.EXE) to your JANUS devices. Intermec has already loaded this program on your TRAKKER Antares terminals.

11-5

Page 376

Model 200 Controller User’s Manual

This figure shows data originating from a JR2020 being sent through a BRU to the controller to a host application running in a terminal emulator.

Typical Screen Mapping Application Host Screen

Add Part Number Work Order # 1 Part # 6020 Quantity 200 Order Due Date 040996 Lot Number LN609820 ...Press enter to save...

TE

SE

R

RE

LL O 00RTN 2 l OC ed oM

Bas eR ad io PO

WE

R

91

RX RFNC

RF

81

TX

NC

AN

TE

NN

A

WO 1 TRX Part # : 6020 Qty : 200 ORD DATE : 04/09/96

200.080

11-6

Page 377

Using Screen Mapping

11

About Script Files Script files contain the logic for mapping the transaction data that is exchanged between data collection devices and a host. Using script files, the controller maps transaction fields into host screens. Intermec has designed the Script Builder Tool as a GUI tool that lets you easily create, edit, and check script files. The Script Builder Tool also helps you build your terminal application and generate it before you download it to your data collection devices. Intermec recommends that you use the Script Builder Tool to create your scripts and define user blocks to customize it. If you manually create a script, you cannot open and edit this script using the Script Builder Tool. For help manually creating a script, see the DCS 300 Technical Reference Manual.

Preparing to Use the Script Builder Tool Before you start using the Script Builder Tool, you should identify the tasks that you want the script to perform. You must know • the transactions that the script will process. You should also design one terminal screen for each transaction. • the starting point (host screen) for all transactions. If the script is going to handle only one transaction, the main host screen is the screen that contains the host screen field that will receive the first transaction field mapping. If the script is going to handle multiple transactions, the main host screen is the screen that contains the different options, such as a menu, where you can choose different options that send different transactions. • the host screens and host screen fields that will receive transaction data, such as data entry screens. • the host screens and host screen fields that will output data, such as inquiry result screens.

11-7

Page 378

Model 200 Controller User’s Manual

Single Transaction Script Files vs. Multiple Transaction Script Files You can build a script file that contains only one transaction or you can build a script file that contains many transactions, as long as they all branch from one host screen. A single transaction script file is the easiest to build. However, if you have too many single transaction script files running at the same time, you can use up system resources and the controller performance may slow down. Each script file requires a dedicated screen mapping session to run. A multiple transaction script file lets you process many transactions (one at a time) using one screen mapping session. You should group transactions that are logically related. If you watch the host terminal session while a script file is running, you will notice that when the script file maps the transaction, it always starts from the main host screen. It returns to the main host screen after it maps the last transaction field. You need to consider how much time it takes to get from the main host screen to the first host screen that receives the first transaction field mapping. Each type of script file has advantages and disadvantages. Generally, it is better to use a multiple transaction script file as long as you carefully group transactions to minimize overhead. This example shows how using a single transaction script file can reduce overhead on the system. The first figure shows a multiple transaction script file. The transaction starts from the main host screen (Screen 1) and goes through three screens before the first mapping of a transaction field to a host screen field occurs. The second figure shows a single transaction script file. The main host screen is the screen where the first mapping occurs.

11-8

Page 379

Using Screen Mapping

11

Multiple Transaction Script vs. Single Transaction Script Example Main host screen

Screen 1

↓ Screen 2

↓ Screen 3

↓ First mapping screen

Screen 4

↓ Screen 5 Back to Screen 1

Main host screen/First mapping screen

Screen 4

↓ Screen 5 Back to Screen 4

11-9

Page 380

Model 200 Controller User’s Manual

Identifying Key Elements for the Script File Before you create your screen mapping application, you need to be able to identify key elements, such as the main host screen, transactions, and host screen fields, for the script file. You also need to decide if your tasks will use single transaction script files or multiple transaction script files. Use these examples to help you determine how to structure your script file.

Example 1 - Single Transaction Script File In this example, the script file will log on to the AS/400 and invoke an MRP application called Data 3 Systems to add a work order. This task will be performed using one transaction. To complete the work order add transaction, a user will need to enter the work order part number in Screen 4, and the quantity and order due date in Screen 5. These fields will require the script file to map transaction data to them. Since this is a single transaction script file, the main host screen is the first screen (Screen 4) that has transaction data mapped to it.

Screen 1

11-10

Screen 2