4. Adapter configuration
After connectin pendrive to adapter, adapter tries to open „confi .txt” file and readouts
confi uration parameters. If there isn’t confi uration file in the pendrive main catalo , it will
be created and it will have default parameters. To chan e the parameters, user should edit
„confi .txt” file usin computer and text editor. User can also use pro ram AXIS PEN.
Each line of a confi uration file should be written in a fallowin way:
„PARAMETER_NAME = VALUE”. If particular line of a confi uration file contains such a
sequence of characters: “//” it means that everythin fallowin this sequence is a comment
and won’t be interpreted by PEN-01 as a parameter name or value. Values of parameters
can by placed directly after “=” character or can by placed in the quotation marks (if
parameter contains white spaces, value of this parameter has to be put in quotation marks).
If the confi uration file haven’t particular parameter or the value of this parameter is
incorrect, then the value of the parameter will be set to default.
It is possible to use control codes in confi uration file by usin special escape character
(‘\’ character). This character causes fallowin it characters to be interpreted in a different
way than usual. Possible escape sequences are:
\b - Backspace; (same as \x08)
\f - FormFeed; (same as \x0c)
\n - Newline; (same as \x0a)
\r - Carria e-Return; (same as \x0d)
\t - Horizontal Tab; (same as \x09)
\x<2-hex-di its> - code of character (e. . \x4e means 'N' character)
\X<2-hex-di its> - same as above
\\ - means '\' character
\" - means '"' character
\<anythin -else> - treated as if there where no ‘\’ character
Maximum size of confi uration file is 1KB.