Ladder99 / fanuc-driver

Configurable Fanuc Focas data collector and post processor.
Apache License 2.0
72 stars 25 forks source link

Allow filtering of paths, axes, spindles. #72

Closed MRIIOT closed 1 year ago

MRIIOT commented 1 year ago

Configuration should allow for explicit inclusion/exclusion of paths,axes,spindles from collection.

tukusejssirs commented 1 year ago

How would this work in case we don’t know the path/exes/spindles number before starting monitoring a particular machine? Will there be an option to monitor all paths/axes/spindles?

MRIIOT commented 1 year ago

You would probably start it up one time to get all of the output and have an exclusion filter for path and path+spindle/axis.

MRIIOT commented 1 year ago
l99.driver.fanuc.strategies.FanucMultiStrategy, fanuc:
      exclusions:
        1:               # placeholder for path 1, does not exclude path, does not exclude axes/spindles
        2: [ X, S ]    # exclude specific axes/spindles, still collects path specific data
        3: [ % ]       # exclude entire path, including all axes/spindles, path specific data is not collected
MRIIOT commented 1 year ago

Actually, this makes more sense.

Excluding path data: 1: Excluding axes/spindle data: 1:[X,S] Excluding path and axes/spindle data: 1:[%]

l99.driver.fanuc.strategies.FanucMultiStrategy, fanuc:
      exclusions:
        1:               # path specific data is excluded, axes/spindle data is still collected
        2: [ X, S ]    # exclude specific axes/spindles, still collects path specific data
        3: [ % ]       # exclude entire path, including all axes/spindles, path specific data is not collected