public static void closeBoard() { mServoIo.check_flag = 1; for (int i = 0; i < AXIS_NUM; ++i) { RFIDControl.dmc_write_sevon_pin(mAxis[i].m_card_num, mAxis[i].m_axis_num, HIGH); //伺服OFF RFIDControl.dmc_set_inp_mode(mAxis[i].m_card_num, mAxis[i].m_axis_num, LOW, LOW); //设置伺服 INP 低电平有效 RFIDControl.dmc_set_alm_mode(mAxis[i].m_card_num, mAxis[i].m_axis_num, LOW, HIGH, 0); //设置 伺服ALM 高电平有效 松下伺服正常情况下输出低电平 } RFIDControl.dmc_board_close(); }