'1', 'level' => module_numeric($value['MILL1LVLPV']), 'sp' => module_numeric($value['MILL1SP']), 'rpm' => module_numeric($value['EMILL1RPM']), 'metric' => 'MCC FPM', 'metric_value' => module_numeric($value['MAINSPD']), 'metric_unit' => 'fpm', ], [ 'stage' => '2', 'level' => module_numeric($value['M2LVL']), 'sp' => module_numeric($value['MILL2SP']), 'rpm' => module_numeric($value['EMILL2RPM']), 'metric' => 'MCC Output', 'metric_value' => module_numeric($value['MCCOUTPUT']), 'metric_unit' => '%', ], [ 'stage' => '3', 'level' => module_numeric($value['MIL3LVL']), 'sp' => module_numeric($value['MILL3SP']), 'rpm' => module_numeric($value['EMILL3RPM']), 'metric' => 'MCC Tons', 'metric_value' => module_numeric($rounded1['MCCTONS'] ?? null), 'metric_unit' => 'tons', ], [ 'stage' => '4', 'level' => module_numeric($value['MIL4LVL']), 'sp' => module_numeric($value['MILL4SP']), 'rpm' => module_numeric($value['EMILL4RPM']), 'metric' => 'Mill 1 SP', 'metric_value' => module_numeric($value['WEIGHT_WSP']), 'metric_unit' => ($value['LEVEL_THROUGHPUT_SWITCH'] ?? 0) == 1 ? 'tons/hr' : '%', 'mode' => module_mode(isset($value['MILL1AUTOMAN1']) ? (int) $value['MILL1AUTOMAN1'] : null, 1), ], [ 'stage' => '5', 'level' => module_numeric($value['MIL5LVL']), 'sp' => module_numeric($value['MILL5SP']), 'rpm' => module_numeric($value['EMILL5RPM']), 'metric' => 'Grinding Rate', 'metric_value' => module_numeric($value['TONS_PER_HOUR']), 'metric_unit' => 'tons/hr', ], [ 'stage' => '6', 'level' => module_numeric($value['MIL6LVL']), 'sp' => module_numeric($value['MILL6SP']), 'rpm' => module_numeric($value['EMILL6RPM']), 'metric' => 'Average Rate', 'metric_value' => module_numeric($value['AVG_TONS_PER_HOUR']), 'metric_unit' => 'tons/15 min', ], ]; $eastImbibition = [ [ 'label' => 'Imbibition 6', 'value' => module_numeric($value['IMBFLOW']), 'unit' => 'gpm', 'sp_label' => 'Imbibition 6 SP', 'sp_value' => module_numeric($value['IMBSP']), ], [ 'label' => 'Imbibition 5', 'value' => module_numeric($value['IMBFLOW']), 'unit' => 'gpm', 'sp_label' => 'Imbibition 5 SP', 'sp_value' => module_numeric($value['IMB5SP']), ], ]; $westAverage = module_numeric(module_capture(__DIR__ . '/west15minavg.php')); $westRows = [ [ 'stage' => '1', 'level' => module_numeric($ID['00654'] ?? null), 'sp' => null, 'rpm' => module_numeric($ID['00666'] ?? null), 'metric' => 'MCC FPM', 'metric_value' => module_numeric($value['Feet/Minute'] ?? null), 'metric_unit' => 'fpm', ], [ 'stage' => '2', 'level' => module_numeric($ID['00656'] ?? null), 'sp' => null, 'rpm' => module_numeric($ID['00670'] ?? null), 'metric' => 'MCC Output', 'metric_value' => module_numeric($ID['00638'] ?? null), 'metric_unit' => '%', ], [ 'stage' => '3', 'level' => module_numeric($ID['00657'] ?? null), 'sp' => null, 'rpm' => module_numeric($ID['00672'] ?? null), 'metric' => 'MCC Tons', 'metric_value' => module_numeric($ID['00640'] ?? null), 'metric_unit' => 'tons', ], [ 'stage' => '4', 'level' => module_numeric($ID['00658'] ?? null), 'sp' => null, 'rpm' => module_numeric($ID['00674'] ?? null), 'metric' => 'Mill 1 SP', 'metric_value' => module_numeric($ID['00642'] ?? null), 'metric_unit' => '%', ], [ 'stage' => '5', 'level' => module_numeric($ID['00660'] ?? null), 'sp' => null, 'rpm' => module_numeric($ID['00680'] ?? null), 'metric' => 'Grinding Rate', 'metric_value' => module_numeric($value['RATE'] ?? null), 'metric_unit' => 'tons/hr', ], [ 'stage' => '—', 'level' => null, 'sp' => null, 'rpm' => null, 'metric' => 'Average Rate', 'metric_value' => $westAverage, 'metric_unit' => 'tons/15 min', ], ]; $westImbibition = module_numeric($ID['00624'] ?? null); ?>

Mill Tandems

East & West tandem performance
East Tandem
Mill 1 Output %
Control Mode
Mill Level SP RPM Metric Value Units Mode
%
West Tandem
Mill Level SP RPM Metric Value Units
%
Imbibition GPM