Configure
Configure the algorithm. Channel specific parameter are set using the method ConfigueChannel().
Syntax
Definition:
METHOD Configure : BOOL
VAR_INPUT
eGateMode : E_ALY_GateMode;
stGatePos1 : ST_ALY_XyPosition;
stGatePos2 : ST_ALY_XyPosition;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eGateMode | Configured gate mode Intersect Gate: Determines whether the XY signal crosses the gate in the configured direction. If there is an intersection during the analysis period, this is classified as OK, otherwise NOK. Not Intersect Gate: Monitors whether the XY signal does not intersect with the gate in the configured direction during the analysis period. Then this is classified as OK, otherwise NOK. Intersect Projection: Determines whether the XY signal crosses the projection of the gate in the configured direction. If there is an intersection during the analysis period, this is classified as OK, otherwise NOK. Not Intersect Projection: Monitors whether the XY signal does not intersect with the projection of the gate in the configured direction during the analysis period. Then this is classified as OK, otherwise NOK. Intersect Gate Or Projection: Determines whether the XY signal intersects the gate or its projection in the configured direction. If there is an intersection during the analysis period, this is classified as OK, otherwise NOK. | |
stCorner1 | Structure for saving the position of the first corner in XY coordinates. | |
stCorner2 | Structure for saving the position of the second corner in XY coordinates. | |
stCorner3 | Structure for saving the position of the third corner in XY coordinates. |
Return value
Name | Type | Description |
---|---|---|
Configure | BOOL | Returns |