#####################################################################
# orloc.py
#
# (c) Copyright 2021, Benjamin Parzella. All rights reserved.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#####################################################################
"""ORLOC data item."""
from secsgem.secs import variables
from .base import DataItemBase
[docs]
class ORLOC(DataItemBase):
"""Origin location.
:Type: :class:`Binary <secsgem.secs.variables.Binary>`
:Length: 1
**Values**
+-------+---------------------+----------------------------------------------------+
| Value | Description | Constant |
+=======+=====================+====================================================+
| 0 | Center die of wafer | :const:`secsgem.secs.data_items.ORLOC.CENTER_DIE` |
+-------+---------------------+----------------------------------------------------+
| 1 | Upper right | :const:`secsgem.secs.data_items.ORLOC.UPPER_RIGHT` |
+-------+---------------------+----------------------------------------------------+
| 2 | Upper left | :const:`secsgem.secs.data_items.ORLOC.UPPER_LEFT` |
+-------+---------------------+----------------------------------------------------+
| 3 | Lower left | :const:`secsgem.secs.data_items.ORLOC.LOWER_LEFT` |
+-------+---------------------+----------------------------------------------------+
| 4 | Lower right | :const:`secsgem.secs.data_items.ORLOC.LOWER_RIGHT` |
+-------+---------------------+----------------------------------------------------+
| 5-63 | Reserved, error | |
+-------+---------------------+----------------------------------------------------+
**Used In Function**
- :class:`SecsS12F01 <secsgem.secs.functions.SecsS12F01>`
- :class:`SecsS12F03 <secsgem.secs.functions.SecsS12F03>`
- :class:`SecsS12F04 <secsgem.secs.functions.SecsS12F04>`
"""
name = "ORLOC"
__type__ = variables.Binary
__count__ = 1
CENTER_DIE = 0
UPPER_RIGHT = 1
UPPER_LEFT = 2
LOWER_LEFT = 3
LOWER_RIGHT = 4
_values = {
"CENTER_DIE": 0,
"UPPER_RIGHT": 1,
"UPPER_LEFT": 2,
"LOWER_LEFT": 3,
"LOWER_RIGHT": 4,
}