The text of a manual · part 39 of 70
Model 200 Controller System Manual, pages 381 to 390
Pages 381 to 390 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 381
Using Screen Mapping
Screen 3
Mi A - A - 5250 Emulator File
BUST HESS PLANNING
288 © ROUGH CUT CAPACITY PLANNING
NASTER PRODUCTION SCHEQULE a MATERIAL
PRODUCT, REQUIREMENT $ STRUCTURE PLANNING
4488 = DETALL CAPACITY PLAKKI NG aoe | SHOP
FLOOR 4288 © STANDARD PRODUCT COST
CONTROL EXTER HEH OPTION i S25 HPL A
BH PURCHASE ORDER MANAGEMENT
TRVERT ORY
MANAGEMENT SHH LORE
ORDER
MANAGEMENT a
Renu
Screen 4 (Main Host Screen)
Mii A - A - 5250 Emulator File Edit Settings 6 1!
Ider Hurber,
S25 HPL
Screen 5
Mi A - A - 5250 Emulator File Edit ‘Settings Keyboard Help 1 OPK F CeH
2BeA BOSAPLL A ik oo
RAWONAS
11-11
Page 382
Model 200 Controller User’s Manual
Example 2 - Multiple Transaction Script File This example adds another transaction to Example 1. Besides the work order add transaction, the script file processes a work order quantity inquiry transaction. The result of the query is sent back to the application that is running on the terminal. These screens show two transaction paths branching from Screen 3. If you enter 915 in the Enter Menu Option field of Screen 3, you will go to Screen 4 to process the work order add transaction. However, if you enter 910, you will go to Screen 6 to process the work order quantity inquiry transaction. Screen 3 is the central starting point for both transactions and therefore, it is the main host screen. The work order quantity inquiry transaction requires you to enter the work order in Screen 6 to start the inquiry. Therefore, the Work Order field will require the script file to map transaction data to it. Screen 7 shows the result of the inquiry. The number in the Order Qty field will be sent back to the terminal application. Therefore, the Order Qty field is an output region. The query result will be sent back to the terminal using a transaction message. To learn how to define a transaction message, see “Adding a Message” later in this chapter.
Screen 3 (Main Host Screen)
11-12
Page 383
Using Screen Mapping
Screen 4 (Menu Option 915)
Screen 5
Screen 6 (Menu Option 910)
Screen 7
11
11-13
Page 384
Model 200 Controller User’s Manual
Understanding How the Script Builder Tool Flows Use this table and the flow chart on the next page to help you understand how to use the Script Builder Tool. Step
Button Name
Description
1
New/Open
Start data collection on the controller. Create a new script file and select a temporary host session for capturing keystrokes.
2
Logon
Capture the keystrokes that take the user from the logon screen to the main host screen. Define the main host screen. This host screen becomes the current screen.
3
Transaction
Choose a current transaction by either adding a new transaction or selecting an existing transaction and choosing Current.
4
Field List
Define the host screen fields (input fields) that are used on the current screen. The script maps transaction fields to these fields.
5
Region List
Define the regions for the current screen. Regions can handle errors on the host screen and they can output data.
6
Next Screen
Define the next host screen. This host screen becomes the current screen. Go to Step 4 (1 in the flow chart) to define fields and regions for the current screen. Go to Step 3 (2 in the flow chart) to choose a new current transaction. Go to Step 7 (3 in the flow chart) when you have finished adding all the transactions. The last screen should be the main host screen.
11-14
7
Normal Logoff
Capture the keystrokes that take the user from the main host screen to the logoff screen.
8
Abnormal Logoff (Optional)
Capture the keystrokes that take the user from any screen to the logoff screen.
9
Save
Save the script file. You should save the script file periodically while you work.
Page 385
Using Screen Mapping
11
Script Builder Tool Flow Chart New Script
Logon Sequence
Define Main Host Screen
Select Transaction
Define Fields
Define Regions o n
Define Next Screen p
Normal Logoff Sequence
Abnormal Logoff Sequence
Save Script
11-15
Page 386
Model 200 Controller User’s Manual
Using the Script Builder Tool To use screen mapping, you need to create a script file. If you want to capture keystrokes on the host screen for a logon, a normal logoff, and an abnormal logoff, you need to start a temporary host session. You also need to start a host session if you want to get host attributes from the host screen. From the main menu, choose Screen Mapping and then Script Builder. The Script Builder Tools window opens. All of the toolbar buttons for the major script building tasks are considered primary or configuration buttons. These buttons contain a check mark in the upper right corner, such as the New/Open button. All buttons for secondary or maintenance tasks contain a blue wrench in the upper right corner, such as the View Script button.
11-16
Page 387
Using Screen Mapping
11
Creating a New Script File
Field
Description
Value
Default
Script name
The unique name of the script you are creating or opening.
1 to 8 alphanumeric characters
None
Description (Optional)
A paragraph of text that describes the script.
1 to 255 characters
None
Session ID (Optional)
The session ID that you want to use when creating this script.
Predefined
None
To create a new script file 1. From the Script Builder Tools window, choose Script. 2. Choose New/Open. The New/Open Script dialog box appears. 3. In the Script name field, enter a unique name for the script. 4. (Optional) In the Description box, enter a description for the script.
11-17
Page 388
Model 200 Controller User’s Manual
5. (Optional) In the Session ID field, click the down arrow on the right side of the field. A list of session IDs appears. Choose a session ID. Note: This temporary host session does not have to be the same host session as the run-time screen mapping session you associate with the script. 6. (Optional) Choose Start Session. The host window opens. 7. Choose OK to return to the Script Builder Tools window.
Opening an Existing Script File You need to start a temporary host session to capture keystrokes for logon, logoff, and abnormal logoff sequences. You also need an active host session if you want to use the Get Field feature. To open an existing script 1. From the Script Builder Tools window, choose Script. 2. Choose New/Open. The New/Open Script dialog box appears. 3. In the Script name field, click the down arrow on the right side of the field. A list of existing scripts appears. Choose a script. 4. (Optional) In the Session ID field, click the down arrow on the right side of the field. A list of session IDs appears. Choose a session ID. Note: If you have started data collection on the controller, you cannot choose any session that is currently being used. 5. (Optional) Choose Start Session. The host window opens. 6. Choose OK to return to the Script Builder Tools window.
Saving the Script File You should periodically save your script while you are working on it. When you choose OK in a dialog box, the changes are temporarily stored in RAM. Choose Save or Save As to store your changes to disk. Note: This toolbar button will not be available until you make changes to a new or existing script file.
11-18
Page 389
Using Screen Mapping
11
To save a script 1. From the Script Builder Tools window, choose Script. 2. Choose Save. The script is saved to disk.
Copying a Script File 1. Open the script file that you want to copy. For help, see “Opening an Existing Script File” earlier in this chapter. 2. From the Script Builder Tools window, choose Script. 3. Choose New/Open. The New/Open Script dialog box appears. 4. In the Script name field, click the down arrow on the right side of the field. A list of existing scripts appears. Choose a script to copy. 5. Choose Save As. The Save Script As dialog box appears.
6. In the Script name field, enter a unique name for the new script. Or, click the down arrow on the right side of the field. A list of existing script names appears. Select one. 7. In the Description box, enter a new description for the script.
11-19
Page 390
Model 200 Controller User’s Manual
8. To assign new transactions to the new script, check the Use different transactions check box. The Save As Script With Different Transaction Names dialog box appears. Or, clear this check box if you want to assign new transactions later while you are editing the script. Note: If the current script does not have any transactions assigned to it, the check box is grayed out.
9. In the Transaction name field, enter the name of the new transaction and choose Change Name. The old and new transaction names appear in the Old Transaction Name - New Transaction Name list box. Or, in the Available Transactions list box, select the transaction that you want to use. Choose Replace Old Name. The old and new transaction names appear in the Old Transaction Name - New Transaction Name list box. 10. If you want to restore the old transaction name or if you want to choose another new transaction name, select the old transaction name from the Old Transaction Name - New Transaction Name list box and choose Restore Old Name.
11-20