7.1 Fanuc

7.1.1 操作模式

cnc_mode

{
    "Mdi":0,
    "Memory":1,
    "None":2,
    "Edit":3,
    "Handle":4,
    "Jog":5,
    "TeachinJog":6,
    "TeachinHandle":7,
    "Incfeed":8,
    "Reference":9,
    "Remote":10,
    "Other":11
}

7.1.2 运行状态

cnc_runstatus

{
    "RESET":0,
    "STOP":1,
    "HOLD":2,
    "START":3,
    "MSTR":4,
    "Other":5
}

7.1.3 急停

cnc_emer

{
    "NotEmergency":0,
    "Emergency":1,
    "Reset":2,
    "Wait":3,
    "Others":4
}

7.1.4 G代码

cnc_gcode

{
    "G01":0,
    "G02":1,
    "G03":2,
    "G04":3,
    "Others":4
}