Clutch Brake Single Stroke Mode (CBSSM)

This instruction applies to the Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380, and GuardLogix 5580 controllers.
The Clutch Brake Single Stroke Mode (CBSSM) instruction is used in single-cycle press applications.
Available Languages
Ladder Diagram
CBBSM_LD_v31
Function Block
This instruction is not available in function block.
Structured Text
This instruction is not available in structured text.
WARNING:
Do not use automatic acknowledgment when access within the danger zone can go undetected. This instruction, when configured for automatic acknowledgment, must be used in combination with other instructions, at least one of which must fulfill the manual reset requirement.
Reset controls must be located within sight, but out of reach of the danger zone.
See section 5.4.1.3 of EN692-2005 for details.
WARNING:
ATTENTION:
This instruction is specified with the intent that the Slide Zone input is sourced only by the Slide Zone output of the Crankshaft Position Monitor (CPM) instruction or application logic that satisfies the Slide Zone requirements listed in this instruction.
This instruction is specified with the intent that the Enable input is sourced only by an Ox output1 of the Eight Position Mode Selector (EPMS) instruction that is not already sourcing the Enable input of another (CBIM), Clutch Brake Single Stroke Mode (CBSSM), or Clutch Brake Continuous Mode (CBCM) instruction.
1 Where x = 1 through 8
Operands
IMPORTANT:
Unexpected operation may occur if:
  • Output tag operands are overwritten.
  • Members of a structure operand are overwritten.
  • Structure operands are shared by multiple instructions.
WARNING:
The CBSSM structure contains internal state information. If any of the configuration operands are changed while in run mode, the state information must be re-initialized by making the rung-condition-in false.
The following table provides the operands used to configure the instruction.
Operand
Data Type
Format
Description
CBSSM
CB_SINGLE_STROKE_MODE
tag
Data structure required for proper operation of instruction.
Ack Type
BOOL
list item
This operand specifies how to acknowledge a Safety Enable OFF (0) to ON (1) transition. This acknowledgment must be made before Output 1 can be energized.
AUTOMATIC (1)
The acknowledgment is made automatically when the Safety Enable input transitions from OFF (0) to ON (1).
MANUAL (0)
The acknowledgment is made when Safety Enable Ack transitions from OFF (0) to ON (1) after the Safety Enable input transitions from OFF (0) to ON (1).
Takeover Mode
BOOL
list item
This operand determines where the press is stopped when the Safety Enable and/or Start input transitions from ON (1) to OFF (0) while the slide is in the Up zone.
Important:
When using this instruction with Takeover Mode Enabled, safety devices that are continuously active, such as E-stops, must directly drive the Enable operand of the CBSSM instruction. The application developer is responsible for determining the safety devices that are not continuously active, such as certain light curtains, two-hand run stations, and others, which may be used to drive the Safety Enable operand and can be muted during press upstroke.
ENABLED (1)
The press is stopped when the slide enters the Top zone.
DISABLED (0)
The press is stopped immediately.
The following table explains the instruction inputs.
Operand
Data Type
Format
Description
Enable
BOOL
tag
This input is the signal to activate this instruction; for example, by an Eight Position Mode Selector (EPMS) Ox output, where x = 1 through 8.
ON (1): The instruction is selected and operational.
OFF (0): The instruction is not operating. All instruction outputs are de-energized.
Safety Enable
BOOL
tag
This input represents the status of safety-related permissive devices such as E-stops, light curtains or safety gates.
ON (1): Permissive devices are actively guarding the danger zone. Permits the energizing of Output 1.
OFF (0): Permissive devices are in a state that doesn't allow Output 1 to be energized.
Standard Enable
BOOL
tag
Indicates the state of non safety-related permissive devices.
ON (1): Permits the energizing of Output 1.
OFF (0): Prevents the energizing of Output 1.
This operand is not safety-related.
Start
BOOL
tag
Input to start press movement.
ON (1): Energize Output 1 if all input conditions have been met.
OFF (0): Output 1 is de-energized.
Press In Motion
BOOL
tag
Source this input by Output 1 of the Camshaft Monitor (CSM) instruction or by user application logic. Feedback from the press safety valve needs to be included in the building of this signal.
ON (1): Indicates that the press is moving.
OFF (0): Indicates that the press is stopped.
Slide Zone
DINT
tag
This input represents the position of the slide and the position information status. It is sourced by the Crankshaft Position Monitor (CPM) instruction's Slide Zone output or user application logic that provides the following bit-mapped information.
Bit 0: Status
OFF (0) - The Slide Zone information is invalid. Prevents the energizing of Output 1 on an initial start or immediately stops the press.
ON (1) - Slide Zone information is valid.
Bits 1 and 2: Slide Zone
The following table lists how Bits 0 to 2 are used to represent the valid slide zones.
Bit 2
Bit 1
Bit 0
Slide Zone
Decimal Value
0
0
1
Down
1
0
1
1
Up
3
1
0
1
Top
5
Bits 3 through 31: Unused: Set to 0.
Motion Monitor Fault
BOOL
tag
Stops the press immediately when a press motion problem has been detected. This input is sourced by inverting the Fault Present output coming from the Camshaft Monitor (CSM) instruction or application logic that performs motion diagnostics.
ON (1): Indicates that press motion is valid. Permits Output 1 to be energized.
OFF (0): Indicates that a press motion problem exists. Prevents Output 1 from being energized or immediately de-energizes Output 1.
Safety Enable Ack
BOOL
tag
This input is required when the configured Ack Type is Manual.
OFF (0)->ON (1): Acknowledges that the Safety Enable input has transitioned from OFF (0) to ON (1).
The following table explains the instruction outputs.
Operand
Data Type
Description
Output 1 (01)
BOOL
Output used to source the Actuate input of the Main Valve Control (MVC) instruction.
ON (1): The output is energized.
OFF (0): The output is de-energized.
See Energizing Output 1 and De-energizing Output 1.
Diagnostic Code
DINT
This operand is not safety-related.
See Diagnostic Codes.
IMPORTANT:
Do not write to any instruction output tag under any circumstances.
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 is cleared to false.
The Diagnostic Code output is set to 0.
Rung-condition-in is true
The instruction executes as described in the Operation section.
Postscan
Same as Rung-condition-in is false.
Operation
Energizing Output 1
Output 1 is energized only when the Start input transitions from OFF (0) to ON (1) and all of these conditions are met:
  • The Enable input is ON (1).
  • The Safety Enable input has been acknowledged.
  • The Standard Enable input is ON (1).
  • The Slide Zone input represents the Top zone.
  • The Motion Monitor Fault input is ON (1).
  • The Press In Motion input is OFF (0).
  • The Safety Enable Ack input is OFF (0).
    IMPORTANT:
    If the Ack Type is Manual, an acknowledgment of the Safety Enable input is required when the Enable input transitions from OFF (0) to ON (1) and before the Start input turns ON (0).
WARNING:
When the configured Ack Type is Automatic, Output 1 is energized when the Safety Enable, Standard Enable, Press In Motion, and Motion Monitor Fault inputs return to the active or valid state at the same time the Start input transitions from OFF (0) to ON (1).
WARNING:
Output 1 can be re-energized when the Slide Zone input is Down, providing that Output 1 had been initially energized when the Slide Zone input was Top, and Output 1 was de-energized because the Start input turned OFF (0).
Any other reason for Output 1 being de-energized requires that the slide be inched back to the Top position.
WARNING:
The cam switches that determine slide position are monitored by the CPM instruction. This instruction uses the Slide Zone output of the CPM instruction as a representation of the cam switches that determine slide position.
Energizing Output 1 Timing
This diagram demonstrates the acknowledgment of the Safety Enable input, at (A) and the energizing of Output 1 when the Start input transitions from OFF (0) to ON (1) at (B) and all input conditions have been met. The safety enable acknowledgment only needs to be made once while the Safety Enable input is ON (1) when the configured Ack Type is Manual.
CBSSM Acknowledge safety enable input
De-energizing Output 1
Once energized, Output 1 is de-energized when one or more of the following occurs:
  • The Enable input transitions from ON (1) to OFF (0).
  • The Start input transitions from ON (1) to OFF (0).
    When this transition occurs while the slide is in the Up zone and the Takeover Mode is Enabled, Output 1 is de-energized when the slide enters the Top zone. Otherwise, when the Takeover Mode is Disabled, Output 1 is de-energized immediately. Output 1 is also de-energized immediately when this transition occurs while the slide is in the Top or Down zones.
  • The Safety Enable input transitions from ON (1) to OFF (0). When this transition occurs while the slide is in the Up zone and Takeover Mode is enabled, Output 1 is de-energized when the slide enters the Top zone. Otherwise, when the Takeover Mode is disabled, Output 1 is de-energized immediately. Output 1 is also de-energized immediately when this transition occurs while the slide is in the Top or Down zones.
  • The Standard Enable input transitions from ON (1) to OFF (0). When this transition occurs while the slide is in the Up zone, Output 1 is de-energized when the slide enters the Top zone. Otherwise, Output 1 is de-energized immediately.
  • The Slide Zone input value becomes invalid.
  • The slide transitions to the Top zone.
  • The Monitor Motion Fault input transitions from ON (1) to OFF (0).
  • The direction of the press appears to be running in reverse.
  • The Press In Motion input is OFF (0) when the slide transitions from Top to Down.
  • The Press in Motion input transitions from ON (1) to OFF (0).
This diagram shows the de-energizing of Output 1 when the Safety Enable input transitions from ON (1) to OFF (0) at (A). An acknowledgment of the Safety Enable input is required when the Safety Enable input transitions from OFF (0) to ON (1) at (B) before Output 1 can be re-energized.
CBSSM De-energizing of Output 1
False Rung State Behavior
When the instruction is executed on a false rung, all instruction outputs are de-energized.
Diagnostic Codes and Corrective Actions
Diagnostics 2000H through 200AH are detected when attempting to start press movement by energizing Output 1. Diagnostics 2020H through 202D are used to diagnose the reason for stopping press movement by de-energizing Output 1.
The diagnostic codes are listed in hexadecimal format followed by decimal format.
Diagnostic Code
Description
Corrective Action
0
No fault.
None.
16#2000
8192
Output 1 failed to energized when the Start input turned ON (1), due to an invalid Slide Zone input value.
Check the Crankshaft Position Monitor (CPM) instruction or the application logic used to source this input. This diagnostic is cleared when a valid Slide Zone is established.
16#2001
8193
Output 1 failed to energize when the Start input turned ON (1) due to the Press In Motion input being ON (1).
  • Wait for the press to come to a complete stop before initiating press movement.
  • Verify that the device monitoring press movement is working correctly.
  • Verify that only one mode of operation is selected.
This diagnostic is cleared when the Press In Motion input turns OFF (0).
16#2002
8914
Output 1 failed to energize when the Start input turned ON (1) prior to the acknowledgement of the Safety Enable input.
  • Verify that the active opto-electronic protective devices (AOPDs) and electro-sensitive protective equipment (ESPEs) used to source the Safety Enable input are protecting their respective areas.
  • Then, to clear the diagnostic for manual Ack Types, acknowledge the Safety Enable input by turning the Safety Enable Ack input ON (1).
  • For automatic Ack Types, this diagnostic is cleared when the Safety Enable input turns ON (1).
16#2003
8915
Output 1 failed to energize when the Start input turned ON (1) due to the Standard Enable input being OFF (0).
Verify that the devices used to source the Standard Enable input are functioning properly. This diagnostic is cleared when the Standard Enable input is ON (1).
16#2008
8200
Output 1 failed to energize when the Start input turned ON (1) due to the Motion Monitor Fault input being OFF (0).
Check the Camshaft Monitor (CSM) instruction or the application logic used to monitor press movement.
This diagnostic is cleared when the motion monitor functions are properly monitoring motion and the Motion Monitor Fault input is ON (1).
16#2009
8201
Manual Ack Type
Output 1 failed to energize when the Start input turned ON (1) due to the Safety Enable Ack input being ON (1).
Turn the Safety Enable Ack input OFF (0).
This diagnostic is cleared when the Safety Enable Ack input turns OFF (0).
Automatic Ack Type
N/A
16#200A
8202
Output 1 failed to energize when the Start input turned ON (1) due to the slide being in the Up or Down zone.
The slide must be in the Top zone to initiate press movement.
This diagnostic is cleared when the slide is inched back to the Top zone.
16#2020
8224
Output 1 is de-energized due to the Slide Zone input value becoming invalid.
Check the Crankshaft Position Monitor (CPM) instruction or the application logic used to source this input.
This diagnostic is cleared at the next attempt to begin press movement.
16#2021
8225
Output 1 is de-energized due to the Motion Monitor Fault input turning OFF (0).
Check the Camshaft Monitor (CSM) instruction or the application logic used to monitor press movement.
This diagnostic is cleared at the next attempt to begin press movement.
16#2022
8226
Output 1 is de-energized due to the detection of press movement in the reverse direction.
Verify the direction of the press.
This diagnostic is cleared at the next attempt to begin press movement.
16#2023
8227
Output 1 is de-energized due to the Safety Enable input turning OFF (0) while the slide was in the Top or Down zone.
Verify that the AOPDs and ESPEs used to source the Safety Enable input are protecting their respective areas.
This diagnostic is cleared at the next attempt to begin press movement.
16#2024
8228
Output 1 is de-energized due to the Standard Enable input turning OFF (0) while the slide was in the Top or Down zone.
Verify that the devices and application logic used to source the Standard Enable input are functioning properly.
This diagnostic is cleared at the next attempt to begin press movement.
16#2025
8229
Output 1 is de-energized due to the Start input turning OFF (0) while the slide was in the Top or Down zones.
Output 1 is always de-energized when the Start input turns OFF (0) while the slide is in the Top or Down zones.
This diagnostic is cleared at the next attempt to begin press movement.
16#2026
8230
Not used by this instruction.
16#2027
8231
Output 1 is de-energized immediately when the Safety Enable input turned OFF (0) while the slide was in the Up zone and the Takeover Mode is Disabled.
Verify that the AOPDs and ESPEs used to source the Safety Enable input are protecting their respective areas.
This diagnostic is cleared at the next attempt to begin press movement.
16#2028
8232
Output 1 is de-energized when the slide entered the Top zone due to the Standard Enable input turning OFF (0) while the slide was in the Up zone.
Verify that the devices and application logic used to source the Standard enable input are functioning properly.
This diagnostic is cleared at the next attempt to begin press movement.
16#2029
8233
Output 1 is de-energized immediately when the Start input turned OFF (0) while the slide was in the Up zone and the Takeover Mode is Disabled.
This diagnostic is cleared at the next attempt to begin press movement.
16#202A
8234
Output 1 is de-energized due to the slide entering the Top zone.
Output 1 is always de-energized when the slide enters the Top zone.
This diagnostic is cleared at the next attempt to begin press movement.
16#202B
8235
Output 1 is de-energized due to the Press In Motion input remaining OFF (0) when the slide entered the Down zone or the Press In Motion input transitioned from ON (1) to OFF (0.
Check the Camshaft Monitor (CSM) instruction or the application logic used to monitor press movement.
This diagnostic is cleared at the next attempt to begin press movement.
16#202C
8236
Output 1 is de-energized when the slide entered the Top zone and the Safety Enable input turned OFF (0) while the slide was in the Up zone, when the Takeover Mode is Enabled.
Verify that the AOPDs and ESPEs used to source the Safety Enable input are protecting their respective areas.
This diagnostic is cleared at the next attempt to begin press movement.
16#202D
8237
Output 1 is de-energized when the slide entered the Top zone and the Start input turned OFF (0) while the slide was in the Up zone when the Takeover Mode is Enabled.
This diagnostic is cleared at the next attempt to begin press movement.
Examples
Ladder Diagram
RSL5K_CBSSM Ladder Diagram Example_v31
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.