system.kanoa.tooling.getCounters(paramsDict)
Returns each tool's life counts beside its limits: lifetime, since-PM and since-refurbishment cycles and run minutes, refurbishment count, the last PM, refurbishment, calibration and tool counter reading, and how far through each limit it is (lifetimePct, pmPct, refurbPct, refurbCountPct, calibrationPct; None = no limit). Limits are read in the tool's lifeUnit (cycles, runMinutes or calendarDays). Also returns its status (Available, Mounted, Due for PM, Due for refurbishment, Due for calibration, Over limit, In repair, Damaged or Retired), level (0 OK, 1 due, 2 over a limit) and a message saying why.
Parameters
paramsDict Dictionary
| - toolingAssetId | Integer | One tool |
| - assetId | Integer | The tools mounted on this asset now |
| - enabled | Boolean |
Returns
counters pyDataset: one row per tool
Example
paramsDict = {'toolingAssetId': 1, 'assetId': 1, 'enabled': True}
counters = system.kanoa.tooling.getCounters(paramsDict)