{
  "schema": "spec-platform/v1",
  "kind": "flowchart",
  "v": 1,
  "title": "이재 유닛의 원점 복귀",
  "settings": {
    "yesNo": "YES/NO",
    "yesDir": "down",
    "stepNo": false,
    "stepStart": 10,
    "stepInc": 10
  },
  "nodes": [
    {
      "id": "s",
      "type": "start",
      "text": "원점 복귀 버튼",
      "x": 120,
      "y": 37
    },
    {
      "id": "d_pwr",
      "type": "decision",
      "text": "동력과 에어가\n들어와 있음 ?",
      "x": 85,
      "y": 120
    },
    {
      "id": "perr",
      "type": "process",
      "text": "\"동력 또는 에어가\n들어오지 않음\"을 표시",
      "x": 365,
      "y": 200
    },
    {
      "id": "ng1",
      "type": "end",
      "text": "중지",
      "x": 390,
      "y": 280
    },
    {
      "id": "d_pull",
      "type": "decision",
      "text": "워크를 당기지 않고\nZ를 올릴 수 있음 ?",
      "x": 85,
      "y": 310
    },
    {
      "id": "pmsg",
      "type": "process",
      "text": "\"척 또는 지그를\n수동으로 열어 주십시오\"\n를 표시",
      "x": 365,
      "y": 390
    },
    {
      "id": "ng2",
      "type": "end",
      "text": "중지",
      "x": 390,
      "y": 478
    },
    {
      "id": "zup",
      "type": "process",
      "text": "Z 상승\n(상한 3 초)",
      "x": 95,
      "y": 420
    },
    {
      "id": "d_zup",
      "type": "decision",
      "text": "Z 상승단이 ON ?",
      "x": 85,
      "y": 500
    },
    {
      "id": "zerr",
      "type": "process",
      "text": "\"Z가 올라가지 않음\"\n을 표시",
      "x": 365,
      "y": 580
    },
    {
      "id": "ng3",
      "type": "end",
      "text": "중지",
      "x": 390,
      "y": 660
    },
    {
      "id": "xh",
      "type": "process",
      "text": "X를 원점으로\n(상한 30 초)",
      "x": 95,
      "y": 610
    },
    {
      "id": "d_xh",
      "type": "decision",
      "text": "X가 원점에\n도착 ?",
      "x": 85,
      "y": 690
    },
    {
      "id": "xerr",
      "type": "process",
      "text": "\"X가 원점으로 돌아가지 않음\"\n을 표시",
      "x": 365,
      "y": 770
    },
    {
      "id": "ng4",
      "type": "end",
      "text": "중지",
      "x": 390,
      "y": 850
    },
    {
      "id": "d_wk",
      "type": "decision",
      "text": "척은 비어 있음 ?",
      "x": 85,
      "y": 880
    },
    {
      "id": "wmsg",
      "type": "process",
      "text": "\"워크를 제거해\n주십시오\"를 표시",
      "x": 365,
      "y": 960
    },
    {
      "id": "ng5",
      "type": "end",
      "text": "중지",
      "x": 390,
      "y": 1040
    },
    {
      "id": "done",
      "type": "process",
      "text": "원점 복귀 완료\n(bHomeDone)를 ON",
      "x": 95,
      "y": 1000
    },
    {
      "id": "e_ok",
      "type": "end",
      "text": "원위치\n(기동 대기로)",
      "x": 120,
      "y": 1090
    }
  ],
  "edges": [
    {
      "id": "e1",
      "from": "s",
      "port": "out",
      "to": "d_pwr"
    },
    {
      "id": "e2",
      "from": "d_pwr",
      "port": "yes",
      "to": "d_pull"
    },
    {
      "id": "e3",
      "from": "d_pwr",
      "port": "no",
      "to": "perr"
    },
    {
      "id": "e4",
      "from": "perr",
      "port": "out",
      "to": "ng1"
    },
    {
      "id": "e5",
      "from": "d_pull",
      "port": "yes",
      "to": "zup"
    },
    {
      "id": "e6",
      "from": "d_pull",
      "port": "no",
      "to": "pmsg"
    },
    {
      "id": "e7",
      "from": "pmsg",
      "port": "out",
      "to": "ng2"
    },
    {
      "id": "e8",
      "from": "zup",
      "port": "out",
      "to": "d_zup"
    },
    {
      "id": "e9",
      "from": "d_zup",
      "port": "yes",
      "to": "xh"
    },
    {
      "id": "e10",
      "from": "d_zup",
      "port": "no",
      "to": "zerr"
    },
    {
      "id": "e11",
      "from": "zerr",
      "port": "out",
      "to": "ng3"
    },
    {
      "id": "e12",
      "from": "xh",
      "port": "out",
      "to": "d_xh"
    },
    {
      "id": "e13",
      "from": "d_xh",
      "port": "yes",
      "to": "d_wk"
    },
    {
      "id": "e14",
      "from": "d_xh",
      "port": "no",
      "to": "xerr"
    },
    {
      "id": "e15",
      "from": "xerr",
      "port": "out",
      "to": "ng4"
    },
    {
      "id": "e16",
      "from": "d_wk",
      "port": "yes",
      "to": "done"
    },
    {
      "id": "e17",
      "from": "d_wk",
      "port": "no",
      "to": "wmsg"
    },
    {
      "id": "e18",
      "from": "wmsg",
      "port": "out",
      "to": "ng5"
    },
    {
      "id": "e19",
      "from": "done",
      "port": "out",
      "to": "e_ok"
    }
  ],
  "lanes": [],
  "links": []
}
