Functions

class secsgem.secs.functions.SecsS00F00(value=None)[source]

Hsms communication.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS00F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS00F00()
S0F0 .
class secsgem.secs.functions.SecsS01F00(value=None)[source]

abort transaction stream 1.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F00()
S1F0 .
class secsgem.secs.functions.SecsS01F01(value=None)[source]

are you online - request.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F01
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F01()
S1F1 W .
class secsgem.secs.functions.SecsS01F02(value=None)[source]

on line data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F02
[
    MDLN: A[20]
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F02(["secsgem", "0.0.6"]) # E->H
S1F2
  <L [2]
    <A "secsgem">
    <A "0.0.6">
  > .
>>> secsgem.secs.functions.SecsS01F02() # H->E
S1F2
  <L> .
Data Items:

Caution

This Stream/function has different structures depending on the source. If it is sent from the eqipment side it has the structure below, if it is sent from the host it is an empty list. Be sure to fill the array accordingly.

Structure E->H:

{
    MDLN: A[20]
    SOFTREV: A[20]
}
class secsgem.secs.functions.SecsS01F03(value=None)[source]

Selected equipment status - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F03
[
    SVID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F03([1, "1337", 12])
S1F3 W
  <L [3]
    <U1 1 >
    <A "1337">
    <U1 12 >
  > .
Data Items:
class secsgem.secs.functions.SecsS01F04(value=None)[source]

selected equipment status - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F04
[
    SV: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F04([secsgem.secs.variables.U1(1), "text", secsgem.secs.variables.U4(1337)])
S1F4
  <L [3]
    <U1 1 >
    <A "text">
    <U4 1337 >
  > .
Data Items:
class secsgem.secs.functions.SecsS01F11(value=None)[source]

status variable namelist - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F11
[
    SVID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F11([1, 1337])
S1F11 W
  <L [2]
    <U1 1 >
    <U2 1337 >
  > .
Data Items:

An empty list will return all available status variables.

class secsgem.secs.functions.SecsS01F12(value=None)[source]

status variable namelist - reply.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F12
[
    {
        SVID: U1/U2/U4/U8/I1/I2/I4/I8/A
        SVNAME: A
        UNITS: A
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F12([{"SVID": 1, "SVNAME": "SV1", "UNITS": "mm"},
...     {"SVID": 1337, "SVNAME": "SV2", "UNITS": ""}])
S1F12
  <L [2]
    <L [3]
      <U1 1 >
      <A "SV1">
      <A "mm">
    >
    <L [3]
      <U2 1337 >
      <A "SV2">
      <A>
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS01F13(value=None)[source]

establish communication - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F13
[
    MDLN: A[20]
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F13(["secsgem", "0.0.6"]) # E->H
S1F13 W
  <L [2]
    <A "secsgem">
    <A "0.0.6">
  > .
>>> secsgem.secs.functions.SecsS01F13() # H->E
S1F13 W
  <L> .
Data Items:

Caution

This Stream/function has different structures depending on the source. If it is sent from the eqipment side it has the structure below, if it is sent from the host it is an empty list. Be sure to fill the array accordingly.

Structure E->H:

{
    MDLN: A[20]
    SOFTREV: A[20]
}
class secsgem.secs.functions.SecsS01F14(value=None)[source]

establish communication - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F14
{
    COMMACK: B[1]
    MDLN: [
        DATA: A[20]
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F14({"COMMACK": secsgem.secs.data_items.COMMACK.ACCEPTED,
...     "MDLN": ["secsgem", "0.0.6"]})
S1F14
  <L [2]
    <B 0x0>
    <L [2]
      <A "secsgem">
      <A "0.0.6">
    >
  > .
Data Items:

Caution

This Stream/function has different structures depending on the source. See structure definition below for details. Be sure to fill the array accordingly.

Structure E->H:

{
    COMMACK: B[1]
    DATA: {
        MDLN: A[20]
        SOFTREV: A[20]
    }
}

Structure H->E:

{
    COMMACK: B[1]
    DATA: []
}
class secsgem.secs.functions.SecsS01F15(value=None)[source]

request offline.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F15
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F15()
S1F15 W .
class secsgem.secs.functions.SecsS01F16(value=None)[source]

offline acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F16
OFLACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F16(secsgem.secs.data_items.OFLACK.ACK)
S1F16
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS01F17(value=None)[source]

request online.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F17
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F17()
S1F17 W .
class secsgem.secs.functions.SecsS01F18(value=None)[source]

online acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F18
ONLACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F18(secsgem.secs.data_items.ONLACK.ALREADY_ON)
S1F18
  <B 0x2> .
Data Items:
class secsgem.secs.functions.SecsS01F21(value=None)[source]

Data variable namelist request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F21
[
    VID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F21([1, "VARIABLEID"])
S1F21 W
  <L [2]
    <U1 1 >
    <A "VARIABLEID">
  > .
Data Items:
class secsgem.secs.functions.SecsS01F22(value=None)[source]

Data variable namelist.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F22
[
    {
        VID: U1/U2/U4/U8/I1/I2/I4/I8/A
        DVVALNAME: A
        UNITS: A
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F22([{"VID": 1, "DVVALNAME": "EC1", "UNITS": "mm"}])
S1F22
  <L [1]
    <L [3]
      <U1 1 >
      <A "EC1">
      <A "mm">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS01F23(value=None)[source]

Collection event namelist request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F23
[
    CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F23([1, "COLLEVTID"])
S1F23 W
  <L [2]
    <U1 1 >
    <A "COLLEVTID">
  > .
Data Items:
class secsgem.secs.functions.SecsS01F24(value=None)[source]

Collection event namelist.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F24
[
    {
        CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
        CENAME: A
        VID: [
            DATA: U1/U2/U4/U8/I1/I2/I4/I8/A
            ...
        ]
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS01F24([{"CEID": 1, "CENAME": "CE1", "VID": [1, "VARIABLEID"]}])
S1F24
  <L [1]
    <L [3]
      <U1 1 >
      <A "CE1">
      <L [2]
        <U1 1 >
        <A "VARIABLEID">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F00(value=None)[source]

abort transaction stream 2.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F00()
S2F0 .
class secsgem.secs.functions.SecsS02F13(value=None)[source]

equipment constant - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F13
[
    ECID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F13([1, 1337])
S2F13 W
  <L [2]
    <U1 1 >
    <U2 1337 >
  > .
Data Items:

An empty list will return all available equipment constants.

class secsgem.secs.functions.SecsS02F14(value=None)[source]

equipment constant - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F14
[
    ECV: L/BOOLEAN/I8/I1/I2/I4/F8/F4/U8/U1/U2/U4/A/B
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F14([secsgem.secs.variables.U1(1), "text"])
S2F14
  <L [2]
    <U1 1 >
    <A "text">
  > .
Data Items:
class secsgem.secs.functions.SecsS02F15(value=None)[source]

new equipment constant - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F15
[
    {
        ECID: U1/U2/U4/U8/I1/I2/I4/I8/A
        ECV: L/BOOLEAN/I8/I1/I2/I4/F8/F4/U8/U1/U2/U4/A/B
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F15([
...     {"ECID": 1, "ECV": secsgem.secs.variables.U4(10)},
...     {"ECID": "1337", "ECV": "text"}])
S2F15 W
  <L [2]
    <L [2]
      <U1 1 >
      <U4 10 >
    >
    <L [2]
      <A "1337">
      <A "text">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F16(value=None)[source]

new equipment constant - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F16
EAC: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F16(secsgem.secs.data_items.EAC.BUSY)
S2F16
  <B 0x2> .
Data Items:
class secsgem.secs.functions.SecsS02F17(value=None)[source]

date and time - request.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F17
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F17()
S2F17 W .
class secsgem.secs.functions.SecsS02F18(value=None)[source]

date and time - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F18
TIME: A[32]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F18("160816205942")
S2F18
  <A "160816205942"> .
Data Items:
class secsgem.secs.functions.SecsS02F21(value=None)[source]

Remote command send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F21
RCMD: U1/I1/A
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F21("COMMMAND1")
S2F21
  <A "COMMMAND1"> .
Data Items:
class secsgem.secs.functions.SecsS02F22(value=None)[source]

Remote command - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F22
CMDA: U1/I1
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F22(secsgem.secs.data_items.CMDA.DONE)
S2F22
  <U1 0 > .
Data Items:
class secsgem.secs.functions.SecsS02F23(value=None)[source]

Trace initialize.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F23
{
    TRID: I1/I2/I4/I8/U1/U2/U4/U8/A
    DSPER: A
    TOTSMP: I1/I2/I4/I8/U1/U2/U4/U8/A
    REPGSZ: I1/I2/I4/I8/U1/U2/U4/U8/A
    SVID: [
        DATA: U1/U2/U4/U8/I1/I2/I4/I8/A
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F23({
...     "TRID":1,
...     "DSPER":'000010',
...     "TOTSMP":secsgem.secs.variables.U4(10),
...     "REPGSZ":secsgem.secs.variables.U4(1),
...     "SVID":[1002004,400210]})
S2F23 W
  <L [5]
    <I1 1 >
    <A "000010">
    <U4 10 >
    <U4 1 >
    <L [2]
      <U4 1002004 >
      <U4 400210 >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F24(value=None)[source]

Trace initialize - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F24
TIAACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F24(secsgem.secs.data_items.TIAACK.SVID_EXCEEDED)
S2F24
  <B 0x1> .
Data Items:
class secsgem.secs.functions.SecsS02F25(value=None)[source]

Loopback diagnostic request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F25
ABS: B
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F25("Text")
S2F25 W
  <B 0x54 0x65 0x78 0x74> .
Data Items:
class secsgem.secs.functions.SecsS02F26(value=None)[source]

Loopback diagnostic data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F26
ABS: B
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F26("Text")
S2F26
  <B 0x54 0x65 0x78 0x74> .
Data Items:
class secsgem.secs.functions.SecsS02F29(value=None)[source]

equipment constant namelist - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F29
[
    ECID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F29([1, 1337])
S2F29 W
  <L [2]
    <U1 1 >
    <U2 1337 >
  > .
Data Items:

An empty list will return all available equipment constants.

class secsgem.secs.functions.SecsS02F30(value=None)[source]

equipment constant namelist.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F30
[
    {
        ECID: U1/U2/U4/U8/I1/I2/I4/I8/A
        ECNAME: A
        ECMIN: BOOLEAN/I8/I1/I2/I4/F8/F4/U8/U1/U2/U4/A/B
        ECMAX: BOOLEAN/I8/I1/I2/I4/F8/F4/U8/U1/U2/U4/A/B
        ECDEF: BOOLEAN/I8/I1/I2/I4/F8/F4/U8/U1/U2/U4/A/B
        UNITS: A
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F30([
...     {"ECID": 1,
...       "ECNAME": "EC1",
...       "ECMIN": secsgem.secs.variables.U1(0),
...       "ECMAX": secsgem.secs.variables.U1(100),
...       "ECDEF": secsgem.secs.variables.U1(50),
...       "UNITS": "mm"},
...     {"ECID": 1337,
...       "ECNAME": "EC2",
...       "ECMIN": "",
...       "ECMAX": "",
...       "ECDEF": "",
...       "UNITS": ""}])
S2F30
  <L [2]
    <L [6]
      <U1 1 >
      <A "EC1">
      <U1 0 >
      <U1 100 >
      <U1 50 >
      <A "mm">
    >
    <L [6]
      <U2 1337 >
      <A "EC2">
      <A>
      <A>
      <A>
      <A>
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F33(value=None)[source]

define report.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F33
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    DATA: [
        {
            RPTID: U1/U2/U4/U8/I1/I2/I4/I8/A
            VID: [
                DATA: U1/U2/U4/U8/I1/I2/I4/I8/A
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F33({"DATAID": 1, "DATA": [{"RPTID": 1000, "VID": [12, 1337]},
...     {"RPTID": 1001, "VID": [1, 2355]}]})
S2F33 W
  <L [2]
    <U1 1 >
    <L [2]
      <L [2]
        <U2 1000 >
        <L [2]
          <U1 12 >
          <U2 1337 >
        >
      >
      <L [2]
        <U2 1001 >
        <L [2]
          <U1 1 >
          <U2 2355 >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F34(value=None)[source]

define report - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F34
DRACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F34(secsgem.secs.data_items.DRACK.INVALID_FORMAT)
S2F34
  <B 0x2> .
Data Items:
class secsgem.secs.functions.SecsS02F35(value=None)[source]

link event report.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F35
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    DATA: [
        {
            CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
            RPTID: [
                DATA: U1/U2/U4/U8/I1/I2/I4/I8/A
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F35({"DATAID": 1, "DATA": [{"CEID": 1337, "RPTID": [1000, 1001]}]})
S2F35 W
  <L [2]
    <U1 1 >
    <L [1]
      <L [2]
        <U2 1337 >
        <L [2]
          <U2 1000 >
          <U2 1001 >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F36(value=None)[source]

link event report - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F36
LRACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F36(secsgem.secs.data_items.LRACK.CEID_UNKNOWN)
S2F36
  <B 0x4> .
Data Items:
class secsgem.secs.functions.SecsS02F37(value=None)[source]

en-/disable event report.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F37
{
    CEED: BOOLEAN[1]
    CEID: [
        DATA: U1/U2/U4/U8/I1/I2/I4/I8/A
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F37({"CEED": True, "CEID": [1337]})
S2F37 W
  <L [2]
    <BOOLEAN True >
    <L [1]
      <U2 1337 >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F38(value=None)[source]

en-/disable event report - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F38
ERACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F38(secsgem.secs.data_items.ERACK.CEID_UNKNOWN)
S2F38
  <B 0x1> .
Data Items:
class secsgem.secs.functions.SecsS02F41(value=None)[source]

host command - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F41
{
    RCMD: U1/I1/A
    PARAMS: [
        {
            CPNAME: U1/U2/U4/U8/I1/I2/I4/I8/A
            CPVAL: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/A/B
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F41({"RCMD": "COMMAND", "PARAMS": [{"CPNAME": "PARAM1", "CPVAL": "VAL1"},
...     {"CPNAME": "PARAM2", "CPVAL": "VAL2"}]})
S2F41 W
  <L [2]
    <A "COMMAND">
    <L [2]
      <L [2]
        <A "PARAM1">
        <A "VAL1">
      >
      <L [2]
        <A "PARAM2">
        <A "VAL2">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F42(value=None)[source]

host command - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F42
{
    HCACK: B[1]
    PARAMS: [
        {
            CPNAME: U1/U2/U4/U8/I1/I2/I4/I8/A
            CPACK: B[1]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F42({
...     "HCACK": secsgem.secs.data_items.HCACK.INVALID_COMMAND,
...     "PARAMS": [
...         {"CPNAME": "PARAM1", "CPACK": secsgem.secs.data_items.CPACK.CPVAL_ILLEGAL_VALUE},
...         {"CPNAME": "PARAM2", "CPACK": secsgem.secs.data_items.CPACK.CPVAL_ILLEGAL_FORMAT}]})
S2F42
  <L [2]
    <B 0x1>
    <L [2]
      <L [2]
        <A "PARAM1">
        <B 0x2>
      >
      <L [2]
        <A "PARAM2">
        <B 0x3>
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F43(value=None)[source]

reset spooling streams and functions - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F43
[
    {
        STRID: U1[1]
        FCNID: [
            DATA: U1[1]
            ...
        ]
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F43([{"STRID": 1, "FCNID": [10, 20]}, {"STRID": 2, "FCNID": [30, 40]}])
S2F43 W
  <L [2]
    <L [2]
      <U1 1 >
      <L [2]
        <U1 10 >
        <U1 20 >
      >
    >
    <L [2]
      <U1 2 >
      <L [2]
        <U1 30 >
        <U1 40 >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F44(value=None)[source]

reset spooling - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F44
{
    RSPACK: B[1]
    DATA: [
        {
            STRID: U1[1]
            STRACK: B[1]
            FCNID: [
                DATA: U1[1]
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F44({
...     "RSPACK": secsgem.secs.data_items.RSPACK.REJECTED,
...     "DATA": [
...         {"STRID": 1, "STRACK": secsgem.secs.data_items.STRACK.NOT_ALLOWED, "FCNID": [10]},
...         {"STRID": 2, "STRACK": secsgem.secs.data_items.STRACK.FUNCTION_UNKNOWN, "FCNID": [20]}]})
S2F44
  <L [2]
    <B 0x1>
    <L [2]
      <L [3]
        <U1 1 >
        <B 0x1>
        <L [1]
          <U1 10 >
        >
      >
      <L [3]
        <U1 2 >
        <B 0x3>
        <L [1]
          <U1 20 >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F45(value=None)[source]

Define variable limit attributes.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F45
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    DATA: [
        {
            VID: U1/U2/U4/U8/I1/I2/I4/I8/A
            DATA: [
                {
                    LIMITID: B[1]
                    DATA: {
                        UPPERDB: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
                        LOWERDB: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
                    }
                }
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F45({
...     "DATAID": 1,
...     "DATA": [{
...         "VID": 2,
...         "DATA": [{
...             "LIMITID": 3,
...             "DATA": [30, 20]
...         }]
...     }]})
S2F45 W
  <L [2]
    <U1 1 >
    <L [1]
      <L [2]
        <U1 2 >
        <L [1]
          <L [2]
            <B 0x3>
            <L [2]
              <U1 30 >
              <U1 20 >
            >
          >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F46(value=None)[source]

Define variable limit attributes - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F46
{
    VLAACK: B[1]
    DATA: [
        {
            VID: U1/U2/U4/U8/I1/I2/I4/I8/A
            LVACK: B[1]
            DATA: {
                LIMITID: B[1]
                LIMITACK: B[1]
            }
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F46({
...     "VLAACK": secsgem.secs.data_items.VLAACK.LIMIT_DEF_ERROR,
...     "DATA": [{
...         "VID": 2,
...         "LVACK": secsgem.secs.data_items.LVACK.VARIABLE_UNKNOWN,
...         "DATA": {
...             "LIMITID": 3,
...             "LIMITACK": secsgem.secs.data_items.LIMITACK.ASCII_ILLEGAL
...         }
...     }]})
S2F46
  <L [2]
    <B 0x1>
    <L [1]
      <L [3]
        <U1 2 >
        <B 0x1>
        <L [2]
          <B 0x3>
          <B 0x6>
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F47(value=None)[source]

Variable limit attribute request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F47
[
    VID: U1/U2/U4/U8/I1/I2/I4/I8/A
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F47([1, "VARIABLEID"])
S2F47 W
  <L [2]
    <U1 1 >
    <A "VARIABLEID">
  > .
Data Items:
class secsgem.secs.functions.SecsS02F48(value=None)[source]

Define variable limit attributes - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F48
[
    {
        VID: U1/U2/U4/U8/I1/I2/I4/I8/A
        DATA: {
            UNITS: A
            LIMITMIN: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
            LIMITMAX: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
            DATA: [
                {
                    LIMITID: B[1]
                    UPPERDB: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
                    LOWERDB: BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A[1]
                }
                ...
            ]
        }
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F48([{
...     "VID": 1,
...     "DATA": {
...         "UNITS": "meters",
...         "LIMITMIN": 10,
...         "LIMITMAX": 20,
...         "DATA": [{
...             "LIMITID": 3,
...             "UPPERDB": 50,
...             "LOWERDB": 5
...         }]
...     }}])
S2F48
  <L [1]
    <L [2]
      <U1 1 >
      <L [4]
        <A "meters">
        <U1 10 >
        <U1 20 >
        <L [1]
          <L [3]
            <B 0x3>
            <U1 50 >
            <U1 5 >
          >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F49(value=None)[source]

Enhanced remote command.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F49
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    OBJSPEC: A
    RCMD: U1/I1/A
    PARAMS: [
        {
            CPNAME: U1/U2/U4/U8/I1/I2/I4/I8/A
            CEPVAL: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F49({
...     "DATAID": 1,
...     "OBJSPEC": 'test',
...     "RCMD": "COMMAND1",
...     "PARAMS": [{
...         "CPNAME": "CPARAM",
...         "CEPVAL": "VALUE"
...     }]})
S2F49
  <L [4]
    <U1 1 >
    <A "test">
    <A "COMMAND1">
    <L [1]
      <L [2]
        <A "CPARAM">
        <A "VALUE">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS02F50(value=None)[source]

Enhanced remote command - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F50
{
    HCACK: B[1]
    PARAMS: [
        {
            CPNAME: U1/U2/U4/U8/I1/I2/I4/I8/A
            CPACK: B[1]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS02F50({
...     "HCACK": secsgem.secs.data_items.HCACK.INVALID_COMMAND,
...     "PARAMS": [
...         {"CPNAME": "PARAM1", "CPACK": secsgem.secs.data_items.CPACK.CPVAL_ILLEGAL_VALUE},
...         {"CPNAME": "PARAM2", "CPACK": secsgem.secs.data_items.CPACK.CPVAL_ILLEGAL_FORMAT}]})
S2F50
  <L [2]
    <B 0x1>
    <L [2]
      <L [2]
        <A "PARAM1">
        <B 0x2>
      >
      <L [2]
        <A "PARAM2">
        <B 0x3>
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F00(value=None)[source]

abort transaction stream 5.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F00()
S5F0 .
class secsgem.secs.functions.SecsS05F01(value=None)[source]

alarm report - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F01
{
    ALCD: B[1]
    ALID: U1/U2/U4/U8/I1/I2/I4/I8
    ALTX: A[120]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F01({
...     "ALCD": secsgem.secs.data_items.ALCD.PERSONAL_SAFETY |
...             secsgem.secs.data_items.ALCD.ALARM_SET,
...     "ALID": 100,
...     "ALTX": "text"})
S5F1
  <L [3]
    <B 0x81>
    <U1 100 >
    <A "text">
  > .
Data Items:
class secsgem.secs.functions.SecsS05F02(value=None)[source]

alarm report - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F02
ACKC5: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F02(secsgem.secs.data_items.ACKC5.ACCEPTED)
S5F2
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS05F03(value=None)[source]

en-/disable alarm - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F03
{
    ALED: B[1]
    ALID: U1/U2/U4/U8/I1/I2/I4/I8
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F03({"ALED": secsgem.secs.data_items.ALED.ENABLE, "ALID": 100})
S5F3
  <L [2]
    <B 0x80>
    <U1 100 >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F04(value=None)[source]

en-/disable alarm - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F04
ACKC5: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F04(secsgem.secs.data_items.ACKC5.ACCEPTED)
S5F4
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS05F05(value=None)[source]

list alarms - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F05
[
    ALID: U1/U2/U4/U8/I1/I2/I4/I8
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F05([100, 200])
S5F5 W
  <L [2]
    <U1 100 >
    <U1 200 >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F06(value=None)[source]

list alarms - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F06
[
    {
        ALCD: B[1]
        ALID: U1/U2/U4/U8/I1/I2/I4/I8
        ALTX: A[120]
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F06([
...     {"ALCD": secsgem.secs.data_items.ALCD.PERSONAL_SAFETY |
...              secsgem.secs.data_items.ALCD.ALARM_SET,
...      "ALID": 100,
...      "ALTX": "text"}])
S5F6
  <L [1]
    <L [3]
      <B 0x81>
      <U1 100 >
      <A "text">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F07(value=None)[source]

list enabled alarms - request.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F07
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F07()
S5F7 W .
class secsgem.secs.functions.SecsS05F08(value=None)[source]

list enabled alarms - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F08
[
    {
        ALCD: B[1]
        ALID: U1/U2/U4/U8/I1/I2/I4/I8
        ALTX: A[120]
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F08([
...     {"ALCD": secsgem.secs.data_items.ALCD.PERSONAL_SAFETY |
...              secsgem.secs.data_items.ALCD.ALARM_SET,
...      "ALID": 100,
...      "ALTX": "text"}])
S5F8
  <L [1]
    <L [3]
      <B 0x81>
      <U1 100 >
      <A "text">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F09(value=None)[source]

exception post - notify.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F09
{
    TIMESTAMP: A[32]
    EXID: A[20]
    EXTYPE: A
    EXMESSAGE: A
    EXRECVRA: [
        DATA: A[40]
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F09({
...     "TIMESTAMP": "161006221500",
...     "EXID": "EX123",
...     "EXTYPE": "ALARM",
...     "EXMESSAGE": "Exception",
...     "EXRECVRA": ["EXRECVRA1", "EXRECVRA2"] })
S5F9
  <L [5]
    <A "161006221500">
    <A "EX123">
    <A "ALARM">
    <A "Exception">
    <L [2]
      <A "EXRECVRA1">
      <A "EXRECVRA2">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F10(value=None)[source]

exception post - confirm.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F10
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F10()
S5F10 .
class secsgem.secs.functions.SecsS05F11(value=None)[source]

exception clear - notify.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F11
{
    TIMESTAMP: A[32]
    EXID: A[20]
    EXTYPE: A
    EXMESSAGE: A
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F11({
...     "TIMESTAMP": "161006221500",
...     "EXID": "EX123",
...     "EXTYPE": "ALARM",
...     "EXMESSAGE": "Exception"})
S5F11
  <L [4]
    <A "161006221500">
    <A "EX123">
    <A "ALARM">
    <A "Exception">
  > .
Data Items:
class secsgem.secs.functions.SecsS05F12(value=None)[source]

exception clear - confirm.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F12
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F12()
S5F12 .
class secsgem.secs.functions.SecsS05F13(value=None)[source]

exception recover - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F13
{
    EXID: A[20]
    EXRECVRA: A[40]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F13({"EXID": "EX123", "EXRECVRA": "EXRECVRA2"})
S5F13 W
  <L [2]
    <A "EX123">
    <A "EXRECVRA2">
  > .
Data Items:
class secsgem.secs.functions.SecsS05F14(value=None)[source]

exception recover - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F14
{
    EXID: A[20]
    DATA: {
        ACKA: BOOLEAN[1]
        DATA: {
            ERRCODE: I1/I2/I4/I8
            ERRTEXT: A[120]
        }
    }
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F14({
...     "EXID": "EX123",
...     "DATA": {"ACKA": False,
...              "DATA": {"ERRCODE": 10,
...                       "ERRTEXT": "Error"}}})
S5F14
  <L [2]
    <A "EX123">
    <L [2]
      <BOOLEAN False >
      <L [2]
        <I1 10 >
        <A "Error">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F15(value=None)[source]

exception recover complete - notify.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F15
{
    TIMESTAMP: A[32]
    EXID: A[20]
    DATA: {
        ACKA: BOOLEAN[1]
        DATA: {
            ERRCODE: I1/I2/I4/I8
            ERRTEXT: A[120]
        }
    }
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F15({
...     "TIMESTAMP": "161006221500",
...     "EXID": "EX123",
...     "DATA": {
...         "ACKA": False,
...         "DATA": {
...             "ERRCODE": 10,
...             "ERRTEXT": "Error"
...         }}})
S5F15
  <L [3]
    <A "161006221500">
    <A "EX123">
    <L [2]
      <BOOLEAN False >
      <L [2]
        <I1 10 >
        <A "Error">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS05F16(value=None)[source]

exception recover complete - confirm.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F16
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F16()
S5F16 .
class secsgem.secs.functions.SecsS05F17(value=None)[source]

exception recover abort - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F17
EXID: A[20]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F17("EX123")
S5F17 W
  <A "EX123"> .
Data Items:
class secsgem.secs.functions.SecsS05F18(value=None)[source]

exception recover abort - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F18
{
    EXID: A[20]
    DATA: {
        ACKA: BOOLEAN[1]
        DATA: {
            ERRCODE: I1/I2/I4/I8
            ERRTEXT: A[120]
        }
    }
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS05F18({
...     "EXID": "EX123",
...     "DATA": {
...         "ACKA": False,
...         "DATA": {
...             "ERRCODE": 10,
...             "ERRTEXT": "Error"}}})
S5F18
  <L [2]
    <A "EX123">
    <L [2]
      <BOOLEAN False >
      <L [2]
        <I1 10 >
        <A "Error">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F00(value=None)[source]

abort transaction stream 6.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F00()
S6F0 .
class secsgem.secs.functions.SecsS06F01(value=None)[source]

Trace data send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F01
{
    TRID: I1/I2/I4/I8/U1/U2/U4/U8/A
    SMPLN: I1/I2/I4/I8/U1/U2/U4/U8
    STIME: A[32]
    SV: [
        DATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F01({
...     "TRID": 1,
...     "SMPLN": 3,
...     "STIME": "TIME",
...     "SV": [1, 4]})
S6F1
  <L [4]
    <I1 1 >
    <I1 3 >
    <A "TIME">
    <L [2]
      <U1 1 >
      <U1 4 >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F02(value=None)[source]

Trace data - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F02
ACKC6: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F02(secsgem.secs.data_items.ACKC6.ACCEPTED)
S6F2
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS06F05(value=None)[source]

multi block data inquiry.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F05
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    DATALENGTH: U1/U2/U4/U8/I1/I2/I4/I8
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F05({"DATAID": 1, "DATALENGTH": 1337})
S6F5 W
  <L [2]
    <U1 1 >
    <U2 1337 >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F06(value=None)[source]

multi block data grant.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F06
GRANT6: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F06(secsgem.secs.data_items.GRANT6.BUSY)
S6F6
  <B 0x1> .
Data Items:
class secsgem.secs.functions.SecsS06F07(value=None)[source]

data transfer request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F07
DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F07(1)
S6F7 W
  <U1 1 > .
Data Items:
class secsgem.secs.functions.SecsS06F08(value=None)[source]

data transfer data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F08
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
    DS: [
        {
            DSID: U1/U2/U4/U8/I1/I2/I4/I8/A
            DV: [
                {
                    DVNAME: U1/U2/U4/U8/I1/I2/I4/I8/A
                    DVVAL: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
                }
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F08({
...     "DATAID": 1,
...     "CEID": 1337,
...     "DS": [{
...         "DSID": 1000,
...         "DV": [
...             {"DVNAME": "VAR1", "DVVAL": "VAR"},
...             {"DVNAME": "VAR2", "DVVAL": secsgem.secs.variables.U4(100)}]}]})
S6F8
  <L [3]
    <U1 1 >
    <U2 1337 >
    <L [1]
      <L [2]
        <U2 1000 >
        <L [2]
          <L [2]
            <A "VAR1">
            <A "VAR">
          >
          <L [2]
            <A "VAR2">
            <U4 100 >
          >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F11(value=None)[source]

event report.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F11
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
    RPT: [
        {
            RPTID: U1/U2/U4/U8/I1/I2/I4/I8/A
            V: [
                DATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F11({
...     "DATAID": 1,
...     "CEID": 1337,
...     "RPT": [{
...         "RPTID": 1000,
...         "V": ["VAR", secsgem.secs.variables.U4(100)]}]})
S6F11 W
  <L [3]
    <U1 1 >
    <U2 1337 >
    <L [1]
      <L [2]
        <U2 1000 >
        <L [2]
          <A "VAR">
          <U4 100 >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F12(value=None)[source]

event report - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F12
ACKC6: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F12(secsgem.secs.data_items.ACKC6.ACCEPTED)
S6F12
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS06F15(value=None)[source]

event report request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F15
CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F15(1337)
S6F15 W
  <U2 1337 > .
Data Items:
class secsgem.secs.functions.SecsS06F16(value=None)[source]

event report data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F16
{
    DATAID: U1/U2/U4/U8/I1/I2/I4/I8/A
    CEID: U1/U2/U4/U8/I1/I2/I4/I8/A
    RPT: [
        {
            RPTID: U1/U2/U4/U8/I1/I2/I4/I8/A
            V: [
                DATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
                ...
            ]
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F16({
...     "DATAID": 1,
...     "CEID": 1337,
...     "RPT": [{
...         "RPTID": 1000,
...         "V": ["VAR", secsgem.secs.variables.U4(100)]}]})
S6F16
  <L [3]
    <U1 1 >
    <U2 1337 >
    <L [1]
      <L [2]
        <U2 1000 >
        <L [2]
          <A "VAR">
          <U4 100 >
        >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F19(value=None)[source]

individual report request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F19
RPTID: U1/U2/U4/U8/I1/I2/I4/I8/A
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F19(secsgem.secs.variables.U4(1337))
S6F19 W
  <U4 1337 > .
Data Items:
class secsgem.secs.functions.SecsS06F20(value=None)[source]

individual report data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F20
[
    V: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F20(["ASD", 1337])
S6F20
  <L [2]
    <A "ASD">
    <U2 1337 >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F21(value=None)[source]

annotated individual report request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F21
RPTID: U1/U2/U4/U8/I1/I2/I4/I8/A
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F21(secsgem.secs.variables.U4(1337))
S6F21 W
  <U4 1337 > .
Data Items:
class secsgem.secs.functions.SecsS06F22(value=None)[source]

annotated individual report data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F22
[
    {
        VID: U1/U2/U4/U8/I1/I2/I4/I8/A
        V: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
    }
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F22([{"VID": "VID1", "V": "ASD"}, {"VID": 2, "V": 1337}])
S6F22
  <L [2]
    <L [2]
      <A "VID1">
      <A "ASD">
    >
    <L [2]
      <U1 2 >
      <U2 1337 >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS06F23(value=None)[source]

Request spooled data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F23
RSDC: U1[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F23(secsgem.secs.data_items.RSDC.PURGE)
S6F23 W
  <U1 1 > .
Data Items:
class secsgem.secs.functions.SecsS06F24(value=None)[source]

Request spooled data acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F24
RSDA: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS06F24(secsgem.secs.data_items.RSDA.ACK)
S6F24
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS07F00(value=None)[source]

abort transaction stream 7.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F00()
S7F0 .
class secsgem.secs.functions.SecsS07F01(value=None)[source]

process program load - inquire.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F01
{
    PPID: A/B[120]
    LENGTH: U1/U2/U4/U8/I1/I2/I4/I8
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F01({"PPID": "program", "LENGTH": 4})
S7F1 W
  <L [2]
    <A "program">
    <U1 4 >
  > .
Data Items:
class secsgem.secs.functions.SecsS07F02(value=None)[source]

process program load - grant.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F02
PPGNT: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F02(secsgem.secs.data_items.PPGNT.OK)
S7F2
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS07F03(value=None)[source]

process program - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F03
{
    PPID: A/B[120]
    PPBODY: U1/U2/U4/U8/I1/I2/I4/I8/A/B
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F03({"PPID": "program", "PPBODY": secsgem.secs.variables.Binary("data")})
S7F3 W
  <L [2]
    <A "program">
    <B 0x64 0x61 0x74 0x61>
  > .
Data Items:
class secsgem.secs.functions.SecsS07F04(value=None)[source]

process program - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F04
ACKC7: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F04(secsgem.secs.data_items.ACKC7.MATRIX_OVERFLOW)
S7F4
  <B 0x3> .
Data Items:
class secsgem.secs.functions.SecsS07F05(value=None)[source]

process program - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F05
PPID: A/B[120]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F05("program")
S7F5 W
  <A "program"> .
Data Items:
class secsgem.secs.functions.SecsS07F06(value=None)[source]

process program - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F06
{
    PPID: A/B[120]
    PPBODY: U1/U2/U4/U8/I1/I2/I4/I8/A/B
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F06({"PPID": "program", "PPBODY": secsgem.secs.variables.Binary("data")})
S7F6
  <L [2]
    <A "program">
    <B 0x64 0x61 0x74 0x61>
  > .
Data Items:
class secsgem.secs.functions.SecsS07F17(value=None)[source]

delete process program - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F17
[
    PPID: A/B[120]
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F17(["program1", "program2"])
S7F17 W
  <L [2]
    <A "program1">
    <A "program2">
  > .
Data Items:
class secsgem.secs.functions.SecsS07F18(value=None)[source]

delete process program - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F18
ACKC7: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F18(secsgem.secs.data_items.ACKC7.MODE_UNSUPPORTED)
S7F18
  <B 0x5> .
Data Items:
class secsgem.secs.functions.SecsS07F19(value=None)[source]

current equipment process program - request.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F19
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F19()
S7F19 W .
class secsgem.secs.functions.SecsS07F20(value=None)[source]

current equipment process program - data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F20
[
    PPID: A/B[120]
    ...
]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS07F20(["program1", "program2"])
S7F20
  <L [2]
    <A "program1">
    <A "program2">
  > .
Data Items:
class secsgem.secs.functions.SecsS09F00(value=None)[source]

abort transaction stream 9.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F00()
S9F0 .
class secsgem.secs.functions.SecsS09F01(value=None)[source]

unrecognized device id.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F01
MHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F01("HEADERDATA")
S9F1
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F03(value=None)[source]

unrecognized stream type.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F03
MHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F03("HEADERDATA")
S9F3
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F05(value=None)[source]

unrecognized function type.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F05
MHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F05("HEADERDATA")
S9F5
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F07(value=None)[source]

illegal data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F07
MHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F07("HEADERDATA")
S9F7
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F09(value=None)[source]

transaction timer timeout.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F09
SHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F09("HEADERDATA")
S9F9
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F11(value=None)[source]

data too long.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F11
MHEAD: B[10]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F11("HEADERDATA")
S9F11
  <B 0x48 0x45 0x41 0x44 0x45 0x52 0x44 0x41 0x54 0x41> .
Data Items:
class secsgem.secs.functions.SecsS09F13(value=None)[source]

conversation timeout.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F13
{
    MEXP: A[6]
    EDID: U1/U2/U4/U8/I1/I2/I4/I8/A/B
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS09F13({"MEXP": "S01E01", "EDID": "data"})
S9F13
  <L [2]
    <A "S01E01">
    <A "data">
  > .
Data Items:
class secsgem.secs.functions.SecsS10F00(value=None)[source]

abort transaction stream 10.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F00()
S10F0 .
class secsgem.secs.functions.SecsS10F01(value=None)[source]

terminal - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F01
{
    TID: B[1]
    TEXT: U1/U2/U4/U8/I1/I2/I4/I8/A/B
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F01({"TID": 0, "TEXT": "hello?"})
S10F1
  <L [2]
    <B 0x0>
    <A "hello?">
  > .
Data Items:
class secsgem.secs.functions.SecsS10F02(value=None)[source]

terminal - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F02
ACKC10: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F02(secsgem.secs.data_items.ACKC10.ACCEPTED)
S10F2
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS10F03(value=None)[source]

terminal single - display.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F03
{
    TID: B[1]
    TEXT: U1/U2/U4/U8/I1/I2/I4/I8/A/B
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F03({"TID": 0, "TEXT": "hello!"})
S10F3
  <L [2]
    <B 0x0>
    <A "hello!">
  > .
Data Items:
class secsgem.secs.functions.SecsS10F04(value=None)[source]

terminal single - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F04
ACKC10: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS10F04(secsgem.secs.data_items.ACKC10.TERMINAL_NOT_AVAILABLE)
S10F4
  <B 0x2> .
Data Items:
class secsgem.secs.functions.SecsS12F00(value=None)[source]

abort transaction stream 12.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F00()
S12F0 .
class secsgem.secs.functions.SecsS12F01(value=None)[source]

map setup data - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F01
{
    MID: A/B[80]
    IDTYP: B[1]
    FNLOC: U2
    FFROT: U2
    ORLOC: B[1]
    RPSEL: U1
    REFP: [
        DATA: I1/I2/I4/I8
        ...
    ]
    DUTMS: A
    XDIES: U1/U2/U4/U8/F4/F8
    YDIES: U1/U2/U4/U8/F4/F8
    ROWCT: U1/U2/U4/U8
    COLCT: U1/U2/U4/U8
    NULBC: U1/A
    PRDCT: U1/U2/U4/U8
    PRAXI: B[1]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F01({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "FNLOC": 0,
...     "FFROT": 0,
...     "ORLOC": secsgem.secs.data_items.ORLOC.UPPER_LEFT,
...     "RPSEL": 0,
...     "REFP": [[1,2], [2,3]],
...     "DUTMS": "unit",
...     "XDIES": 100,
...     "YDIES": 100,
...     "ROWCT": 10,
...     "COLCT": 10,
...     "NULBC": "{x}",
...     "PRDCT": 100,
...     "PRAXI": secsgem.secs.data_items.PRAXI.ROWS_TOP_INCR})
S12F1 W
  <L [15]
    <A "materialID">
    <B 0x0>
    <U2 0 >
    <U2 0 >
    <B 0x2>
    <U1 0 >
    <L [2]
      <I1 1 2 >
      <I1 2 3 >
    >
    <A "unit">
    <U1 100 >
    <U1 100 >
    <U1 10 >
    <U1 10 >
    <A "{x}">
    <U1 100 >
    <B 0x0>
  > .
Data Items:
class secsgem.secs.functions.SecsS12F02(value=None)[source]

map setup data - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F02
SDACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F02(secsgem.secs.data_items.SDACK.ACK)
S12F2
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS12F03(value=None)[source]

map setup data - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F03
{
    MID: A/B[80]
    IDTYP: B[1]
    MAPFT: B[1]
    FNLOC: U2
    FFROT: U2
    ORLOC: B[1]
    PRAXI: B[1]
    BCEQU: U1/A
    NULBC: U1/A
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F03({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER_CASSETTE,
...     "MAPFT": secsgem.secs.data_items.MAPFT.ROW,
...     "FNLOC": 0,
...     "FFROT": 0,
...     "ORLOC": secsgem.secs.data_items.ORLOC.LOWER_LEFT,
...     "PRAXI": secsgem.secs.data_items.PRAXI.COLS_LEFT_INCR,
...     "BCEQU": [1, 3, 5, 7],
...     "NULBC": "{x}"})
S12F3 W
  <L [9]
    <A "materialID">
    <B 0x1>
    <B 0x0>
    <U2 0 >
    <U2 0 >
    <B 0x3>
    <B 0x4>
    <U1 1 3 5 7 >
    <A "{x}">
  > .
Data Items:
class secsgem.secs.functions.SecsS12F04(value=None)[source]

map setup data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F04
{
    MID: A/B[80]
    IDTYP: B[1]
    FNLOC: U2
    ORLOC: B[1]
    RPSEL: U1
    REFP: [
        DATA: I1/I2/I4/I8
        ...
    ]
    DUTMS: A
    XDIES: U1/U2/U4/U8/F4/F8
    YDIES: U1/U2/U4/U8/F4/F8
    ROWCT: U1/U2/U4/U8
    COLCT: U1/U2/U4/U8
    PRDCT: U1/U2/U4/U8
    BCEQU: U1/A
    NULBC: U1/A
    MLCL: U1/U2/U4/U8
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F04({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.FILM_FRAME,
...     "FNLOC": 0,
...     "ORLOC": secsgem.secs.data_items.ORLOC.CENTER_DIE,
...     "RPSEL": 0,
...     "REFP": [[1,2], [2,3]],
...     "DUTMS": "unit",
...     "XDIES": 100,
...     "YDIES": 100,
...     "ROWCT": 10,
...     "COLCT": 10,
...     "PRDCT": 100,
...     "BCEQU": [1, 3, 5, 7],
...     "NULBC": "{x}",
...     "MLCL": 0})
S12F4
  <L [15]
    <A "materialID">
    <B 0x2>
    <U2 0 >
    <B 0x0>
    <U1 0 >
    <L [2]
      <I1 1 2 >
      <I1 2 3 >
    >
    <A "unit">
    <U1 100 >
    <U1 100 >
    <U1 10 >
    <U1 10 >
    <U1 100 >
    <U1 1 3 5 7 >
    <A "{x}">
    <U1 0 >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F05(value=None)[source]

map transmit inquire.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F05
{
    MID: A/B[80]
    IDTYP: B[1]
    MAPFT: B[1]
    MLCL: U1/U2/U4/U8
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F05({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "MAPFT": secsgem.secs.data_items.MAPFT.ARRAY,
...     "MLCL": 0})
S12F5 W
  <L [4]
    <A "materialID">
    <B 0x0>
    <B 0x1>
    <U1 0 >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F06(value=None)[source]

map transmit - grant.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F06
GRNT1: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F06(secsgem.secs.data_items.GRNT1.MATERIALID_UNKNOWN)
S12F6
  <B 0x5> .
Data Items:
class secsgem.secs.functions.SecsS12F07(value=None)[source]

map data type 1 - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F07
{
    MID: A/B[80]
    IDTYP: B[1]
    DATA: [
        {
            RSINF: I1/I2/I4/I8[3]
            BINLT: U1/A
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F07({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "DATA": [
...         {"RSINF": [1, 2, 3], "BINLT": [1, 2, 3, 4]},
...         {"RSINF": [4, 5, 6], "BINLT": [5, 6, 7, 8]}]})
S12F7 W
  <L [3]
    <A "materialID">
    <B 0x0>
    <L [2]
      <L [2]
        <I1 1 2 3 >
        <U1 1 2 3 4 >
      >
      <L [2]
        <I1 4 5 6 >
        <U1 5 6 7 8 >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F08(value=None)[source]

map data type 1 - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F08
MDACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F08(secsgem.secs.data_items.MDACK.ABORT_MAP)
S12F8
  <B 0x3> .
Data Items:
class secsgem.secs.functions.SecsS12F09(value=None)[source]

map data type 2 - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F09
{
    MID: A/B[80]
    IDTYP: B[1]
    STRP: I1/I2/I4/I8[2]
    BINLT: U1/A
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F09({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "STRP": [0, 1],
...     "BINLT": [1, 2, 3, 4, 5, 6]})
S12F9 W
  <L [4]
    <A "materialID">
    <B 0x0>
    <I1 0 1 >
    <U1 1 2 3 4 5 6 >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F10(value=None)[source]

map data type 2 - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F10
MDACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F10(secsgem.secs.data_items.MDACK.ACK)
S12F10
  <B 0x0> .
Data Items:
class secsgem.secs.functions.SecsS12F11(value=None)[source]

map data type 3 - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F11
{
    MID: A/B[80]
    IDTYP: B[1]
    DATA: [
        {
            XYPOS: I1/I2/I4/I8[2]
            BINLT: U1/A
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F11({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "DATA": [
...         {"XYPOS": [1, 2], "BINLT": [1, 2, 3, 4]},
...         {"XYPOS": [3, 4], "BINLT": [5, 6, 7, 8]}]})
S12F11 W
  <L [3]
    <A "materialID">
    <B 0x0>
    <L [2]
      <L [2]
        <I1 1 2 >
        <U1 1 2 3 4 >
      >
      <L [2]
        <I1 3 4 >
        <U1 5 6 7 8 >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F12(value=None)[source]

map data type 3 - acknowledge.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F12
MDACK: B[1]
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F12(secsgem.secs.data_items.MDACK.FORMAT_ERROR)
S12F12
  <B 0x1> .
Data Items:
class secsgem.secs.functions.SecsS12F13(value=None)[source]

map data type 1 - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F13
{
    MID: A/B[80]
    IDTYP: B[1]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F13({"MID": "materialID", "IDTYP": secsgem.secs.data_items.IDTYP.WAFER})
S12F13 W
  <L [2]
    <A "materialID">
    <B 0x0>
  > .
Data Items:
class secsgem.secs.functions.SecsS12F14(value=None)[source]

map data type 1.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F14
{
    MID: A/B[80]
    IDTYP: B[1]
    DATA: [
        {
            RSINF: I1/I2/I4/I8[3]
            BINLT: U1/A
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F14({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "DATA": [
...         {"RSINF": [1, 2, 3], "BINLT": [1, 2, 3, 4]},
...         {"RSINF": [4, 5, 6], "BINLT": [5, 6, 7, 8]}]})
S12F14
  <L [3]
    <A "materialID">
    <B 0x0>
    <L [2]
      <L [2]
        <I1 1 2 3 >
        <U1 1 2 3 4 >
      >
      <L [2]
        <I1 4 5 6 >
        <U1 5 6 7 8 >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F15(value=None)[source]

map data type 2 - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F15
{
    MID: A/B[80]
    IDTYP: B[1]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F15({"MID": "materialID", "IDTYP": secsgem.secs.data_items.IDTYP.WAFER})
S12F15 W
  <L [2]
    <A "materialID">
    <B 0x0>
  > .
Data Items:
class secsgem.secs.functions.SecsS12F16(value=None)[source]

map data type 2.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F16
{
    MID: A/B[80]
    IDTYP: B[1]
    STRP: I1/I2/I4/I8[2]
    BINLT: U1/A
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F16({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "STRP": [0, 1],
...     "BINLT": [1, 2, 3, 4, 5, 6]})
S12F16
  <L [4]
    <A "materialID">
    <B 0x0>
    <I1 0 1 >
    <U1 1 2 3 4 5 6 >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F17(value=None)[source]

map data type 3 - request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F17
{
    MID: A/B[80]
    IDTYP: B[1]
    SDBIN: B[1]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F17({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "SDBIN": secsgem.secs.data_items.SDBIN.DONT_SEND})
S12F17 W
  <L [3]
    <A "materialID">
    <B 0x0>
    <B 0x1>
  > .
Data Items:
class secsgem.secs.functions.SecsS12F18(value=None)[source]

map data type 3.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F18
{
    MID: A/B[80]
    IDTYP: B[1]
    DATA: [
        {
            XYPOS: I1/I2/I4/I8[2]
            BINLT: U1/A
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F18({
...     "MID": "materialID",
...     "IDTYP": secsgem.secs.data_items.IDTYP.WAFER,
...     "DATA": [
...         {"XYPOS": [1, 2], "BINLT": [1, 2, 3, 4]},
...         {"XYPOS": [3, 4], "BINLT": [5, 6, 7, 8]}]})
S12F18
  <L [3]
    <A "materialID">
    <B 0x0>
    <L [2]
      <L [2]
        <I1 1 2 >
        <U1 1 2 3 4 >
      >
      <L [2]
        <I1 3 4 >
        <U1 5 6 7 8 >
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS12F19(value=None)[source]

map error report - send.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F19
{
    MAPER: B[1]
    DATLC: U1
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS12F19({"MAPER": secsgem.secs.data_items.MAPER.INVALID_DATA, "DATLC": 0})
S12F19
  <L [2]
    <B 0x1>
    <U1 0 >
  > .
Data Items:
class secsgem.secs.functions.SecsS14F00(value=None)[source]

abort transaction stream 14.

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F00
Header only
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F00()
S14F0 .
class secsgem.secs.functions.SecsS14F01(value=None)[source]

GetAttr request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F01
{
    OBJSPEC: A
    OBJTYPE: U1/U2/U4/U8/A
    OBJID: [
        DATA: U1/U2/U4/U8/A
        ...
    ]
    FILTER: [
        {
            ATTRID: U1/U2/U4/U8/A
            ATTRDATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
            ATTRRELN: U1
        }
        ...
    ]
    ATTRID: [
        DATA: U1/U2/U4/U8/A
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F01({
...     "OBJSPEC": '',
...     "OBJTYPE": 'StripMap',
...     "OBJID": ['MAP001'],
...     "FILTER": [],
...     "ATTRID": ['OriginLocation', 'Rows', 'Columns', 'CellStatus', 'LotID']})
S14F1 W
  <L [5]
    <A>
    <A "StripMap">
    <L [1]
      <A "MAP001">
    >
    <L>
    <L [5]
      <A "OriginLocation">
      <A "Rows">
      <A "Columns">
      <A "CellStatus">
      <A "LotID">
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS14F02(value=None)[source]

GetAttr data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F02
{
    DATA: [
        {
            OBJID: U1/U2/U4/U8/A
            ATTRIBS: [
                {
                    ATTRID: U1/U2/U4/U8/A
                    ATTRDATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
                }
                ...
            ]
        }
        ...
    ]
    ERRORS: {
        OBJACK: U1[1]
        ERROR: [
            {
                ERRCODE: I1/I2/I4/I8
                ERRTEXT: A[120]
            }
            ...
        ]
    }
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F02({
...     "DATA": [{
...         "OBJID": "MAP001",
...         "ATTRIBS": [
...             {"ATTRID": "OriginLocation", "ATTRDATA": "0"},
...             {"ATTRID": "Rows", "ATTRDATA": 4},
...             {"ATTRID": "Columns", "ATTRDATA": 4},
...             {"ATTRID": "CellStatus", "ATTRDATA": 6},
...             {"ATTRID": "LotID", "ATTRDATA":"LOT001"}
...           ]
...       }],
...       "ERRORS": {
...         "OBJACK": 0
...       }
...     })
S14F2
  <L [2]
    <L [1]
      <L [2]
        <A "MAP001">
        <L [5]
          <L [2]
            <A "OriginLocation">
            <A "0">
          >
          <L [2]
            <A "Rows">
            <U1 4 >
          >
          <L [2]
            <A "Columns">
            <U1 4 >
          >
          <L [2]
            <A "CellStatus">
            <U1 6 >
          >
          <L [2]
            <A "LotID">
            <A "LOT001">
          >
        >
      >
    >
    <L [2]
      <U1 0 >
      <L>
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS14F03(value=None)[source]

SetAttr request.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F03
{
    OBJSPEC: A
    OBJTYPE: U1/U2/U4/U8/A
    OBJID: [
        DATA: U1/U2/U4/U8/A
        ...
    ]
    ATTRIBS: [
        {
            ATTRID: U1/U2/U4/U8/A
            ATTRDATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
        }
        ...
    ]
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F03({
...       "OBJSPEC": '',
...       "OBJTYPE": 'StripMap',
...       "OBJID": ['MAP001'],
...       "ATTRIBS": [{
...           "ATTRID": "CellStatus",
...           "ATTRDATA": "3"}]})
S14F3 W
  <L [4]
    <A>
    <A "StripMap">
    <L [1]
      <A "MAP001">
    >
    <L [1]
      <L [2]
        <A "CellStatus">
        <A "3">
      >
    >
  > .
Data Items:
class secsgem.secs.functions.SecsS14F04(value=None)[source]

SetAttr data.

Parameters:

value – parameters for this function (see example)

Examples

>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F04
{
    DATA: [
        {
            OBJID: U1/U2/U4/U8/A
            ATTRIBS: [
                {
                    ATTRID: U1/U2/U4/U8/A
                    ATTRDATA: L/BOOLEAN/U1/U2/U4/U8/I1/I2/I4/I8/F4/F8/A/B
                }
                ...
            ]
        }
        ...
    ]
    ERRORS: {
        OBJACK: U1[1]
        ERROR: [
            {
                ERRCODE: I1/I2/I4/I8
                ERRTEXT: A[120]
            }
            ...
        ]
    }
}
>>> import secsgem.secs
>>> secsgem.secs.functions.SecsS14F04({
...     "DATA": [{
...         "OBJID": "MAP001",
...         "ATTRIBS": [
...             {"ATTRID": "OriginLocation", "ATTRDATA": "0"},
...             {"ATTRID": "Rows", "ATTRDATA": 4},
...             {"ATTRID": "Columns", "ATTRDATA": 4},
...             {"ATTRID": "CellStatus", "ATTRDATA": 6},
...             {"ATTRID": "LotID", "ATTRDATA":"LOT001"}]}],
...         "ERRORS": {"OBJACK": 0}})
S14F4
  <L [2]
    <L [1]
      <L [2]
        <A "MAP001">
        <L [5]
          <L [2]
            <A "OriginLocation">
            <A "0">
          >
          <L [2]
            <A "Rows">
            <U1 4 >
          >
          <L [2]
            <A "Columns">
            <U1 4 >
          >
          <L [2]
            <A "CellStatus">
            <U1 6 >
          >
          <L [2]
            <A "LotID">
            <A "LOT001">
          >
        >
      >
    >
    <L [2]
      <U1 0 >
      <L>
    >
  > .
Data Items: