Description | This function block may be used with the Cyclic Position function block to set the Cycle Zero position for the Internal Count and to empirically set the Cycle Length. The Set Cycle Zero and the Set Cycle Length functions may be separately Enabled to control their behavior. Typically, an external sensor such as a photo-eye or a proximity switch is mounted on the machine and connected to the DIN1 input (Terminal E4 resetting the Cycle Zero position every cycle prevents any long-term accumulated error. Mechanical switches are NOT recommended; however, should one be used, a debouncing circuit may be required to ensure reliable operation. Usually, the Length Enable feature is only used during initial commissioning of the application; however, should the relationship between the encoder and the machine indices change in any way (e.g., the encoder being physically relocated), resetting both the Zero position and Cycle Length will likely be required. The normal commissioning procedure would be as follows:
|
Availability |
|
savvy-SFD Graphic | |
Graphic with Parameters |
Enable |
Input, Read-write, Enumerated (signed 16-bit integer) When Enabled, the rising-edge of the DIN1 input resets the Internal Count to zero. 0 = Disabled 1 = Forward Enabled 2 = Reverse Enabled |
Window Enable |
Input, Read-write, Boolean (signed 16-bit integer) When Enabled, the window feature prevents spurious resets of the Internal Count and Cycle Length by limiting the physical location where the calibrator function block looks for the DIN1 reset input. The window is centered on the current Zero position. Otherwise, any transition of the DIN1 input will cause a reset. 0 = Disabled 1 = Enabled |
Window Width |
Input, Read-write, Analog (signed 16-bit integer) 0.01 % to 100.00 % This parameter sets the overall width of the window feature as a percentage of the Cycle Length and is centered on the Zero position. |
Window Status |
Output, Read-only, Boolean (signed 16-bit integer) If Window Enable is Enabled, this parameter indicates how close the current position is to the Zero position (within the limits of the Window Width). An OK status is indicated when within the window while an Out of Window is indicated when outside of the window. If Window Enable is Disabled, the status always indicates Out of Window. 0 = OK 1 = Out of Window |
Length Enable |
Input, Read-write, Boolean (signed 16-bit integer) When Enabled, the first rising-edge of the DIN1 input resets the Internal Count to zero while the second rising-edge of the DIN1 input moves the Internal Count to the Cycle Length defining the cycle. 0 = Disabled 1 = Enabled |