Communication Log Function

Top Page

## Communication Log Function

### 1. Communication Log Function

The purpose of the communication log function is to record the cause of the error into the file and to investigate the problem rapidly when an error occurs in the Data window library.

The contents of record are saved to the "Fwlib" folder in window directory by the following names.

Ethetnet version(Fwlibe1.dll) | : | Fwlibeth.log
FS150i(HSSB version)(Fwlib15i.dll) | : | FS150i.log
FS160/180/210(HSSB version)(Fwlib160.dll) | : | Fwlib160.log
FS0i-A(HSSB version)(Fwlib0i.dll) | : | Fwlib0i.log
FS0i-B(HSSB version)(Fwlib0iB.dll) | : | Fwlib0iB.log
Power Mate i-H/D(HSSB version)(FwlibPMi.dll) | : | FwlibPMi.log

* The HSSB version except the above-mentioned does not output the log.

### 2. Display contents of record

The current contents of record can be seen by "FWLOG.EXE" utility.

You can start it by the following procedure.

1) Run "FWLOG.EXE" from this CD-ROM.
or
2) Copy "FWLOG.EXE" from this CD-ROM to a proper folder of a hard disk and then run it.

"Open" dialog box appears after startup. Select "FWLIBETH.LOG" by cursor key and click [OK] button, and the log display screen will be shown.

The operation of log display screen is explained as follows.

Move cursor
  Press cursor key.
  Do one of the following procedure to turn over the page.
  - Point [View]-[Previous Page] or [Next Page] in the menu.
  - Press [Page Up] key or [Page Down] key of the keyboard.

Copy to clipboard
  You can copy the strings in the display area to the clipboard by the following way.
  1. Select the log record lines which you want to copy by pressing [Shift]+[cursor] key.
  2. Point [Edit]-[Copy] in the menu or press [Ctrl]+[C] of the keyboard.

Display specified line
  Do one of the following procedure to display "Jump" dialog box.
  - Point [Edit]-[Jump...] in the menu.
  - Press [Ctrl]+[J] of the keyboard.
  Then specify the record number which you want to display and click [OK] button.

Find
  Do one of the following procedure to display "Find" dialog box.
  - Point [Edit]-[Find...] in the menu.
  - Press [Ctrl]+[F] of the keyboard.
  Then input the keyword which you want to find and click [OK] button.

Print
  Do one of the following procedure to display "Print" dialog box.
  - Point [Edit]-[Print...] in the menu.
  - Press [Ctrl]+[P] of the keyboard.
  Select the range of print and click [OK] button.

  > Range | Meaning
  > --- | ---
  > All | Print all.
  > This Page | Print the current displayed page only.

Clear
  Point [View]-[Clear] in the menu and dispaly "Clear" dialog box.
  Click [OK] button.

Monitor mode
  In the monitor mode, "FWLOG.EXE" utility reads the log file periodically (default period is 2 seconds) and refreshes own screen. The monitor mode is OFF as default.
  When the monitor mode is ON, the following functions are disabled.
  - Print
  - Copy
  - Find
  - Jump
  - Previous Page / Next Page
  - Clear
  Monitor mode ON/OFF is switched by selecting [View]-[Monitor] in the meue.

Page setting
  You can change the log records per page and the update period of the monitor mode by the following way.
  1. Point [View]-[Page Setting...] in the menu and dispaly "Page" dialog box.
  2. Change the log records and the update period.
  3. Click [OK] button.

### 3. Control contents of record

In case of the Ethernet version, you can select the grade of log from 4 level.

> Level 0
>   Not recorded.
> Level 1 (default)
>   TCP/IP initialization/termination events and all errors are recorded.
> Level 2
>   All TCP/IP events are recorded with level 1.
> Level 3
>   All communication data are recorded with level 2.

In case of the HSSB version(except FWlib15i.dll), you can select the grade of log from 4 level.

> Level 0
>   Not recorded.
> Level 1 (default)
>   When the return value of the function is not normal, the log is output.
> Level 2
>   Same as level 1.
> Level 3
>   The contents of the level 1 and the input information of the function is output.

In case of the HSSB version for the FS150i, when the return value of the function is not normal, the log is output. The contents of the log cannot be controlled.

You can see the current log level by using "LOGLEVEL.EXE" utility. You can start it by the following procedure.

1) Run "LOGLEVEL.EXE" from this CD-ROM.
or
2) Copy "LOGLEVEL.EXE" from this CD-ROM to a proper folder of a hard disk and then run it.

(Usage)

      C:\>LOGLEVEL
      Current log level = 1 (Standard)

      C:\>

And you can change the new level by passing it to "LOGLEVEL.EXE" utility. To enable the changed log level, it is necessary to restart applications that use the Data window library.

(Usage)

      C:\>LOGLEVEL 3
      New log level = 3 (Full)

      C:\>

* Please note that the changed level is reflected in all log files when you change the log level.

Top Page