The text of a manual · part 48 of 70
Model 200 Controller System Manual, pages 471 to 480
Pages 471 to 480 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 471
Using Screen Mapping
11
Adding a Menu
To add a menu 1. From the Menu List dialog box, choose Add. The Menu Items dialog box appears. 2. In the Menu name field, enter a name for the group of screens you are selecting that you will generate into a template. 3. In the Selected Screens list box, add screens to the menu by selecting a screen in the Available Screens list box and choosing Add. 4. In the Selected Screens list box, remove screens from the menu by selecting the screen and choosing Remove. 5. Choose OK to save your changes and return to the Menu List dialog box.
11-101
Page 472
Model 200 Controller User’s Manual
Generating Menus Into Templates When you have built the menus from the screens, you need to generate them into terminal templates. Each menu generates into one terminal template. You can use the download server feature to download this terminal template to your data collection devices or you can use the reader program on your devices to request it. For help, see “Configuring Your JANUS Devices” and “Configuring Your TRAKKER Antares Terminals” later in this chapter. To generate a terminal template 1. From the Script Builder Tools window, choose Terminal Template. 2. Choose Generate Templates. The Generate Template dialog box appears.
3. In the Menu name field, click the down arrow on the right side of the field. A list of the menus that you have created appears. Select the menu that you want to generate into a terminal template. 4. In the Template file name field, click the down arrow on the right side of the field. A list of existing terminal template filenames appears. Select the terminal template you want. Or, enter a new terminal template filename. The default value is the first eight characters of the menu name with a .TPL extension. 5. Choose OK. The menu is generated into a terminal template that you download to your devices.
11-102
Page 473
Using Screen Mapping
11
Saving and Activating Your Run-Time Configuration When you finish configuring screen mapping, you should save your changes. If you are done configuring the controller, activate your run-time configuration. When the activate is complete, a message box appears if you need to reboot the controller. To save and activate your run-time configuration 1. From the main menu sidebar buttons, choose Save and Activate. The Activate Configuration message box appears. 2. Choose Activate. The controller saves your run-time configuration to disk and it becomes your active configuration. If you are ready to start data collection, from the main menu sidebar buttons, choose Start Data Collection.
Script Builder Tool Limitations Validation can be performed by the data collection device or the host application. The script cannot perform any validation. The Script Builder Tool cannot generate these commands: ACK_MESSAGE
IF_BATCH
SEARCH_SCREEN
AUDIT
IF_SEARCH
USER_INPUT
CAPTURE_POS
LOG_ERROR
WAIT_FOR_POS
FILL_FIELD
PAUSE
WAIT_FOR
IF_
PUT_MAPPED_TRANS
WAIT_FOR_LABEL_POS
If you need to use these commands, you can define a user block to insert these commands into the script. For help, see “Defining User Blocks” earlier in this chapter.
11-103
Page 474
Model 200 Controller User’s Manual
PUT_TRANS_FIELD generates is:
The format of this command that the Script Builder Tool
PUT_TRANS_FIELD transactionfieldnumber fieldlabel where: transaction field number is the position of the field in the transaction.
field label is the name of the host screen field you want to map to the transaction field.
In the DCS 300 Technical Reference Manual, there are two optional parameters following the field label that allow you to map partial data to a host field. The Script Builder Tool does not support partial data mapping. These parameters are: SEND_MESSAGE
There are two types of messages: status and transaction.
For status messages, the format of this command that the Script Builder Tool generates is: SEND_MESSAGE "TERM_MESSAGE," + userdefinedtext + [regionlabel | CUR_POS | CUR_ROW] SRC Status messages always starts with “TERM_MESSAGE,” which is automatically generated. The destination is always fixed to SRC, the source of the transaction, which is assumed to be an Intermec terminal. The SRC can only receive the message if the Wait for response check box is checked in the Terminal Screen and Fields dialog box. For transaction messages, the format of this command that is generated by Script Builder Tool is: SEND_MESSAGE userdefinedtext + [regionlabel | CUR_POS | CUR_ROW] SRC The user-defined text contains data in the format of a transaction and again the destination is fixed to SRC. This type of message is delivered to the source of the transaction and the transaction data is mapped to the terminal screen according to the terminal template definition. In the DCS 300 Technical Reference Manual, the SEND_MESSAGE command lets you specify a destination other than SRC. You can also have as many concatenations as you want, as long as the string does not exceed the maximum line length. If the Script Builder Tool generates the SEND_MESSAGE command, you are restricted to these formats.
11-104
Page 475
Using Screen Mapping
11
CURRENT_SCREEN The Script Builder Tool generates this command and places it as the first line of every set of events for each transaction. The screen label for this command is the main screen, since every set of events for each transaction starts from processing the main screen events. You cannot control where this command appears in the script.
VT/ANSI Screen Mapping Limitations VT/ANSI terminals have some limitations that affect how you can use screen mapping. However, if you are having problems because of a limitation, you can use the WAIT_FOR scripting command. For help, see the DCS 300 Technical Reference Manual. • You cannot automatically position the host cursor to the host screen field in VT/ANSI screen mapping. However, you can program the script to wait until the cursor is at the field using the WAIT_FOR command. To move the host cursor to the desired host screen field, you add keystrokes, such as NEWLN, to the script. When you define a host screen field in Script Builder, you can define an exit keystroke that will be applied after field mapping. If the exit field keystroke will not move the host cursor to the next host screen field, you can define keystrokes using the user block feature. Make sure that you add these keystrokes before the PUT_TRANS_FIELD command for the next field. • When the host VT/ANSI screen is in Scroll mode and the host is using pseudo field-formatted screens, the server does not know where to put the data on the host screen. You must use the script WAIT_FOR commands so the server knows when the host is done sending data. • VT terminal sessions and the VT windows that are displayed on the controller screen cannot show blinking text. If the host application sends blinking text to a VT terminal session, the controller shows the text as white text on a dark red background. If it sends blinking text to a VT window, the controller shows the text as green text on a black background.
11-105
Page 476
Model 200 Controller User’s Manual
VT Keyboard Mapping and Script Keystroke Names This table shows how VT keyboard keys map to the Model 200 Controller keyboard and to the script keystroke names. For a diagram of how the VT keyboard maps to the controller keyboard, see Chapter 8, “Using Terminal Emulation.”
11-106
VT Keyboard
Controller Keyboard
Script Name
Enter (keypad)
Enter (keypad)
ENTER
, (keypad comma)
+ (keypad plus)
CLEAR
Not used
Not used
LTAB
Tab
Tab
RTAB
Delete
Backspace
DEL
Ctrl-H
Shift-Backspace
BACKSP
Insert
Insert
INS
- (keypad minus)
Shift-+ (keypad plus)
ERS_EOF
Cursor left
Cursor left
CUR_LFT
Return
Enter (keyboard)
NEWLN
Spacebar
Spacebar
SPACE
Not used
Not used
RESET
Cursor up
Cursor up
CUR_UP
Cursor down
Cursor down
CUR_DN
Cursor right
Cursor right
CUR_RT
Find
Home
HOME
PF1
Num Lock
PF1
PF2
/ (keypad forward slash)
PF2
PF3
* (keypad asterisk)
PF3
PF4
- (keypad minus)
PF4
Not used
Not used
PF5
F6
F6
PF6
F7
F7
PF7
Page 477
Using Screen Mapping
11
VT Keyboard Map (continued) VT Keyboard
Controller Keyboard
Script Name
F8
F8
PF8
F9
F9
PF9
F10
Alt-F10
PF10
F11
Shift-F1
PF11
F12
Shift-F2
PF12
F13
Shift-F3
PF13
F14
Shift-F4
PF14
F15/Help
Shift-F5
PF15
F16/Do
Shift-F6
PF16
F17
Shift-F7
PF17
F18
Shift-F8
PF18
F19
Shift-F9
PF19
F20
Shift-F10
PF20
0 (keypad 0)
0 (keypad 0)
PF21
1 (keypad 1)
1 (keypad 1)
PF22
2 (keypad 2)
2 (keypad 2)
PF23
3 (keypad 3)
3 (keypad 3)
PF24
4 (keypad 4)
4 (keypad 4)
END
Prev Scrn
Page up
PAGEUP
Next Scrn
Page down
PAGEDN
Select
End
PA1
Remove
Delete
PA2
Ctrl-[
Esc
PA3
5 (keypad 5)
5 (keypad 5)
TEST
6 (keypad 6)
6 (keypad 6)
SYSREQ
7 (keypad 7)
7 (keypad 7)
ATTN
11-107
Page 478
Model 200 Controller User’s Manual
VT Keyboard Map (continued) VT Keyboard
Controller Keyboard
Script Name
8 (keypad 8)
8 (keypad 8)
FLDPLUS
9 (keypad 9)
9 (keypad 9)
FLDMINUS
. (keypad decimal point)
. (keypad decimal point)
FLDEXIT
Keystrokes A keystroke can be a mnemonic or a string. The table below lists the 3270 and 5250 keystroke mnemonics supported by the controller.
11-108
Key
Mnemonic
Key
Mnemonic
Enter
ENTER
Cursor Right
CUR_RT
Left Tab
LTAB
Cursor Left
CUR_LFT
Right Tab
RTAB
System Request
SYSREQ
Clear
CLEAR
Reset
RESET
Delete
DEL
Page Up
PAGEUP
Insert
INS
Page Down
PAGEDN
New Line
NEWLN
Attention
ATTN
Space
SPACE
Field Exit
FLDEXIT
Home
HOME
Erase EOF
ERS_EOF
End
END
Test
TEST
Cursor Up
CUR_UP
No Keystroke
NONE
Cursor Down
CUR_DN
PA1, PA2, PA3
PA1, PA2, PA3
Function Keys F1 - F24
PF1 - PF24
Page 479
Using Screen Mapping
11
Configuring Your JANUS Devices Your Model 200 Controller lets you perform screen mapping between your remote host and your JANUS devices.
Configuring Communications You need to configure each JANUS device for 900 MHz RF or 2.4 GHz RF communications. Run the Interactive Configuration application (IC.EXE) on your JANUS device to set the parameters for the environment it will be used in. For help using IC.EXE, refer to your JANUS user’s manual.
Configuring for 900 MHz RF Communications 1. In the Com menu, choose RF and press
@.
2. Choose Activate. 3. In the RF Protocol field, select Enabled. 4. Choose Primary Cfg. 5. In the Device Address field, enter the address of the JANUS device. This address must match an address that is enabled in the Model 200 Controller. 6. Configure the Channel Select and the Network ID. 7. In the File menu, choose Exit. 8. Choose Yes to save your configuration.
Configuring for UDP Plus Communications You need to configure each JANUS 2.4 GHz RF device for UDP Plus communications. Run the JANUS 2.4 GHz Installation Utility to configure each device and install the network software. For help, see the JANUS 2.4 GHz Installation Utility User’s Manual. Note: If the access points are using a security ID, you must set the same security ID on the JANUS devices.
11-109
Page 480
Model 200 Controller User’s Manual
Downloading the Terminal Template Application You need to download the terminal template application (RDRPGM.EXE) from the Model 200 Controller to each JANUS device that will be using screen mapping. This application allows the JANUS device to run the templates for screen mapping. Depending on the type of communications your JANUS devices are using and which firmware version is loaded, you can load the terminal template application on your JANUS devices using one of these methods: • If your JANUS 900 MHz RF device has firmware v3.01 or later, use the download server feature. Note: Your JANUS devices must have FTA.EXE and FTA.INI loaded on drive C. Copy these files from Application companion disk 3. For help, see your JANUS user’s manual. Note: Your JANUS devices must be running a BFT-ready PSK application. • If your JANUS 900 MHz RF device has an earlier firmware version than 3.01, use Interlnk. • If your JANUS 2.4 GHz RF device is using UDP Plus, use the download server or FTP. To use FTP, you must have an FTP client loaded on your JANUS device.
11-110