#!/bin/csh # # # Filename: bypasses # # Author: Kevin FitzGerrell # Comments to: kfitz@gci.net or fitzgerrell@yahoo.com # # Usage: This script is called by shell script man_report # # Description: This script uses object manager calls to check # the status of operator bypasses on equipment interlocks and # reports a summary of that information to standard output. # C shell is used, because on my system, Bourne doesn't # seem to recognize the "-n" with "echo". # # Echo the block description of the first interlock bypass. # Change the discription to one appropriate for your site. echo -n "Conveyor 2 - belt slip, SAL_0266 : " # Using omget, retrieve the state of the bypass. # Change the C:B.P name to one appropriate for your site. /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_1 # And repeat for the rest of the blocks needed echo -n "Conveyor 2 - low speed : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_2 echo -n "Conveyor 2 - plugged chute, FAL_0303 : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_3 echo -n "Conveyor 2 - alignment switch, ZAH_0264A : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_4 echo -n "Conveyor 2 - alignment switch, ZAH_0264B : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_5 echo -n "Conveyor 2 - alignment switch, ZAH_0305A : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_6 echo -n "Conveyor 2 - alignment switch, ZAH_0305B : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_7 echo -n "Conveyor 2 - alignment switch, ZAH_0305C : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_8 echo -n "Conveyor 2 - alignment switch, ZAH_0305D : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_77.IN_9 echo -n "Conveyor 2 - rip detector pullcord, fdr 002 : " /opt/fox/bin/tools/omget -v ALRM_GRND:BY_0267A.IN echo -n "Conveyor 2 - rip detector pullcord, fdr 003 : " /opt/fox/bin/tools/omget -v ALRM_GRND:BY_0267C.IN echo -n "Conveyor 2 - rip detector pullcord, fdr 004 : " /opt/fox/bin/tools/omget -v ALRM_GRND:BY_0267E.IN echo -n "Feeder 002 dust collector, 12-FN-004 : " /opt/fox/bin/tools/omget -v MTR_GRND:0255BYPASS.COUT echo -n "Feeder 003 dust collector, 12-FN-005 : " /opt/fox/bin/tools/omget -v MTR_GRND:0256BYPASS.COUT echo -n "Feeder 004 dust collector, 12-FN-006 : " /opt/fox/bin/tools/omget -v MTR_GRND:0257BYPASS.COUT echo -n "Small pebble magnet conveyor, 21-AE-007 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_0420.COUT echo -n "Conveyor 5, 21-CR-005 : " /opt/fox/bin/tools/omget -v MTR_GRND:4004BYPASS.COUT echo -n "Conveyor 4, 21-CR-004 : " /opt/fox/bin/tools/omget -v MTR_GRND:0412BYPASS.COUT echo -n "Conveyor 3, 21-CR-003 : " /opt/fox/bin/tools/omget -v MTR_GRND:0408BYPASS.COUT echo -n "Conveyor 2, 12-CR-002 : " /opt/fox/bin/tools/omget -v MTR_GRND:0301BYPASS.COUT echo -n "SAG Mill motors : " /opt/fox/bin/tools/omget -v MTR_XTGR:0316BYPASS.COUT echo -n "SAG Mill clutches : " /opt/fox/bin/tools/omget -v MTR_XTGR:0309BYPASS.COUT echo -n "Apron Feeder 2, 12-FD-002 : " /opt/fox/bin/tools/omget -v MTR_GRND:0243BYPASS.COUT echo -n "Apron Feeder 3, 12-FD-003 : " /opt/fox/bin/tools/omget -v MTR_GRND:0244BYPASS.COUT echo -n "Apron Feeder 4, 12-FD-004 : " /opt/fox/bin/tools/omget -v MTR_GRND:0245BYPASS.COUT echo -n "Conveyor 2 creep drive : " /opt/fox/bin/tools/omget -v MTR_GRND:0342BYPASS.COUT echo -n "Ball Mill 1 low pressure oil filter pump A, M7 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6825BYPASS.COUT echo -n "Ball Mill 1 low pressure oil filter pump B, M8 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6826BYPASS.COUT echo -n "Ball Mill 1 low pressure pinion oil pump A, M5 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6820BYPASS.COUT echo -n "Ball Mill 1 low pressure pinion oil pump B, M6 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6821BYPASS.COUT echo -n "Ball Mill 1 high pressure trunion oil pump A, M2 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6822BYPASS.COUT echo -n "Ball Mill 1 high pressure trunion oil pump B, M3 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6823BYPASS.COUT echo -n "Ball Mill 1 high pressure trunion oil pump C, M4 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6824BYPASS.COUT echo -n "Ball Mill 2 high pressure trunion oil pump C, M4 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6924BYPASS.COUT echo -n "Ball Mill 2 high pressure trunion oil pump B, M3 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6923BYPASS.COUT echo -n "Ball Mill 2 high pressure trunion oil pump A, M2 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6922BYPASS.COUT echo -n "Ball Mill 2 low pressure pinion oil pump B, M6 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6921BYPASS.COUT echo -n "Ball Mill 2 low pressure pinion oil pump A, M5 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6920BYPASS.COUT echo -n "Ball Mill 2 low pressure oil filter pump B, M8 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6926BYPASS.COUT echo -n "Ball Mill 2 low pressure oil filter pump A, M7 : " /opt/fox/bin/tools/omget -v MTR_XTGR:6925BYPASS.COUT echo -n "SAG Mill high pressure trunion oil pump C, M5 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7024BYPASS.COUT echo -n "SAG Mill high pressure trunion oil pump B, M4 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7023BYPASS.COUT echo -n "SAG Mill high pressure trunion oil pump A, M3 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7022BYPASS.COUT echo -n "SAG Mill low pressure pinion oil pump B, M7 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7021BYPASS.COUT echo -n "SAG Mill low pressure pinion oil pump A, M6 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7020BYPASS.COUT echo -n "SAG Mill low pressure oil filter pump B, M9 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7026BYPASS.COUT echo -n "SAG Mill low pressure oil filter pump A, M8 : " /opt/fox/bin/tools/omget -v MTR_XTGR:7025BYPASS.COUT echo -n "Cyclone feed pump 2, 21-PP-002 : " /opt/fox/bin/tools/omget -v MTR_GRND:0713BYPASS.COUT echo -n "Cyclone feed pump 1, 21-PP-001 : " /opt/fox/bin/tools/omget -v MTR_GRND:0712BYPASS.COUT echo -n "Trash screen 21-SR-043 : " /opt/fox/bin/tools/omget -v MTR_GRND:1007BYPASS.COUT echo -n "Trash screen 21-SR-005 : " /opt/fox/bin/tools/omget -v MTR_GRND:1003BYPASS.COUT echo -n "Trash screen 21-SR-004 : " /opt/fox/bin/tools/omget -v MTR_GRND:1004BYPASS.COUT echo -n "Trash screen 21-SR-003 : " /opt/fox/bin/tools/omget -v MTR_GRND:1002BYPASS.COUT echo -n "Thickener overflow pump, 23-PP-019 : " /opt/fox/bin/tools/omget -v MTR_GRND:1114BYPASS.COUT echo -n "Thickener overflow pump, 23-PP-018 : " /opt/fox/bin/tools/omget -v MTR_GRND:1112BYPASS.COUT echo -n "Thickener underflow pump, 23-PP-017 : " /opt/fox/bin/tools/omget -v MTR_GRND:1133BYPASS.COUT echo -n "Thickener underflow pump, 23-PP-016 : " /opt/fox/bin/tools/omget -v MTR_GRND:1125BYPASS.COUT echo -n "Gland water pump, 31-PP-074 : " /opt/fox/bin/tools/omget -v MTR_GRND:3905BYPASS.COUT echo -n "Gland water pump, 31-PP-073 : " /opt/fox/bin/tools/omget -v MTR_GRND:3904BYPASS.COUT echo -n "Potable water pump, 31-PP-071 : " /opt/fox/bin/tools/omget -v MTR_GRND:3902BYPASS.COUT echo -n "Potable water pump, 31-PP-072 : " /opt/fox/bin/tools/omget -v MTR_GRND:3903BYPASS.COUT echo -n "Fresh water to plant pump, 31-PP-139 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1919.COUT echo -n "Fresh water to plant pump, 31-PP-068 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1916.COUT echo -n "Fresh water to tails pump, 31-PP-067 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1915.COUT echo -n "Fresh water to tails pump, 31-PP-066 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1914.COUT echo -n "Seepage water pump, 30-PP-062 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1907.COUT echo -n "Seepage water pump, 30-PP-063 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1908.COUT echo -n "Tails barge pump, 30-PP-058 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1906.COUT echo -n "Tails barge pump, 30-PP-057 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1905.COUT echo -n "Tails barge pump, 30-PP-056 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1904.COUT echo -n "Tails barge pump, 30-PP-055 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_1903.COUT echo -n "Leach 1 agitator, 23-AG-001 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1302.COUT echo -n "Leach 2 agitator, 23-AG-002 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1303.COUT echo -n "Leach 3 agitator, 23-AG-003 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1304.COUT echo -n "Leach 4 agitator, 23-AG-004 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1305.COUT echo -n "Leach 7 agitator, 23-AG-007 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1403.COUT echo -n "Leach 6 agitator, 23-AG-006 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1402.COUT echo -n "Leach 5 agitator, 23-AG-005 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1401.COUT echo -n "CIP 2 agitator, 23-AG-010 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1506.COUT echo -n "CIP 1 agitator, 23-AG-009 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1505.COUT echo -n "Detox reactor 2 agitator, 24-AG-016 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1807.COUT echo -n "Detox reactor 1 agitator, 24-AG-015 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1819.COUT echo -n "Loaded carbon forwarding pump, 23-PP-025 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1503.COUT echo -n "Safety screen carbon pump, 23-PP-031 : " /opt/fox/bin/tools/omget -v MTR_DTOX:BYPAS_1705.COUT echo -n "Cyanide transfer pump, 25-PP-101 : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_2903.COUT echo -n "Carbon kiln feed screw : " /opt/fox/bin/tools/omget -v MTR_RENY:BYPAS_2605.COUT echo -n "Gravity cyclone feed pump, 21-PP-007 : " /opt/fox/bin/tools/omget -v MTR_GRND:0714BYPASS.COUT echo -n "Conveyor 3A, 20-CR-003A : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_75_OUT.CO_5 echo -n "Conveyor 3B, 20-CR-003B : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_75_OUT.CO_3 echo -n "Large magnet, 20-AE-104 : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_75_OUT.CO_2 echo -n "Diverter chute, 20-AE-106 : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_76_OUT.IN_5 echo -n "Recycle crusher, 20-CH-002 : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_75_OUT.CO_12 echo -n "Pebble crusher dust collector, 20-FN-017 : " /opt/fox/bin/tools/omget -v MCIO_XTGR:N16_75_OUT.CO_14 echo -n "New gravity feed pump, 21-PP-007A : " /opt/fox/bin/tools/omget -v MCOUT_RENY:N26_40.IN_10 echo -n "Gravity bypass valve, HV-0752 : " /opt/fox/bin/tools/omget -v MCOUT_RENY:N26_40.IN_11