SOP Sample Gate and SbyC Operating Instruction for Lower Granite Adult Trap
From PTAGISWiki
Standard Operating Procedure
| |
Subject:
| Sample Gate and SbyC Operating Instructions for Lower Granite Adult Trap
|
Author:
| Troy Humphrey
|
Approved by:
| Don Warf
|
Contents |
Objective
The Objective of this SOP is to give site personnel a working knowledge of the various functions available to them for entering sample rates and controlling Separation by Code.
Scope
This SOP is for site personnel responsible for entering sample rates and strictly pertains to Lower Granite Adult Trap. The sample gates are controlled by a Programmable Logic Controller located near the trap. Commonly referred to as a PLC, this device is accessed by a Redlion Human Machine Interface (HMI) located at the trap. The HMI acts as an operator interface to the PLC allowing the user to enter and view different parameters associated with Sample Gate settings and controls. All functions of the sample gate are set by HMI operator inputs and control switches, located on the panel below the HMI. The HMI took the place of the PV600.
Responsibilities
The personnel responsible for entering sample rates are determined by the site biologist.
Procedure
Overview
- Through out this manual the following formatting shall apply:
- PAGE TITLE , PARAMETER HEADING or SCREEN NAVIGATION.
- Used to indicate the current graphic being displayed or what the value below the heading represents or what screen will appear if the box on the screen is touched.
- ‘PARAMETER’
- A user settable value such as ‘SAMPLE PERCENTAGE’ or a PLC generated value such as ‘TIME REMAINING’.
- Switch or SWITCH SETTING.
- User settable switches that effect gate and sample functionality such as: The SbyC Enable is set to' OFF '.
- PAGE TITLE , PARAMETER HEADING or SCREEN NAVIGATION.
- The HMI is a touch screen operator interface. The user can simply touch certain areas on the screen to perform specific tasks. The screens have different colored boxes and text that will help the user identify their functionality.
- Dark blue boxes with white text are values produce by the PLC and are dependent on parameters entered by the user.
- Dark blue boxes on the lowest part of the screen allow the user to navigate to different screens.
- Light blue boxes are screen push buttons that allow the user to navigate to different screens or to open data entry screens.
- Once a data entry screen is open the numeric pad is used to enter in values.
- Touch anywhere on the screen if the screen is black due to the screen saver being on.
- The main menu screen will appear and look similar to the screen displayed below.
- If a screen other than the one below appears press the MENU button located in the lower left of the HMI.
- In the left hand column A Sample Gate’s times are displayed. In the right hand column B Sample Gate’s times are displayed. A Sample Gate is the east gate and B Sample Gate is the west gate.
- The current ‘SAMPLE PERCENT’ for the A or B Sample Gate will be displayed in the dark blue box to the left and right of SAMPLE PERCENT. This can be set by touching the SET PERCENTS button on the lower left section of the screen. Setting the ‘SAMPLE PERCENT’ is explained in detail further on in this document.
- The current ‘OPENINGS PER HOUR’ for the A or B Sample Gate will be displayed in the dark blue box to the left and right of OPENINGS PER HOUR. This can be set by pressing the SET OPENINGS button on the lower right section of the screen. Setting the ‘OPENINGS PER HOUR’ is explained in detail further on in this document.
- If the A or B Sample Gate is in sample, the ‘SAMPLE TIME REMAINING’ will be displayed in the dark blue box to the left and right of SAMPLE REMAINING. The ‘TIME TO NEXT SAMPLE’ will be display in the dark blue box to the right of TIME TO NEXT SAMPLE.
- Pressing the dark blue box with the text SbyC will take you to the SbyC Events Counter page which will be explained further later on in this document.
- Pressing the dark blue box with the text PTOC will prompt you for a password and is use by PSMFC to access a page that is used to set up critical timing parameters and the typical user should not require access to the Gate Timing page
Changing the Sample Percent
From the MAIN menu touch the dark blue box with the text SET PERCENTS and the following screen will appear.

- To set the ‘SAMPLE PERCENTAGE’ for an individual gate, touch the light blue box to the right of the gate you wish to set the ‘SAMPLE PERCENTAGE’ for. If you would like to set the ‘SAMPLE PERCENTAGE’ for both gates to the same value touch the light blue box to the right of the text BOTH.
- A display box with a numeric keypad will appear over the screen. The parameter you are about to change will be reflected in the text at the top of the numeric key pad. If you are changing the 'A SAMPLE PERCENT' the text should read 'A_SAMPLE_PERCENT'. Use the numeric keypad to enter any percent between 00.001% and 99.999% and press the enter button. This will enter the new ‘A SAMPLE PERCENTAGE’.
- Press the dark blue box with the text RETURN to return to the main screen.
- Once the new ‘SAMPLE PERCENTAGE’ is entered the new sample cycle will start. The cycle will start with the gate in the closed (not sampling) part of the cycle.
- If you decide not to enter a new ‘SAMPLE PERCENTAGE’ press the EXIT button on the numeric keypad.
- It should be noted that the PLC looks for a change in the ‘SAMPLE PERCENTAGE’ before it re-calculates the time so it is important to enter in a ‘SAMPLE PERCENTAGE’ value that is different than what is currently being displayed.
- An example of this is when the user wishes to sync the sample with the top of the hour but not change the Sample Rate.
- To do this the user will have to enter in a ‘SAMPLE PERCENTAGE’ that is different than what is currently being used. Do this just prior to the top of the hour. Then at the top of the hour the user will enter in the original ‘SAMPLE PERCENTAGE’ .
Changing the Openings Per Hour
From the MAIN screen or SET PERCENTS screen touch the dark blue box with the text SET OPENINGS and the following screen will appear.

- To set the ‘OPENINGS PER HOUR’ for an individual gate touch the light blue box to the right of the gate you wish to set the ‘OPENINGS PER HOUR’ for. If you would like to set the ‘OPENINGS PER HOUR’ for both gates to the same value touch the light blue box to the right of the text BOTH.
- A display box with a numeric keypad will appear over the screen. The parameter you are about to change will be reflected in the text at the top of the numeric key pad. If you are changing the 'A OPENING PER HOUR' the text should read A_OPENINGS_PER_HOUR'. Use the numeric keypad to enter any openings per hour between 1 and 12 and press the enter button. This will enter the new ‘OPENINGS PER HOUR’.
- Press the dark blue box with the text RETURN to return to the main screen.
- Once the ‘OPENINGS PER HOUR’ is entered the new sample cycle will start. The cycle will start with the gate in the closed (not sampling) part of the cycle.
- If you decide not to enter a new openings per hour press the EXIT button on the numeric keypad.
- It should be noted that the PLC looks for a change in the ‘SAMPLE PERCENTAGE’ or 'OPENINGS PER HOUR' before it re-calculates the time so it is important to enter in a ‘SAMPLE PERCENTAGE’ or 'OPENINGS PER HOUR' value that is different than what is currently being displayed.
- An example of this is when the user wishes to sync the sample with the top of the hour but not change the Sample Rate.
- To do this the user will have to enter in a ‘SAMPLE PERCENTAGE’ or 'OPENINGS PER HOUR' that is different than what is currently being used. Do this just prior to the top of the hour. Then at the top of the hour the user will enter in the original ‘SAMPLE PERCENTAGE’ or 'OPENINGS PER HOUR'
SbyC Events Counter page
From the MAIN screen touch the box with the text SBYC and the following screen will appear.

- The current date & time is displayed in the lower portion of the screen under the heading DATE AND TIME. If this time is not correct contact PSMFC.
- The SbyC Events Counter page displays the number of SbyC events for the last 3 days. Counts for 3 days prior are thrown out at midnight each night as the counts from 3 days prior are moved into the 3 days prior. If a record of the counts is desired the counts will have to be recorded manually at minimum every 3 days.
- The ‘SBYC EVENT COUNTS’ for the A Gate (East side) are displayed in the left hand column under the heading EAST SBYC EVENT COUNTS. The ‘SYBC EVENT COUNTS’ for the B Gate (West side) are displayed in the right hand column under the heading WEST SBYC EVENT COUNTS.
- At midnight the current days counts are moved from a counter that is not visible by the user into ‘YESTERDAYS COUNTS’, and ‘YESTERDAYS COUNTS’ are moved to ‘2 DAYS AGO COUNTS’ and ‘2 DAYS AGO COUNTS’ are moved to ‘3 DAYS AGO COUNTS’. The old ‘3 DAYS AGO COUNTS’ are then deleted.
- ‘YESTERDAYS COUNTS’ are to the left and right of the heading YESTERDAY and reflect the number of SBYC events that took place the day prior, from midnight to midnight.
- ‘2 DAYS AGO COUNTS’ are to the left and right of the heading 2 DAYS AGO and reflect the number of SBYC events that took place two days prior, from midnight to midnight.
- ‘3 DAYS AGO COUNTS’ are to the left and right of the heading 3 DAYS AGO and reflect the number of SBYC events that took place three days prior, from midnight to midnight.
Sample Gate Control Switches
The panel located at the trap has four switches mounted below the PV600.
- Mode Switches
- The upper left switch is the Sample Mode switch for A Sample Gate and the upper right switch is the Sample Mode switch for the B Sample Gate. Each switch has three mode positions.
- The first position from left to right is labeled OFF for BYPASS. With the switch in this position there will be no sampling.
- The second or middle position is labeled AUTO for NORMAL OPERATION. With the switch in this position, sampling will occur based on the ‘SAMPLE PERCENT’ and ‘OPENINGS PER HOUR’ entered.
- The third position is labeled ON for 100% sample. With the switch in this position the sample gate will stay in the sample position.
- The upper left switch is the Sample Mode switch for A Sample Gate and the upper right switch is the Sample Mode switch for the B Sample Gate. Each switch has three mode positions.
- Divert During Sample
- The Divert During Sample switch is the lower left switch and has two positions.
- See the SbyC_Enable_and_Divert_During_Sample_Modes section of this SOP on how to set this switch.
- The Divert During Sample switch is the lower left switch and has two positions.
- SbyC
- The SbyC Enable switch is the lower right switch and has two positions
- See the SbyC_Enable_and_Divert_During_Sample_Modes section of this SOP on how to set this switch.
- The SbyC Enable switch is the lower right switch and has two positions
SbyC Enable and Divert During Sample Modes
- When the SbyC Enable switch is in the left or OFF position no Separation by Code will occur and the position of the Divert During Sample switch is irrelevant.
- Generally if SbyC Enable is OFF then Divert During Sample should be set to OFF as well.
- When the SbyC Enable switch is in the right or ON position Separation by Code will occur.
- Separation by code is when a researcher designates X amount of PIT tags he or she would like to see diverted from their normal path (the ladder) into the trap.
- When the flume is not in sample and a PIT tagged fish is read whose disposition is to remain in the ladder the gate will remain in its default position, that being back to the ladder.
- When the flume is not in sample and a PIT tagged fish is read whose disposition is to go to the trap the gate will swing to the trap for a set amount of time and then return to its default position, that being back to the ladder.
- The Divert During Sample Mode at this site works differently than other sites. It is better to think of this mode as Divert From Sample mode.
- When the Divert During Sample switch is in the left position it is OFF. If SbyC Enable is ON then Separation by Code will act normal.
- When the Divert During Sample switch is in the right position it is ON. If the SbyC Enable is ON then Separation by Code will act in the following manner.
- If the gate is not in sample and a PIT tagged fish is read whose disposition is to remain in the ladder (i.e. The researcher does not wish for his or her fish to be trapped ) then the gate will stay in it’s default position which is back to the ladder.
- If the gate is in sample and a PIT tagged fish is read whose disposition is to remain in the ladder (i.e. The researcher does not wish for his or her fish to be trapped) then the gate will swing from sample to the ladder for a set amount of time and then back to the sample, hopefully putting the fish back into the ladder and avoiding the trap.
- If the gate is in sample and a PIT tagged fish is read whose disposition is to be diverted to the trapped the gate will remain in its sample position which will put the fish into the trap.
Frequently Asked Questions
Q: Can I damage the system?
A: No. No operator inputs can damage the system.
Q: Can I use the gate test switches at any time?
A: No. The test switches will not work during an active sample when the Divert During Sample switch is set to OFF.
Q: Can I enter an incorrect value?
A: Yes. Caution should be used when determining sample gate open time. An example would be entering 12 openings per hour with a 00.1 percent sample rate. Point one percent of an hour would be 3.6 seconds. When divided by 12 gate openings per hour the open time per opening would be .3 second. This is not enough time to fully open the gate. The same consideration should be used when using a 99.9 sample rate.
Q: Can I enter a value out of range?
A: No, the PV600 will give you a ‘value out of range’ error.
Q: When the mode switch is set to 100%, will PIT tagged fish be diverted from the sample?
A: No. They will only be diverted if the Divert During Sample switch is ON.
Q: With the mode switch set to AUTO (Normal Operation) and the Divert During Sample switch set to ON, will PIT tagged fish be diverted from the sample.
A: Yes, With the Divert During Sample switch set to ON, PIT tagged fish will be diverted from the sample.
Q: Can the sample be shut off?
A: Yes, when mode switch is set to OFF(Bypass) the sample will be shut off.
Q: How can I synchronize a new sample rate with the top of the hour?
A: When a new sample rate or new number of openings per hour is entered the new cycle starts exactly when the enter button is pushed. It should be noted that the value you are changing to synchronize with the top of the hour must be a new value. If you don’t want to change your ‘SAMPLE PERCENT’ or ‘OPENINGS PER HOUR’ but wish to synchronize at the top of the hour you must enter a different ‘SAMPLE PERCENT’ or ‘OPENINGS PER HOUR’ just prior to the top of the hour. This will cause the PLC to see a change in sample rate and re-calculate the sample times. At the top of the hour re-enter the ‘SAMPLE PERCENT’ or ‘OPENINGS PER HOUR’ you wish to run at.
Q: What will happen if a power outage occurs? Will I lose my settings?
A: No. All sample settings are stored in non-volatile memory.
References
Contact PSMFC at (509) 735-2773
| Name | Extension |
|---|---|
| Don Warf | 1 |
| Scott Livingston | 2 |
| Darren Chase | 3 |
| Alan Brower | 4 |
| Troy Humphrey | 5 |

