7.3 SiemensCNC

7.3.1 操作模式

cnc_mode

{
    "JOG": 0,
    "TEACHIN":1,
    "MDA":2,
    "AUTO":3,
    "REPOS":4,
    "REFPOINT":5,
    "VAR":6,
    "INC":7,
    "OTHER":8
}

7.3.2 运行状态

cnc_runstatus

{
    "RESET":0,
    "STOP":1,
    "HOLD":2,
    "START":3,
     "SPENDLE_CW_CCW":4,
     "Others":5
}