Description | The ENC Position Monitor function block scales the current 64-bit value in the associated block to a 16-bit analog value which may be used with other signal processing function blocks to implement the desired position control algorithm. The Encoder Revs and Scaler parameters are combined to create a 32-bit scaling divisor. After scaling, the Output of this function block may used with other signal processing function blocks to implement the desired position control algorithm. If Encoder Revs and Scaler are left at their default values of 1, the Output will be 100.00% for one encoder revolution. The ENC Position Monitor function block MUST be associated with a position-type function block. If not, an Association Warning will be displayed by the System function block. |
Availability |
|
savvy-SFD Graphic | |
Graphic with Parameters |
ENC Position |
Internal Parameter, Read-write, Function Block Association (signed 16-bit integer) This parameter block may be associated with the following position control function blocks:
If set to None, the smarty will report an Association Warning in the System function block. |
Encoder Revs |
Input, Read-write, Analog (unsigned 16-bit integer) 1 to 65535 The Encoder Revs parameter is used in conjunction with the Scaler parameter to create a 32-bit divisor for scaling the Output of the ENC Position Monitor function block as follows: The larger the product of the Encoder Revs and Scaler parameters, the lower the resolution of the Output; however, too small a product will quickly result in an overrange on the Output (i.e., either 327.67 % or - 326.67% depending on direction). Set the combination of the Encoder Revs and Scaler to suit the application. Even if an overrange is indicated, the internal 64-bit value is monitored and updated. A proportional value will become available as soon as the block comes out of saturation based on the combined scaling of the Encoder Revs and Scaler. When the Output comes back in range, the actual current percentage will be displayed. |
Scaler |
Input, Read-write, Analog (unsigned 16-bit integer) 1 to 65535 The Scaler parameter is used in conjunction with the Encoder Revs parameter to create a 32-bit divisor for scaling the Output of the ENC Position Monitor function block as follows: The larger the product of the Encoder Revs and Scaler parameters, the lower the resolution of the Output; however, too small a product will quickly result in an overrange on the Output (i.e., either 327.67 % or - 326.67% depending on direction). Set the combination of the Encoder Revs and Scaler to suit the application. Even if an overrange is indicated, the internal 64-bit value is monitored and updated. A proportional value will become available as soon as the block comes out of saturation based on the combined scaling of the Encoder Revs and Scaler. When the Output comes back in range, the current percentage will be displayed. |
Output |
Output, Read-only, Analog (signed 16-bit integer) -327.67 % to 327.67 % The Output parameter is generated from the associated function block's 64-bit value as follows: If the Output exceeds +/- 327.66%, the parameter will indicate overrange; however, the 64-bit Internal Count is unaffected. -32767 = - overrange 32767 = + overrange |