Two Sensor Asymmetrical Muting (TSAM)

This instruction applies to the Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380, and GuardLogix 5580 controllers.
This instruction provides a temporary, automatic disabling of the protective function of a light curtain, which allows material to be transported through the light curtain sensing field without stopping the machine. Muting sensors differentiate between materials and personnel, and must act together along with the light curtain, in a specific switching sequence when the appropriate material passes the sensing field.
Available Languages
Ladder Diagram
TSAM_LD_avail_v31
Function Block
This instruction is not available in function block.
Structured Text
This instruction is not available in structured text.
Two Sensor Asymmetrical Muting Application
Two Sensor Asymmetrical Muting uses two muting sensors arranged asymmetrically on either side of the light curtain. Their sensors intersect just behind the light curtain in the center of the protected opening.
TSAM two-sensor asymmetrical muting app
NOTE:
The muting sensors must be arranged so a person cannot activate the muting sensors in the same switching sequence as the material and enter the area when a hazardous condition exists. Sensor setup must take into account material size, shape, and speed. Additional guarding may also be necessary.
Specific guarding requirements should be identified through a hazard or risk assessment of your application.
Operands
IMPORTANT:
Do not use the same tag name for more than one instruction in the same program. Do not write to any instruction output tag under any circumstances.
WARNING:
If you change instruction parameters while in Run mode, you must accept the pending edits and cycle the controller mode from Program to Run for the changes to take effect.
This table provides the parameters for this instruction. The parameters cannot be changed at runtime.
Parameter
Data Type
Format
Description
TSAM
MUTING_TWO_SENSOR_ASYM
tag
This parameter is a backing tag that maintains important execution information for each usage of this instruction.
Safety Advisory
ATTENTION:
To avoid unexpected operation do not reuse this backing tag and its members. Do not write to any of the tag members anywhere else in the program.
Restart Type
BOOL
name
This input configures Output 1 for either manual or automatic restart.
MANUAL (0)
A transition of the reset input from OFF (0) to ON (1), while all of the Output 1 enabling conditions are met, is required to energize Output 1.
AUTOMATIC (1)
Output 1 is energized 50ms after all of the enabling conditions are met.
NOTE:
Automatic restart may be used only in application situations where you can prove that no unsafe conditions can occur as a result of its use.
S1-S2 Time
DINT
immediate
The maximum amount of time allowed between clearing or blocking of the muting sensor inputs (Sensor 1 and Sensor 2) before generating a fault.
The valid range is 5 through 180,000 ms. Setting this input to 0 disables the S1-S2 timer.
S2-LC Time
DINT
immediate
The maximum amount of time allowed between clearing or blocking of the Sensor 2 muting sensor and the Light Curtain before generating a fault.
The valid range is 5 through 180,000 ms. Setting this input to 0 disables the S2-LC timer.
Maximum Mute Time
DINT
immediate
The maximum amount of time during which the instruction lets the protective function of the light curtain be disabled before generating a fault.
The valid range is 0 through 3600 s. Setting this input to 0 disables the Maximum Mute timer.
Maximum Override Time
DINT
immediate
The maximum amount of time that the instruction lets the override feature energize the Output 1 output.
The valid range is 0 through 30 s. Setting this input to 0 disables the Maximum Override timer.
This table provides the input parameters for this instruction.
Parameter
Data Type
Format
Description
Light Curtain
BOOL
tag
An input channel with OFF (0) as its safe state, this input represents the current state of the physical light curtain. You are responsible for properly conditioning this input. Typically, conditioning is accomplished using Dual Channel Input Stop instruction controlling a light curtain.
ON (1): The light curtain is clear.
OFF (0): The light curtain is blocked.
Sensor 1
BOOL
tag
One of two muting sensors, Sensor 1 must be the first sensor to be blocked and the last to be cleared in the muting sequence.
ON (1): Sensor 1 is clear.
OFF (0): Sensor 1 is blocked.
Sensor 2
BOOL
tag
One of two muting sensors, Sensor 2 must be the second sensor to be blocked and the first to be cleared in the muting sequence.
ON (1): Sensor 2 is clear.
OFF (0): Sensor 2 is blocked.
Enable Mute
BOOL
immediate
tag
This input allows the protective function of the light curtain to be disabled (muted) when the correct muting sequence occurs.
ON (1): The protective function of the light curtain is disabled when the correct muting sequence occurs.
OFF (0): The protective function of the light curtain is always enabled.
Override
BOOL
tag
This input allows a temporary bypass of the muting instruction’s function. Output 1 is energized regardless of the status of the Input Status input or the existence of faults.
OFF (0): Override function is disabled
OFF (0) -> ON (1): Output 1 is energized regardless of the status of the Input Status input or the existence of faults. Output 1 remains energized while the Override input remains ON (1) or until the Maximum Override timer expires.
NOTE:
Activation of the override function requires the use of a hold-to-run device where the operator can see the point of hazard, that is, the light curtain sensing field.
Input Status
BOOL
immediate
tag
If the instruction inputs are from a safety I/O module, this is the status from the I/O module or modules (Connection Status or Combined Status). If the instruction inputs are derived from internal logic, it is the responsibility of the application programmer to determine the conditions.
ON (1): The inputs to this instruction are valid.
OFF (0): The inputs to this instruction are invalid.
Muting Lamp Status
BOOL
immediate
tag
This input represents the status of the muting lamp.
ON (1): The muting lamp is operating properly. The light curtain’s protective function is disabled (muted) after the correct muting sequence is followed.
OFF (0): The muting lamp is defective or missing. The light curtain’s protective function is always enabled.
Reset
1
BOOL
tag
This input clears instruction and circuit faults provided the fault condition is not present.
OFF (0) -> ON (1): The Fault Present and Fault Code outputs are reset.
Output 1 is energized when the Restart Type is manual. Output 1 is not energized at the same time faults are cleared.
1
ISO 13849-1 stipulates instruction reset function must occur on falling edge signals. To comply with ISO 13849-1 requirements, add this logic immediately before this instruction. Rename the 'Reset_Signal' tag in this example to your reset signal tag name. Then use the OSF instruction Output Bit tag as the instruction's reset source.
Reset_Signal Example_v31
This table provides the output parameters for this instruction.
Parameter
Data Type
Description
Output 1 (O1)
BOOL
ON (1): The light curtain sensing field is not obstructed, the light curtain is being muted, or the light curtain is being overridden.
OFF (0): The light curtain sensing field is obstructed.
Muting Lamp (ML)
BOOL
This output indicates the status of the light curtain’s protective function.
ON (1): The light curtain’s protective function is disabled.
OFF (0): The light curtain’s protective function is enabled.
Clear Area (CA)
BOOL
This output indicates when the light curtain sensing field must be cleared (all muting sensors and the light curtain are ON) before processing can continue.
ON (1): The light curtain sensing field must be cleared.
OFF (0): The light curtain sensing field is clear.
Fault Code
DINT
This output indicates the type of fault that occurred. See the Fault Codes in this instruction for the list of fault codes.
Diagnostic Code
DINT
This output indicates the diagnostic status of the instruction. See the Diagnostic Codes section in this instruction for a list of diagnostic codes.
This parameter is not safety-related.
Fault Present (FP)
BOOL
ON (1): A fault is present in the instruction.
OFF (0): The instruction is operating normally.
IMPORTANT:
Do not write to any instruction output tag under any circumstance.
Operation
Normal Operation
One sequence of muting sensor and light-curtain input transitions lets the protective function of the light curtain be disabled (muted). That sequence must start with both of the muting sensors and the light curtain in their ON (1) state, which indicates that the light-curtain sensing field is clear of all personnel and material.
At (A), the Sensors and the Light Curtain are cleared and the Output 1 output is energized when the Reset input turns ON (1). At (B), the material blocks Sensor 1, starting the S1-S2 timer. At (C), the material blocks Sensor 2 within the S1-S2 Time period, so the S1-S2 timer stops. The S2-LC and Maximum Mute timers start. The Muting Lamp output turns ON (1), indicating that muting is enabled. At (D), the material blocks the Light Curtain within the S2-LC Time period, so the S2-LC timer stops. From (D) to (E), Output 1 remains energized while the material passes through the Light Curtain. At (E), the material clears the Light Curtain, starting the LC-S2 timer. At (F), the material clears Sensor 2 within the S2-LC and Maximum Mute time periods, so both timers stop. The S2-S1 timer starts and the Muting Lamp output turns OFF (0), indicating that muting is disabled. At (G), the material clears Sensor 1, stopping the S2-S1 timer.
TSAM Operation
Invalid Sequence
Any input sequence other than the normal operation sequence results in Output 1 being de-energized.
At (A), Output 1 is energized just as in a normal sequence of operation. At (B), Sensor 1 and Sensor 2 are simultaneously blocked, causing Output 1 to be de-energized and the Fault Present and Clear Area outputs to turn ON (1). The override feature can be used to clear the material from the light curtain sensing field and de-energize the Clear Area output.
TSAM Invalid Sequence
Tolerated Sequence
The Two-sensor Asymmetrical Muting (TSAM) instruction tolerates application dynamics that might cause an input to oscillate due to over-travel or load vibration.
At (A) Output 1 is energized just as in a normal sequence of operation. At (B), Sensor 1 turns OFF (0), starting the S1-S2 timer. Sensor 1 turns ON at (C), stopping the S1-S2 timer. At (D), the material completely blocks Sensor 1, turning it OFF (0), and the normal muting sequence continues. A sensor can glitch, as illustrated from (B) to (C), as a result of overtravel or load vibration. As s long as the final input sequence is valid, muting function will be allowed to occur.
TSAM Tolerated Sequence
Dangerous Portion of Cycle
The Enable Mute input enables or disables the protective function of the light curtain. When the Enable Mute input is OFF (0), the protective function of the light curtain is enabled and material may not pass through the light curtain sensing field.
At (A), Output 1 is energized just as in a normal sequence of operation. At (B), the material blocks Sensor 1, turning it OFF (0) and starting the S1-S2 timer. At (C), the material blocks Sensor 2 within the S1-S2 time period so the S1-S2 timer stops and the S2-LC timer starts. Because the Enable Mute input is OFF (0), muting is disabled and the Muting Lamp output remains OFF (0). The material blocks the Light Curtain at (D), and Output 1 is de-energized.
If the application does not have parts of its cycle where it is unacceptable for material to pass through the light curtain, you can disable this feature by setting the Enable Mute input to a constant value of ON (1).
TSAM Dangerous Portion of Cycle
Override Operation
The override feature lets an operator manually energize Output 1 so that material can be cleared from the sensing field.
WARNING:
The Override function may be used only with a hold-to-run device where the operator can see the point of hazard, that is, the light curtain sensing field.
At (A), the Override input turns ON (1). Output 1 is energized and the Maximum Override timer starts. At (B), the material clears Sensor 1 and the Clear Area output is turned OFF (0). At (C), the Override input turns OFF (0) within the Maximum Override time period. Output 1 is de-energized and the Maximum Override timer stops.
TSAM Override Operation
False Rung State Behavior
When the instruction is executed on a false rung, all instruction outputs are de-energized.
Fault Codes
The fault codes are listed in hexadecimal format followed by decimal format.
General Fault Codes
Fault Code
Description
Corrective Action
0
No fault.
None.
16#20
32
The Input Status input went from ON (1) to OFF (0) while the instruction was executing.
  • Check the I/O module connection or the logic used to source input status.
  • Reset the fault.
Sensor Input Pattern Fault Codes
Fault Code
Description
Corrective Action
16#9600
38400
An illegal input pattern was detected. Sensor 1 and the Light Curtain are blocked and Sensor 2 cleared.
TSAM Fault Code 9600H
Sensor 2 should also be blocked
  • Check the Sensor 2 circuit.
  • Reset the fault.
16#9601H
38401
An illegal input pattern was detected. Sensor 2 and the Light Curtain are blocked and Sensor 1 is cleared.
TSAM Fault Code 9601H
Sensor 1 should also be blocked.
  • Check the Sensor 1 circuit.
  • Reset the fault.
16#9602
38402
An illegal input pattern was detected. Sensor 2 is blocked when Sensor 1 and the Light Curtain are cleared.
TSAM Fault Code 9602H
Sensor 2 should also be clear. Sensor 1 should be the first to be blocked.
  • Check the Sensor 2 circuit and the alignment of Sensors 1 and 2.
  • Reset the fault.
16#9603
38403
An illegal input pattern was detected. Sensor 1 and Sensor 2 are cleared and the Light Curtain is blocked.
TSAM Fault Code 9603H
The Light Curtain should not be blocked when Sensors 1 and 2 are clear.
  • Check the Light Curtain circuit.
  • Reset the fault.
Normal and Tolerated Muting Sequences
TSAM Invalid Sequence Faults
Muting Sequence Fault Codes
Fault Code
Description
Fault Code
Description
16#9500
38144
An illegal muting sequence was detected when Sensor 1 (S1) and Sensor 2 (S2) are simultaneously blocked in step 1.
TSAM Fault Code 9500H
16#9501
38145
An illegal muting sequence was detected when Sensor 1, Sensor 2, and the Light Curtain (LC) are simultaneously blocked in step 1.
TSAM Fault Code 9501H
16#9502
38146
An illegal muting sequence was detected when Sensor 2 and the Light Curtain are simultaneously blocked in step 2.
TSAM Fault Code 9502H
16#9503
381447
An illegal muting sequence was detected when Sensor 1 and Sensor 2 are simultaneously cleared in step 3.
TSAM Fault Code 9503H
16#9504
38148
An illegal muting sequence was detected when Sensor 1, Sensor 2, and the Light Curtain are simultaneously cleared in step 4.
TSAM Fault Code 9504H
16#9505
38149
An illegal muting sequence was detected when Sensor 2 and the Light Curtain are simultaneously cleared in step 4.
TSAM Fault Code 9505H
16#9506
38150
An illegal muting sequence was detected when Sensor 1 and Sensor 2 are simultaneously cleared in step 5.
TSAM Fault Code 9506H
16#9507
38151
An illegal muting sequence was detected when Sensor 2 and the Light Curtain are simultaneously blocked in step 6.
TSAM Fault Code 9507H
16#9508
38152
An illegal muting sequence was detected after the sequence transitions from step 5 to step 6 to step 5 (a tolerated sequence) when Sensor 1 and Sensor 2 are cleared.
TSAM Fault Code 508H
16#9509
38153
An illegal muting sequence was detected after the sequence transitions from step 5 to step 6 to step 5 (a tolerated sequence) when the Light Curtain is blocked.
TSAM Fault Code 9509H
To correct an invalid sequence fault, check the alignment of the sensors with regard to the material being moved and the system timing and then reset the fault.
Correcting Invalid Sequence Faults
Fault Code
Description
Corrective Action
16#9000
36864
The Light Curtain was muted for longer than the configured Maximum Mute Time.
The Maximum Mute Time parameter is set too short or there is an anomaly with the sensors.
16#9410
37904
Too much time has elapsed between Sensor 1 and Sensor 2 being blocked
The S1-S2 Time parameter is set too short or there is an anomaly with Sensor 2.
16#9411
37905
Too much time has elapsed between Sensor 2 and the Light Curtain being blocked.
The S2-LC Time parameter is set too short or there is an anomaly with Sensor 2.
16#9412
37906
Too much time has elapsed between the Light Curtain and Sensor 2 being cleared.
The S2-LC Time parameters is set too short or there is an anomaly with Sensor 2.
16#9413
37907
Too much time has elapsed between Sensor 2 and Sensor 1 being cleared.
The S1-S2 Time parameter is set too short or there is an anomaly with Sensor 2.
Diagnostic Codes and Corrective Actions
The diagnostic codes are listed in hexadecimal format followed by decimal format.
Diagnostic Code
Description
Corrective Action
0
No fault.
None
16#1
1
The Muting Lamp Status input is OFF (0).
  • Check the muting lamp and replace it, if necessary.
  • If a muting lamp is not required, set the Muting Lamp Status input to ON (1).
16#5
5
The Reset input is held ON (1).
Set the Reset input to OFF (0).
16#20
32
The Input Status input was OFF (0) when the instruction started.
Check the I/O module connection or the logic used to source input status.
Affects Math Status Flags
No
Major / Minor Faults
None specific to this instruction. See
Index Through Arrays
for array-indexing faults.
Execution
Condition/State
Action Taken
Prescan
Same as Rung-condition-in is false.
Rung-condition-in is false
The .O1, .ML, .CA and .FP are cleared to false.
Rung-condition-in is true
The instruction executes.
Postscan
Same as Rung-condition-in is false.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.