NewsCNCnetPDMAbout usSupport
  

LOG | GENERAL

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

Privacy notice

This website uses cookies. By continuing to use it you agree to our privacy policy. 

https://www.inventcom.net/fanuc-focas-library/general/log

Fanuc Focas Library | General | Fwlib32

FOCAS 1/2 FANUC Open CNC FOCAS1 / FOCAS2 CNC/PMC Data window library FOCAS1/2 :... [read more]
Fanuc Focas Library | General | Fwlib32

Fanuc Focas Library | General | Dnc1

Communication with Ethernet Board Ethernet version is realized by the socket communication (TCP/IP communication) with FANUC Ethernet Board, or FANUC Fast Ethernet Board. And in... [read more]
Fanuc Focas Library | General | Dnc1

Fanuc Focas Library | General | Errcode

Return Status of Data Window... [read more]
Fanuc Focas Library | General | Errcode

Fanuc Focas Library | General | General

General Top Page General Library files... [read more]
Fanuc Focas Library | General | General

Fanuc Focas Library | General | Handle

Library handle Top Page Library handle At the library for HSSB, to establish the communication with the HSSB Board on CNC side, it is necessary... [read more]
Fanuc Focas Library | General | Handle

Fanuc Focas Library | General | HSSB

Coexistence with... [read more]
Fanuc Focas Library | General | HSSB

Fanuc Focas Library | General | Overview

Outline Top Page Outline CNC/PMC Data Window Library is used for exchanging data and information between a personal computer and the CNC/PMC... [read more]
Fanuc Focas Library | General | Overview

Fanuc Focas Library | General | Protect

FOCAS1/Ethernet NC data protection Top Page NC data protection (160i/180i/210i/0i-B/0i-C/Power Mate i Only) A past... [read more]
Fanuc Focas Library | General | Protect

Fanuc Focas Library | General | Unsol_res

When you use the PMC address for the control parameter(Response method) Top Page When you use the PMC address for the control... [read more]
Fanuc Focas Library | General | Unsol_res

Fanuc Focas Library | General | Unsol_sim1

When you use the PMC address for the control parameter(Simple method)(30i/31i/32i only) Top Page When you use the PMC address for... [read more]
Fanuc Focas Library | General | Unsol_sim1

Fanuc Focas Library | General | Unsol_sim2

When you use the Macro variable for the control parameter(Simple method)(30i/31i/32i only) Top Page When you use the Macro... [read more]
Fanuc Focas Library | General | Unsol_sim2

Fanuc Focas Library | General | Unsolic

FOCAS1/Ethernet Fast Ethernet Unsolicited Messaging Function Top Page Fast Ethernet Unsolicited Messaging Function... [read more]
Fanuc Focas Library | General | Unsolic

Fanuc Focas Library | General | Update

FOCAS1/2 Ethernet HSSB Update History Top Page Update History of FOCAS1/2 Library... [read more]
Fanuc Focas Library | General | Update

Fanuc Focas Library | General | flist_All

CNC: Function Reference related to library handle, node... [read more]
Fanuc Focas Library | General | flist_All
Modified: 2023-12-05