# Menu 12 − User Functions 2 and Brake Control

Mode: RFC‑S

Menu 12 provides parameters for the following features:

1. Threshold detectors
2. Variable selectors
3. Mechanical brake controller

Parameter | 12.001 Threshold Detector 1 Output
--- | ---
Short description | Displays the output of threshold detector 1
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default |  | Units |
Type | 1 Bit Volatile | Update Rate | 4ms write
Display Format | Standard | Decimal Places | 0
Coding | RO, ND, NC, PT

The threshold detector functions are always active even if the source and destination are not routed to valid parameters. If the source is not a valid parameter then the source value is taken as 0. The update rate for each of the threshold detector functions is always 4ms.

The following description is for threshold detector 1, but threshold detector 2 operates in the same way. The level of the parameter defined by Threshold Detector 1 Source (12.003) is converted to a percentage and compared to Threshold Detector 1 Level (12.004) with hysteresis to give Threshold Detector 1 Output (12.001) as follows:

Source | Threshold Detector 1 Output (12.001)
Source | 0
Lower threshold ≤ Source | No change of state
Source ≥ Upper threshold | 1

Lower threshold = Threshold Detector 1 Level (12.004) - Threshold Detector 1 Hysteresis (12.005)
Upper threshold = Threshold Detector 1 Level (12.004) + Threshold Detector 1 Hysteresis (12.005)

The output value can then be inverted with Threshold Detector 1 Output Invert (12.006) before being routed to the destination defined by Threshold Detector 1 Destination (12.007).

Parameter | 12.002 Threshold Detector 2 Output
--- | ---
Short description | Displays the output of threshold detector 1
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default |  | Units |
Type | 1 Bit Volatile | Update Rate | 4ms write
Display Format | Standard | Decimal Places | 0
Coding | RO, ND, NC, PT

See Threshold Detector 1 Output (12.001).

Parameter | 12.003 Threshold Detector 1 Source
--- | ---
Short description | Defines the source paramter for threshold detector 1
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

See Threshold Detector 1 Output (12.001).

Parameter | 12.004 Threshold Detector 1 Level
--- | ---
Short description | Defines the reference level for threshold detector 1
Mode | RFC‑S
Minimum | 0.00 | Maximum | 100.00
Default | 0.00 | Units | %
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.005 Threshold Detector 1 Hysteresis
--- | ---
Short description | Defines the hysteresis for threshold detector 1
Mode | RFC‑S
Minimum | 0.00 | Maximum | 25.00
Default | 0.00 | Units | %
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.006 Threshold Detector 1 Output Invert
--- | ---
Short description | Set to 1 to invert the output of threshold detector 1
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.007 Threshold Detector 1 Destination
--- | ---
Short description | Defines the destination parameter for threshold detector 1
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, DE, PT, BU

See Threshold Detector 1 Output (12.001).

Parameter | 12.008 Variable Selector 1 Source 1
--- | ---
Short description | Defines the 1st source parameter for variable selector 1
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

The variable selector functions are always active even if the source and destination are not routed to valid parameters. If a source is not a valid parameter then the source value is taken as 0. The update rate for each of the variable selector functions is always 4ms.

The following description is for variable selector 1, but variable selector 2 operates in the same way. The source parameters selected with Variable Selector 1 Source 1 (12.008) and Variable Selector 1 Source 2 (12.009) are converted to a percentage value, scaled with Variable Selector 1 Source 1 Scaling (12.013) and Variable Selector 1 Source 2 Scaling (12.014) respectively and then combined with a function defined by Variable Selector 1 Mode (12.010) to give Variable Selector 1 Output (12.012) as a percentage value. If Variable Selector 1 Enable (12.016) = 1 then the function operates normally. If Variable Selector 1 Enable (12.016) = 0 then Variable Selector 1 Output (12.012) = 0.00% and any states within the function are reset (i.e. the time constant function accumulator is held at zero). If the value of Variable Selector 1 Mode (12.010) is changed then all internal function state are also reset.

The table below shows the functions that can be selected with Variable Selector 1 Mode (12.010).

Variable Selector 1 Mode (12.010) | Variable Selector 1 Output (12.012)
0: Input 1 | Input 1
1: Input 2 | Input 2
2: Add | Input 1 + Input 2
3: Subtract | Input 1 - Input 2
4: Multiply | (Input 1 x Input 2) / 100.00%
5: Divide | (Input 1 x 100.00%) / Input 2
6: Time Const | Input 1 / (1 + τs) where τ = Variable Selector 1 Control (12.015) seconds
7: Ramp | Input 1 as an input to a linear ramp function where the time to ramp from 0.00% to 100.00% is defined by Variable Selector 1 Control (12.015) seconds
8: Modulus | |Input1|
9: Powers | If Variable Selector 1 Control (12.015) = 0.02 then Input2 / 100.00% Else if Variable Selector 1 Control (12.015) = 0.03 then Input3 / 100.00% Else Input 1
10: Sectional | See description below

Sectional Controller

If Variable Selector 1 Mode (12.010) = 10 then the variable selector can be used to provide a sectional control function. (Variable selector 2 operates in the same way.) The sectional control function is intended to apply scaling and a speed offset to a 16 bit position value to generate a new 16 bit position value. The output can be used as an input to the Standard motion controller (Menu 13) and to generate an encoder simulation output (Menu 3).

The position input is selected with Variable Selector 1 Source 1 (12.008) and can be derived from any parameter. However, it is intended to be used with a position value that has a range from 0 to 65535 (e.g. P1 Position (03.029)). The input is scaled so that as Variable Selector 1 Source 1 Scaling (12.013) is changed between -4.000 and 4.000 so the proportion of the input position change added to the accumulator varies from 0.000 to 2.000 (i.e. the change of position input value is added without scaling if Variable Selector 1 Source 1 Scaling (12.013) = 0.000). The remainder from the scaling division is stored and then added at the next sample to maintain an exact ratio between the position input and the position output, provided the speed from source 2 is zero. The controller only takes the change of position from the input source parameter, and not the absolute value, so that when the controller is first made active the output does not jump to the source position, but only moves with any changes of source position after that point in time.

Although the sectional controller is intended to use a source parameter with a range from 0 to 65535, it is possible to use parameters with a different range provided the maximum is a power of two minus 1, i.e. 231 - 1. It should be noted that the change of position is scaled based on the maximum of the parameter, and so a signed position value such as P1 Normalised Position (03.058) which has a maximum that corresponds to half its range will give twice the change of position when compared to P1 Position (03.029). To counteract this effect the scaling applied to the change of position in the sectional controller should be set to 0.5.

The range of Variable Selector 1 Output (12.012) is 0.00% and 100.00%. Unlike other functions the value is not simply limited, but rolls under or over respectively. Although the output destination can be any parameter it is intended to be used with a position value that has a range from 0 to 65535.

The speed input defines a speed offset with a resolution of 0.1rpm. Full scale of the source parameter corresponds to 1000.0rpm. Scaling may be applied using Variable Selector 1 Source 2 Scaling (12.014) to give a full scale value up to 4000.0rpm. The speed input is added to the accumulator to move the output position forwards or backwards with respect to the position input.

The sample time for the variable selector is 4ms and the input or output position must not change by more than half a revolution over this time. Therefore the input or output speed must not exceed 7500rpm.

The diagram below shows an example of how the sectional controller function could be configured. The section input position is provided from the previous section via the P1 position feedback interface. The destination of the variable selector is the Standard Motion Local Reference Position (13.021) in the standard motion controller which is used to provide the speed reference and to control the local motor attached to the drive. The encoder simulation system is used to generate the section output to be fed into the next drive. The source for the encoder simulation is Standard Motion Local Reference Position (13.021).

Parameter | 12.009 Variable Selector 1 Source 2
--- | ---
Short description | Defines the 2nd source parameter for variable selector 1
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.010 Variable Selector 1 Mode
--- | ---
Short description | Defines the mode for variable selector 1
Mode | RFC‑S
Minimum | 0 | Maximum | 10
Default | 0 | Units |
Type | 8 Bit User Save | Update Rate | Background read
Display Format | Standard | Decimal Places | 0
Coding | RW, TE

Value | Text
0 | Input 1
1 | Input 2
2 | Add
3 | Subtract
4 | Multiply
5 | Divide
6 | Time Const
7 | Ramp
8 | Modulus
9 | Powers
10 | Sectional

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.011 Variable Selector 1 Destination
--- | ---
Short description | Defines the destination parameter for variable selector 1
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, DE, PT, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.012 Variable Selector 1 Output
--- | ---
Short description | Displays the output of variable selector 1
Mode | RFC‑S
Minimum | -100.00 | Maximum | 100.00
Default |  | Units | %
Type | 16 Bit Volatile | Update Rate | 4ms write
Display Format | Standard | Decimal Places | 2
Coding | RO, ND, NC, PT

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.013 Variable Selector 1 Source 1 Scaling
--- | ---
Short description | Defines the scaling for the 1st input for variable selector 1
Mode | RFC‑S
Minimum | -4.000 | Maximum | 4.000
Default | 1.000 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 3
Coding | RW

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.014 Variable Selector 1 Source 2 Scaling
--- | ---
Short description | Defines the scaling for the 2nd input for variable selector 1
Mode | RFC‑S
Minimum | -4.000 | Maximum | 4.000
Default | 1.000 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 3
Coding | RW

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.015 Variable Selector 1 Control
--- | ---
Short description | Defines the control for variable selector 1
Mode | RFC‑S
Minimum | 0.00 | Maximum | 100.00
Default | 0.00 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.016 Variable Selector 1 Enable
--- | ---
Short description | Enables variable selector 1
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 1 | Units |
Type | 1 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW, BU

See Variable Selector 1 Source 1 (12.008) for more details.

Variable Selector 1 Enable (12.016) and Variable Selector 2 Enable (12.036) have a default of 1 so that if these parameters are not used the variable selectors will still function.

Parameter | 12.023 Threshold Detector 2 Source
--- | ---
Short description | Defines the source paramter for threshold detector 2
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

See Threshold Detector 1 Output (12.001).

Parameter | 12.024 Threshold Detector 2 Level
--- | ---
Short description | Defines the reference level for threshold detector 2
Mode | RFC‑S
Minimum | 0.00 | Maximum | 100.00
Default | 0.00 | Units | %
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.025 Threshold Detector 2 Hysteresis
--- | ---
Short description | Defines the hysteresis for threshold detector 2
Mode | RFC‑S
Minimum | 0.00 | Maximum | 25.00
Default | 0.00 | Units | %
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.026 Threshold Detector 2 Output Invert
--- | ---
Short description | Set to 1 to invert the output of threshold detector 2
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW

See Threshold Detector 1 Output (12.001).

Parameter | 12.027 Threshold Detector 2 Destination
--- | ---
Short description | Defines the destination parameter for threshold detector 2
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, DE, PT, BU

See Threshold Detector 1 Output (12.001).

Parameter | 12.028 Variable Selector 2 Source 1
--- | ---
Short description | Defines the 1st source parameter for variable selector 2
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.029 Variable Selector 2 Source 2
--- | ---
Short description | Defines the 2nd source parameter for variable selector 2
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, PT, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.030 Variable Selector 2 Mode
--- | ---
Short description | Defines the mode for variable selector 2
Mode | RFC‑S
Minimum | 0 | Maximum | 10
Default | 0 | Units |
Type | 8 Bit User Save | Update Rate | Background read
Display Format | Standard | Decimal Places | 0
Coding | RW, TE

Value | Text
0 | Input 1
1 | Input 2
2 | Add
3 | Subtract
4 | Multiply
5 | Divide
6 | Time Const
7 | Ramp
8 | Modulus
9 | Powers
10 | Sectional

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.031 Variable Selector 2 Destination
--- | ---
Short description | Defines the destination parameter for variable selector 2
Mode | RFC‑S
Minimum | 0.000 | Maximum | 59.999
Default | 0.000 | Units |
Type | 16 Bit User Save | Update Rate | Drive reset read
Display Format | Standard | Decimal Places | 3
Coding | RW, DE, PT, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.032 Variable Selector 2 Output
--- | ---
Short description | Displays the output of variable selector 2
Mode | RFC‑S
Minimum | -100.00 | Maximum | 100.00
Default |  | Units | %
Type | 16 Bit Volatile | Update Rate | 4ms write
Display Format | Standard | Decimal Places | 2
Coding | RO, ND, NC, PT

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.033 Variable Selector 2 Source 1 Scaling
--- | ---
Short description | Defines the scaling for the 1st input for variable selector 2
Mode | RFC‑S
Minimum | -4.000 | Maximum | 4.000
Default | 1.000 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 3
Coding | RW

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.034 Variable Selector 2 Source 2 Scaling
--- | ---
Short description | Defines the scaling for the 2nd input for variable selector 2
Mode | RFC‑S
Minimum | -4.000 | Maximum | 4.000
Default | 1.000 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 3
Coding | RW

Parameter | 12.035 Variable Selector 2 Control
--- | ---
Short description | Defines the control for variable selector 2
Mode | RFC‑S
Minimum | 0.00 | Maximum | 100.00
Default | 0.00 | Units |
Type | 16 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 2
Coding | RW

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.036 Variable Selector 2 Enable
--- | ---
Short description | Enables variable selector 2
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 1 | Units |
Type | 1 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW, BU

See Variable Selector 1 Source 1 (12.008).

Parameter | 12.040 Brake Control: Brake Release
--- | ---
Short description | Enables the brake release function
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default |  | Units |
Type | 1 Bit Volatile | Update Rate | 4ms write
Display Format | Standard | Decimal Places | 0
Coding | RO, ND, NC, PT

The mechanical brake control function can be used to control an electro-mechanical brake via digital I/O. Brake Control: Brake Release (12.040) = 0 when the brake should be applied and 1 when the brake should be released. Normally this should be routed to a digital output to control the mechanical brake. See Brake Control: Enable (12.041) for details.

Parameter | 12.041 Brake Control: Enable
--- | ---
Short description | Enables the brake control function
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit User Save | Update Rate | Background read
Display Format | Standard | Decimal Places | 0
Coding | RW

If Brake Control: Enable (12.041) = 0 then the brake controller is disabled. The following parameters which are used by the brake controller to operate the drive are reset to 0 on the transition of Brake Control: Enable (12.041) from 1 to 0.

Parameter
Ramp Hold (02.003)
Hold Zero Speed (06.008)
Standard Motion Reference Source (13.004) *
Standard Motion Controller Mode (13.010) *

* If Brake Control: Enable Position Control During Brake Release (12.049) = 1

RFC-S mode
In RFC-S mode the following brake controller is provided.

Speed detection
If Reference On (01.011) = 1 then the speed detection signal is active. When Reference On (01.011) is de-activated the speed detection signal is not de-activated until the modulus of Speed Feedback (03.002) falls below Brake Control: Brake Apply Speed (12.045) and an additional delay defined by Brake Control: Brake Delay (12.046).

Brake controller sequence
The brake controller sequence is shown for forward movement in the diagram below.

The brake is released when Drive Active (10.002) = 1 and speed detection is active. The ramp hold is released after a further delay to allow the motor to accelerate away from standstill. When the Speed Feedback (03.002) subsequently falls below Brake Control: Brake Apply Speed (12.045) and Reference On (01.011) = 0 (i.e. the motor is required to stop) then the brake is applied after a delay defined by Brake Control: Brake Delay (12.046). The motor is held at zero speed for a further delay to allow the brake to apply, i.e. Brake Control: Brake Apply Delay (12.048). Ramp Hold (02.003) is held at 1 while the brake is being applied in case the reference is reapplied during this period to prevent the motor running against the brake. Also Ramp Hold (02.003) will already be active when the drive restarts to hold the speed reference at zero. It is also possible for the Standard motion controller to be active during this period to help prevent the motor from moving even under load after the brake has been released by setting Brake Control: Enable Position Control During Brake Release (12.049) = 1.

If required, an input can be routed to External Brake Released Indicator (12.054) to delay the the motor from starting until an external indication is given that the brake has released. To use an external indication Brake Release Source (12.055) should be set to one.

Parameter | 12.043 Brake Control: Lower Current Threshold
--- | ---
Short description | Defines the lower current limit for the brake
Mode | RFC‑S
Minimum | 0 | Maximum | 200
Default | 10 | Units | %
Type | 8 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW, BU

See Brake Control: Enable (12.041).

Parameter | 12.045 Brake Control: Brake Apply Speed
--- | ---
Short description | Defines the apply speed of the brake
Mode | RFC‑S
Minimum | 0 | Maximum | 200
Default | 5 | Units |
Type | 8 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW, BU

See Brake Control: Enable (12.041).

Parameter | 12.046 Brake Control: Brake Delay
--- | ---
Short description | Defines the pre-brake release delay
Mode | RFC‑S
Minimum | 0.0 | Maximum | 25.0
Default | 1.0 | Units | s
Type | 8 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 1
Coding | RW, BU

See Brake Control: Enable (12.041).

Parameter | 12.047 Brake Control: Post-brake Release Delay
--- | ---
Short description | Defines the post-brake release delay
Mode | RFC‑S
Minimum | 0.0 | Maximum | 25.0
Default | 1.0 | Units | s
Type | 8 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 1
Coding | RW, BU

See Brake Control: Enable (12.041).

Parameter | 12.048 Brake Control: Brake Apply Delay
--- | ---
Short description | Defines the delay for applying the brake
Mode | RFC‑S
Minimum | 0.0 | Maximum | 25.0
Default | 1.0 | Units | s
Type | 8 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 1
Coding | RW, BU

See Brake Control: Enable (12.041)

Parameter | 12.049 Brake Control: Enable Position Control During Brake Release
--- | ---
Short description | Enables position control during brake release
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit User Save | Update Rate | 4ms read
Display Format | Standard | Decimal Places | 0
Coding | RW

See Brake Control: Enable (12.041)

Parameter | 12.054 External Brake Released Indicator
--- | ---
Short description | External Brake Released Indicator
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit Volatile | Update Rate | 4ms Read
Display Format | Standard | Decimal Places | 0
Coding | RW, NC

See Brake Control: Enable (12.041).

Parameter | 12.055 Brake Release Source
--- | ---
Short description | Brake Release Source
Mode | RFC‑S
Minimum | 0 | Maximum | 1
Default | 0 | Units |
Type | 1 Bit User Save | Update Rate | Background Read
Display Format | Standard | Decimal Places | 0
Coding | RW

See Brake Control: Enable (12.041).