Logging entries of the CNC

The CNC offers the possibility of storing events in a history memory. If requested, these entries can be read out. When diagnostic data is requested, the entries are stored in a file, for example. Recording of events is currently possible in the following CNC architecture models:

Notice

notice

The controller manufacturer must already have planned for recording of individual CNC events.

The log_entry_number parameter defines the maximum number of recorded events. If more entries occur, the oldest entry is overwritten.

The log_level parameter enables users to specifically define the CNC's logging entries to be recorded. Depending on troubleshooting or the requirement for an analysis, recording of events can be filtered to already reduce the number of entries to be recorded/analysed from the outset.

Example parameters

configuration.channel[0].decoder.log_level 0x1010102f

configuration.channel[0].decoder.log_entry_number 256

configuration.channel[0].tool_radius_comp.log_entry_number 128

configuration.channel[0].path_preparation.log_entry_number 64

configuration.channel[0].interpolator.log_entry_number 150

configuration.position_controller.log_entry_number 32

configuration.position_controller.log_level 0x10ff20ff

configuration.axes_manager.log_entry_number 20

configuration.axes_manager.log_level 0x000000ff

Output example

PATH LOGGING CHANNEL NO.: 1

=======================================================================

BF 8 logging : 13/150, level ffffffff, index 13

time level  message

-----------------------------------------------------------------------

200852 00020000 1) UPLOAD-ind: start size=748

200856 00020000 1) UPLOAD-ind: data received, pos 0 + 748

200856 00020000 1) UPLOAD-ind: finished : position 748, cb lize

272901 00000001 BAHN restart... start

272904 00000001 BAHN restart...finished

279541 00000001 BAHN abort...start

279551 00000001 BAHN abort...finished

280622 00000001 BAHN restart...finished

BAVO LOGGING CHANNEL NO.: 1

=======================================================================

BF 11 logging : 10/64, level ffffffff, index 10

time level  message

-----------------------------------------------------------------------

200851 00020000 1) UPLOAD-req: start size=748, cb=ize, name=

200855 00020000 1) UPLOAD-req: start ackn : size=748

200855 00020000 1) UPLOAD-req: sent data : 0+748

200859 00020000 1) UPLOAD-req: sent data ackn, fini : 0+748=748

272899 00000001 BAVO reset start

280641 00000001 BAVO reset finished (no axes returned to AXV)

DECODER LOGGING CHANNEL NO.: 1

=======================================================================

BF 10 logging : 0/0, level 1010102f, index 0

time level  message

-----------------------------------------------------------------------

LR LOGGING CHANNEL NO.: 1

=======================================================================

BF 5 logging : 22/32, level 10ff20ff, index 22

time level  message

-----------------------------------------------------------------------

272907 00000001 lr_abort_axis() ok: axis=6

272907 00000001 lr_abort_axis() ok: axis=11

279600 00000001 lr_abort_axis() ok: axis=4

-----------------------------------------------------------------------

279600 00000001 lr_abort_axis() ok: axis=5

… 280620 00000001 lr_abort_axis() ok: axis=5