Y_ActivateIZ
This function block monitors a region of the groups workspace. If the TCP enters the zone in the coordinate system specified, the IZViolated output will go high, and depending on the ZoneAction, group motion will be stopped. Up to 32 zones can be configured.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
|
VAR_IN_OUT
|
||||
| B |
AxesGroup | AXES_GROUP_REF | A logical reference to a group of axes, which contains several additional substructures pertaining to the group. | |
| V |
ZoneData |
Yt_Zone_Ref | A set of data that defines the interference zone. | |
| VAR_INPUT | ||||
| B | Enable |
BOOL | The function will continue to execute every scan while Enable is held high and there are no errors. | FALSE |
| V |
ZoneAction |
INT | Select the required behavior: warning (INT#0) or abort (INT#1). | INT#0 |
| VAR_OUTPUT | ||||
| B | Valid |
BOOL | Indicates that the function is operating normally and the outputs of the function are valid. | |
| E | Busy |
BOOL | Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error) | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. |
|
| E |
ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. |
|
| V | IZViolated |
BOOL | This output bit indicates if the TCP is in the interference zone. | |
Notes
- A maximum of 32 interference zones are supported for each AxesGroup with ZoneIDs ranging from 0 to 31.
- Both Locally Hosted Groups and Remote Hosted Groups support rotated interference zones.
- Behavior based on ZoneAction setting:
| Item | ZoneAction = Warning | ZoneAction = Abort |
|---|---|---|
| Y_ActivateIZ.IZViolated | TRUE | TRUE |
| AxesGroup.Input.IZViolation | FALSE | TRUE |
| Motion | Continues | Stops |
Error description
See the Function Block ErrorID List.
Example
Define an Interference Zone using either method.
CenterPoint method:
Two Corners Method: