| Home www.terminal-systemsXML Config Toolkit HOME | Hardware Page

 

XML Code Processor - XML Field Description

Below you will find the field description of the XML config file. The XML code processor only needs a XML file with the shown fields /tags below - download it as TRM-CODE.XML into the TRM/xx and it runs automatically.

You can create your own config file wiht every standard editor on your desktop PC or with the XML code generator - a small software tool for WIN32 (XP/2000/Vista).

<XML Tag> Content
<Nr> No of datablock. Field without interest.
<Object-ID> Name of data block. Object Name.
<CLR> Marker for clear LCD: yes / no.
1 = clear LCD, 0 = no clear, existing content from block before will stay in LCD
<Text(n)-row> Row for text. Starts with 1. This is the row for text output..
<Text(n)-col> Col for text. Starts with 1. This is the col for text output..
<Text(n)> Text output for LCD
<Input-row> Row for input. Starts with 1. This is the row for user input.
<Input-col> Col for input. Starts with 1. This is the col for user input.
<Input-min> Minimum input length
<Input-max> Maximum input length
<Input> Input format string.
This field defines the input format in LCD. Input is only allowed in positions with underline "_", e.g. ____. Delimiter character will be shown but ignored for an input, e.g. __:__ or ___.___.___.___.
<Input-mode> Input mode for TRMxx keyboard in mobile phone format.
M = Mixed: Numeric and alpha allowed
N = Numeric only.
<Input-BC> Marker for serial / external input, e.g. for barcode or RFID.
1 = Barcode / RFID enabled, 0 = external input disabled.

ToDo: Select this field to 1 if you want to allow serial input, e.g. barcode or RFID. The code processor will starts a serial input / barcode daemon automatically. This daemon contains an INI file on the compact flash card. Change the INI file for your serial parameters, e.g. COM port, baudrate and more.

<ID> ID code for saving the input.
The code processor will save the input unter this ID code.
<Object-next> Next object after successful input.
<Key(n)> Function keys. Can be pressed instead of an user input.
Pressing function keys will only take effect if no input is given. If the user starts with an input, the function keys will be disabled. He has to clear his input (Backspacke key, BS) to enable the function keys again.
All keys on TRMxx keyboard are allowed as function keys. Additionally a key ANY is allowed (= any key as function key, e.g. for a text message "continue with key".
<Key(n)-next> Next object after function key.
<Before(n)> Subroutine BEFORE user input.
Starts a seperate program / subroutine before the user makes an input.
<After(n)> Subroutine AFTER user input.
Starts a seperate program / subroutine after the user makes an input.
<Var(n)-row> Row for variables. Starts with 1.
<Var(n)-col> Col for variables. Starts with 1.
<Var(n)> Variable which will be shown in the LCD.
See a sample here...
  <?xml version="1.0" encoding="Windows-1252" ?>
- <NewDataSet>
- <datacode>
  <Nr>0</Nr>
  <Object-ID>Article</Object-ID>
  <CLR>1</CLR>
  <Text1-row>1</Text1-row>
  <Text1-col>1</Text1-col>
  <Text1>Data Collection</Text1>
  <Text2-row>2</Text2-row>
  <Text2-col>1</Text2-col>
  <Text2>Article:</Text2>
  <Text3-row>3</Text3-row>
  <Text3-col>1</Text3-col>
  <Text3>Value:</Text3>
  <Input-row>2</Input-row>
  <Input-col>9</Input-col>
  <Input-min>1</Input-min>
  <Input-max>6</Input-max>
  <Input>______</Input>
  <Input-mode>N</Input-mode>
  <Input-BC>0</Input-BC>
  <Object-next>Value</Object-next>
  </datacode>
- <datacode>
  <Nr>1</Nr>
  <Object-ID>Value</Object-ID>
  <CLR>0</CLR>
  <Input-row>3</Input-row>
  <Input-col>7</Input-col>
  <Input-min>1</Input-min>
  <Input-max>4</Input-max>
  <Input>____</Input>
  <Input-mode>N</Input-mode>
  <Input-BC>0</Input-BC>
  <Object-next>Article</Object-next>
  </datacode>
  </NewDataSet>


Technical information without warranty. Pictures show samples.
AE Systeme www.terminal-systems.de - Solutions for industrial IT | D-31303 Burgdorf
Tel: +49 5136 802421 | Fax: +49 5136 9776368 | info@terminal-systems.de