Copyright: Created with EasyHelp (Tel: 0973 209667)


Line Drive/Speed Control - RG354337

Description

This function block is essentially the same as Line Drive/Section Control without the Loadcell PID.  It is made up of four sub-function Blocks:  'Speed Selection Logic', 'Draw/Ratio Calculation', 'Trim & Scaling', and 'Current Trim'.  The other blocks are described below.  Unless otherwise noted, all parameters are persistent, can be preset, and have set and get methods.

Speed Selection Logic

This block selects the input speed.  The Start and Jog select whether the Line Speed SP or the Jog Speed (modified by Direction) is input into the ramp.  If either Start or Jog is true, Run Delta is used as the ramp rate, otherwise, Stop Delta is used for the stop rate and the ramp input is zero.  The ramp output is used as the input to the Draw/Ratio Calculation block..

Draw/Ratio Calculation

This block is used to perform a ratio or draw calculation.  If Draw Enable is true, the input is multiplied by Draw SP and Draw Range otherwise it is multiplied by zero.  If Draw-Ratio is in ratio, the input to this block is then added to that result to generate the Aux Speed output.

Current Trim

This block calculates a speed trim based on the Aramture Current input.  This trim is calculated by taking the difference of the signed Armature Current and the product of Torque SP and Torque Cal.  This result is scaled by Droop Gain to generate the current trim.

Trim & Scaling

This block takes the output of the Draw/Ratio Calculation, trims (adds) it with either Trim 1, Trim 2 (depending on Trim Select, Trim Sign and Trim Min and Trim Max) or Current Trim block depending on Torque Enable (the selected trim is multiplied by Range Non-Extn or Range Exten depending on Extensible Web first), clamps it to Min Speed or Agitate Speed depending on Agitate Enable, and then scales it by Speed Cal and Diameter to generate the Speed Demand output.

The Position output is either Trim 1 or Trim 2 (based on Trim Select) with the sign set by Position Sign.

Parameters

Parameters listed below which have a '*' in front of their name are not persistent.

Agitate Enable	Expects Enabled (true) or Disabled (false).

Agitate Speed	Expects a value between -120% and 120%.

*Armature Current	Expects a value between -200% and 200%.

*Aux Speed SP	Expects a value between -120% and 120%.

Diameter	Expects a value 0.1% to 100% Full Roll.

Direction	Expects Forward (true) or Reverse (false).

Draw Enable	Expects Enabled (true) or Disabled (false).

Draw Range	Expects an number between -10 and 10.

Draw SP	Expects a value between -100% and 100%.

Draw-Ratio	Expects Draw (true) or Ratio (false).

Droop Gain	Expects a number between -10 and 10.

Extensible Web	Expects Enabled (true) or Disabled (false).

*Forward-Reverse	Expects Forward (true) or Reverse (false).

*Jog	Expects Enabled (true) or Disabled (false).

Jog Speed	Expects a value between -120% and 120%.

*Line Speed SP	Expects a value between -120% and 120%.

Min Speed	Expects a value between -120% and 120%.

Position Sign	Expects Forward (true) or Reverse (false).

Range Extn	Expects a value between -120% and 120%.

Range Non-Extn	Expects a value between -120% and 120%.

Run Delta	Expects a value between 0 and 100%.

*Speed Cal	Expects a value between -100% and 100%.

*Start	Expects Enabled (true) or Disabled (false).

Stop Delta	Expects a value between 0 and 100%.

Torque Cal	Expects a value between -100% and 100%.

*Torque Enable	Expects Enabled (true) or Disabled (false).

*Torque SP	Expects a value between -100% and 100%.

*Trim 1	Expects a value between -100% and 100%.

*Trim 2	Expects a value between 0% and 100% which is converted to a value in the range -100% to 100%.  Thus an input of 0 -> -100, an input of 50% -> 0%, etc.  See SignalP/Unipolar to Bipolar.

Trim Max	Expects a value between -100% and 100%.

Trim Min	Expects a value between -100% and 100%.

Trim Select	Expects Trim 2 (true) or Trim 1 (false).

Trim Sign	Expects Forward (true) or Reverse (false).

Get Agitate Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Agitate Speed	Returns the current state:  Enabled (true) or Disabled (false).

Get Armature Current	Returns the current state:  Value between -200% and 200%.

Get Aux Speed	Returns the current state:  Value between -120% and 120%.

Get Clamp Speed	Returns the current state:  Value between -120% and 120%.

Get Diameter	Returns the current state:  % (Full Roll = 100%).

Get Direction	Returns the current state:  Forward (true) or Reverse (false).

Get Draw Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Draw Range	Returns the current state:  Number between -10 and 10.

Get Draw SP	Returns the current state:  Value between -100% and 100%.

Get Draw-Ratio	Returns the current state:  Draw (true) or Ratio (false).

Get Droop Gain	Returns the current state:  Number between -10 and 10.

Get Extensible Web	Returns the current state:  Enabled (true) or Disabled (false).

Get Forward-Reverse	Returns the current state:  Forward (true) or Reverse (false).

Get Jog	Returns the current state:  Enabled (true) or Disabled (false).

Get Jog Speed	Returns the current state:  Value between -120% and 120%.

Get Line Speed SP	Returns the current state:  Value between -120% and 120%.

Get Min Speed	Returns the current state:  Value between -120% and 120%.

Get Position Sign	Returns the current state:  Forward (true) or Reverse (false).

Get Ramped Speed	Returns the current state:  Value between -120% and 120%.

Get Range	Returns the current state:  Value between -120% and 120%.

Get Range Extn	Returns the current state:  Value between -120% and 120%.

Get Range Non-Extn	Returns the current state:  Value between -120% and 120%.

Get Run Delta	Returns the current state:  Value between 0% and 100%.

Get Speed Cal	Returns the current state:  Value between -100% and 100%.

Get Speed Demand	Returns the current state:  Value between -120% and 120%.

Get Start	Returns the current state:  Enabled (true) or Disabled (false).

Get Stop Delta	Returns the current state:  Value between 0% and 100%.

Get Torque Cal	Returns the current state:  Value between -100% and 100%.

Get Torque Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Torque SP	Returns the current state:  Value between -100% and 100%.

Get Trim	Returns the current state:  Value between -100% and 100%.

Get Trim 1	Returns the current state:  Value between -100% and 100%.

Get Trim 2	Returns the current state:  Value between 0% and 100%.

Get Trim Max	Returns the current state:  Value between -100% and 100%.

Get Trim Min	Returns the current state:  Value between -100% and 100%.

Get Trim Select	Returns the current state:  Trim 2 (true) or Trim 1 (false).

Get Trim Sign	Returns the current state:  Forward (true) or Reverse (false).


Description

This function block is essentially the same as Line Drive/Section Control without the Loadcell PID.  It is made up of four sub-function Blocks:  'Speed Selection Logic', 'Draw/Ratio Calculation', 'Trim & Scaling', and 'Current Trim'.  The other blocks are described below.  Unless otherwise noted, all parameters are persistent, can be preset, and have set and get methods.

Speed Selection Logic

This block selects the input speed.  The Start and Jog select whether the Line Speed SP or the Jog Speed (modified by Direction) is input into the ramp.  If either Start or Jog is true, Run Delta is used as the ramp rate, otherwise, Stop Delta is used for the stop rate and the ramp input is zero.  The ramp output is used as the input to the Draw/Ratio Calculation block..

Draw/Ratio Calculation

This block is used to perform a ratio or draw calculation.  If Draw Enable is true, the input is multiplied by Draw SP and Draw Range otherwise it is multiplied by zero.  If Draw-Ratio is in ratio, the input to this block is then added to that result to generate the Aux Speed output.

Current Trim

This block calculates a speed trim based on the Aramture Current input.  This trim is calculated by taking the difference of the signed Armature Current and the product of Torque SP and Torque Cal.  This result is scaled by Droop Gain to generate the current trim.

Trim & Scaling

This block takes the output of the Draw/Ratio Calculation, trims (adds) it with either Trim 1, Trim 2 (depending on Trim Select, Trim Sign and Trim Min and Trim Max) or Current Trim block depending on Torque Enable (the selected trim is multiplied by Range Non-Extn or Range Exten depending on Extensible Web first), clamps it to Min Speed or Agitate Speed depending on Agitate Enable, and then scales it by Speed Cal and Diameter to generate the Speed Demand output.

The Position output is either Trim 1 or Trim 2 (based on Trim Select) with the sign set by Position Sign.


Parameters

Parameters listed below which have a '*' in front of their name are not persistent.

Agitate Enable	Expects Enabled (true) or Disabled (false).

Agitate Speed	Expects a value between -120% and 120%.

*Armature Current	Expects a value between -200% and 200%.

*Aux Speed SP	Expects a value between -120% and 120%.

Diameter	Expects a value 0.1% to 100% Full Roll.

Direction	Expects Forward (true) or Reverse (false).

Draw Enable	Expects Enabled (true) or Disabled (false).

Draw Range	Expects an number between -10 and 10.

Draw SP	Expects a value between -100% and 100%.

Draw-Ratio	Expects Draw (true) or Ratio (false).

Droop Gain	Expects a number between -10 and 10.

Extensible Web	Expects Enabled (true) or Disabled (false).

*Forward-Reverse	Expects Forward (true) or Reverse (false).

*Jog	Expects Enabled (true) or Disabled (false).

Jog Speed	Expects a value between -120% and 120%.

*Line Speed SP	Expects a value between -120% and 120%.

Min Speed	Expects a value between -120% and 120%.

Position Sign	Expects Forward (true) or Reverse (false).

Range Extn	Expects a value between -120% and 120%.

Range Non-Extn	Expects a value between -120% and 120%.

Run Delta	Expects a value between 0 and 100%.

*Speed Cal	Expects a value between -100% and 100%.

*Start	Expects Enabled (true) or Disabled (false).

Stop Delta	Expects a value between 0 and 100%.

Torque Cal	Expects a value between -100% and 100%.

*Torque Enable	Expects Enabled (true) or Disabled (false).

*Torque SP	Expects a value between -100% and 100%.

*Trim 1	Expects a value between -100% and 100%.

*Trim 2	Expects a value between 0% and 100% which is converted to a value in the range -100% to 100%.  Thus an input of 0 -> -100, an input of 50% -> 0%, etc.  See SignalP/Unipolar to Bipolar.

Trim Max	Expects a value between -100% and 100%.

Trim Min	Expects a value between -100% and 100%.

Trim Select	Expects Trim 2 (true) or Trim 1 (false).

Trim Sign	Expects Forward (true) or Reverse (false).

Get Agitate Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Agitate Speed	Returns the current state:  Enabled (true) or Disabled (false).

Get Armature Current	Returns the current state:  Value between -200% and 200%.

Get Aux Speed	Returns the current state:  Value between -120% and 120%.

Get Clamp Speed	Returns the current state:  Value between -120% and 120%.

Get Diameter	Returns the current state:  % (Full Roll = 100%).

Get Direction	Returns the current state:  Forward (true) or Reverse (false).

Get Draw Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Draw Range	Returns the current state:  Number between -10 and 10.

Get Draw SP	Returns the current state:  Value between -100% and 100%.

Get Draw-Ratio	Returns the current state:  Draw (true) or Ratio (false).

Get Droop Gain	Returns the current state:  Number between -10 and 10.

Get Extensible Web	Returns the current state:  Enabled (true) or Disabled (false).

Get Forward-Reverse	Returns the current state:  Forward (true) or Reverse (false).

Get Jog	Returns the current state:  Enabled (true) or Disabled (false).

Get Jog Speed	Returns the current state:  Value between -120% and 120%.

Get Line Speed SP	Returns the current state:  Value between -120% and 120%.

Get Min Speed	Returns the current state:  Value between -120% and 120%.

Get Position Sign	Returns the current state:  Forward (true) or Reverse (false).

Get Ramped Speed	Returns the current state:  Value between -120% and 120%.

Get Range	Returns the current state:  Value between -120% and 120%.

Get Range Extn	Returns the current state:  Value between -120% and 120%.

Get Range Non-Extn	Returns the current state:  Value between -120% and 120%.

Get Run Delta	Returns the current state:  Value between 0% and 100%.

Get Speed Cal	Returns the current state:  Value between -100% and 100%.

Get Speed Demand	Returns the current state:  Value between -120% and 120%.

Get Start	Returns the current state:  Enabled (true) or Disabled (false).

Get Stop Delta	Returns the current state:  Value between 0% and 100%.

Get Torque Cal	Returns the current state:  Value between -100% and 100%.

Get Torque Enable	Returns the current state:  Enabled (true) or Disabled (false).

Get Torque SP	Returns the current state:  Value between -100% and 100%.

Get Trim	Returns the current state:  Value between -100% and 100%.

Get Trim 1	Returns the current state:  Value between -100% and 100%.

Get Trim 2	Returns the current state:  Value between 0% and 100%.

Get Trim Max	Returns the current state:  Value between -100% and 100%.

Get Trim Min	Returns the current state:  Value between -100% and 100%.

Get Trim Select	Returns the current state:  Trim 2 (true) or Trim 1 (false).

Get Trim Sign	Returns the current state:  Forward (true) or Reverse (false).