Clutch Brake Inch Mode (CBIM)

This instruction applies to the Compact GuardLogix 5370, GuardLogix 5570, Compact GuardLogix 5380, and GuardLogix 5580 controllers.
The Clutch Brake Inch Mode (CBIM) instruction is used in press applications where minor slide adjustments are required, for example, during press set up. During inch-mode operation, the flywheel is driven at a very low speed by either the main motor or another drive mechanism.
Available Languages
Ladder Diagram
RSL5K_CBIM Ladder Diagram_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, 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:
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 the Inputs table in this instruction.
This instruction is specified with the intent that the Enable input is sourced only by an Ox output
1
of the Eight Position Mode Selector (EPMS) instruction that is not already sourcing the Enable input of another Clutch Brake Inch Mode (CBIM), Clutch Brake Single Stroke Mode (CBSSM), or Clutch Brake Continuous Mode (CBCM) instruction
1
Where x = 1 through 8
WARNING:
Per Section 5.5.2 of EN692-2005; facilities shall be provided to allow the movement of the slide during tool-setting, maintenance and lubrication to be carried out with guards and protective devices in position and operational (see 5.3.2).
Where this implementation is not practicable, at least one of the following facilities shall be provided:
a. Rotation of the crankshaft by hand, with power isolated
b. Slow speed (equal or less than 10 mm/s) and hold-to-run control device
c. Two-hand control device in accordance with 5.5.9 and arranged so that it cannot be used for production, for example, when the cycle stops at least three times during one revolution of the crankshaft.
d. Using the Inching device.
The Inch Time parameter can be configured to fulfill the requirements of stopping 3 times during a press cycle as specified in 5.5.2 c of EN692-2005.
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.
The following table provides the parameters that are used to configure the instruction. These parameters cannot be changed at runtime.
Parameter
Data Type
Format
Description
CBIM
CB_INCH_MODE
tag
This parameter is a backing tag that maintains important execution information for each usage of this instruction.
dangericon
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.
Ack Type
BOOL
name
This parameter 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
The acknowledgment is made automatically when the Safety Enable input transitions from OFF (0) to ON (1).
Manual
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).
Inch Time
DINT
immediate
This parameter selects the amount of time Output 1 is allowed to remain energized while the Start input is ON (1). Output 1 is de-energized when the Start input transitions from ON (1) to OFF (0) while the timer is timing. The valid range is 0 to 5000 ms. A value of 0 disables the timer.
The following table explains the instruction inputs.
Parameter
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 to 8.
ON (1): The instruction is selected and operational.
OFF (0): The instruction is not operating. All instruction outputs are de-energized.
EnableSafety 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 parameter 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
This input is typically sourced 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 to 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 state of the Fault Present output of 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) - Input is Off
OFF (0)->ON (1): This transition acknowledges that the Safety Enable input has transitioned from OFF (0) to ON (1).
ON (1) - Input is On
The following table explains the instruction outputs.
Parameter
Data Type
Description
Output 1 (O1)
BOOL
Instruction Output
Tip:
Use this output to source the Actuate input of the Main Valve Control instruction.
ON (1): The output is energized.
OFF (0): The output is de-energized.
See CBIM – Energizing Output 1 and CBIM – De-energizing Output 1 below for details.
Diagnostic Code
DINT
This output indicates the diagnostic status of the instruction. See the CBIM – Diagnostic Codes below for a list of diagnostic codes.
This parameter is not safety-related.
IMPORTANT:
Do not write to any instruction output tag under any circumstances.
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 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:
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.
This diagram demonstrates the acknowledgment of the Safety Enable input, at (A). Output 1 is energized 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.
CBIM 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).
  • The Safety Enable input transitions from ON (1) to OFF (0).
  • The Standard Enable input transitions from ON (1) to OFF (0).
  • The slide moves to the Top zone.
  • The Inch timer expires.
  • The Monitor Motion Fault input transitions from ON (1) to OFF (0).
The Press In Motion input is not checked to de-energize Output 1. It is only checked to energize Output 1.
The following diagram demonstrates 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.
CBIM De-energizing output
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 16#2001...16#2009 are detected when attempting to start press movement by energizing Output 1. Diagnostics 16#2021 to 16#202A 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
00
No fault.
None.
16#2000
8192
Not used by this instruction.
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 is 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
8194
Output 1 failed to energize when the Start input turned ON (1) prior to the acknowledgment 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
8195
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
8196
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
8197
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#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
Not used by this instruction.
16#2023
8227
Output 1 is de-energized due to the Safety Enable input turning OFF (0).
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).
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).
Output 1 is de-energized when the Start input turns OFF (0) regardless of slide zone.
This diagnostic is cleared at the next attempt to begin press movement.
16#2026
8230
Output 1 is de-energized because the Inch Mode timer timed out.
Output 1 is always de-energized when Inch Mode timer times out. Verify that the Inch Time parameter value is correct for your application.
This diagnostic is cleared at the next attempt to begin press movement.
16#2027
8231
Not used by this instruction.
16#2028
8232
16#2029
8233
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.
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
Examples
RSL5K_CBIM Example_v31
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.