123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435 |
- #ifndef __JLTIEBUJI_H__
- #define __JLTIEBUJI_H__
- #if JIN_LONG_MACHINE == 1
- extern void TBJ_InitAction(void);
- extern void TBJ_ManualAction(void);
- extern void TBJ_Action(void);
- extern void TBJ_DelayAction(void);
- #define DIR_P 1
- #define DIR_N 0
- #define TBJ_ALARM_ADDR 100
- #define TBJ_TOTAL_ADDR 76
- #define TBJ_NOWTOTAL_ADDR 80
- #define TBJ_SPEED_ADDR 83
- #define TBJ_PROSPEED_ADDR 78
- #define ERRORTIME 2000
- #define VAVLE_ALARM_TIME 3000
- #define GUO_LIAN_OVER_TIME 10000
- //故障代码列表
- #define TBJ_NO_ALARM 0
- #define TBJ_XIACHONG_ARRIVE_ALARM 3
- #define TBJ_HM_LIMIT_ALARM 4
- #define TBJ_SM_LIMIT_ALARM 5
- #define TBJ_GUOLIAN_ALARM 6
- #define TBJ_Auto_Step cStepMByte //自动操作步骤
- #define TBJ_Motor_Step cStepMByte1 //电机拖带步骤
- #define TBJ_HMCS_Step cStepMByte2 //合模超声步骤
- #define TBJ_SJ_FJ_Step cStepMByte3 //送胶分胶步骤
- #define TBJ_STOP_Step cStepMByte4 //停机动作步骤
- #define TBJ_QJ_Step cStepMByte5 //切胶步骤
- #define TBJ_SFHM_Step cStepMByte6 //伺服合模动作
- #define TBJ_TJJ_FLG cStepMByte7 //退夹胶标志
- #define TBJ_XC_RstStep cStepMByte8 //下冲复位
- #define TBJ_HeMo_Step cStepMByte9
- #define TBJ_TEST_TIME cDelayTime1 //测试跳过条件时间
- #define TBJ_Auto_Delay cDelayTime2 //自动步骤延迟时间
- #define TBJ_FJ_Delay cDelayTime3 //延时分胶
- #define TBJ_SJ_Delay cDelayTime4 //延时送胶
- #define TBJ_CS_Delay cDelayTime5 //延时超声
- #define TBJ_Motor_Delay cDelayTime6 //延时电机
- #define TBJ_GZ_Delay cDelayTime7 //延时钩针
- #define TBJ_SM_ErrorTime cDelayTime8 //上模容错时间
- #define TBJ_SJ_ErrorTime cDelayTime9 //送胶容错时间
- #define TBJ_DJ_ErrorTime cDelayTime10 //电机容错时间
- #define TBJ_CQ_Delay cDelayTime11 //吹气延时
- #define TBJ_STOP_Delay cDelayTime12 //暂停延时
- #define TBJ_QieJiao_Delay cDelayTime13 //切胶延时
- #define TBJ_XCRst_Delay cDelayTime14
- #define TBJ_HeMo_Delay cDelayTime15
- #define TBJ_HeMo_JLXL_Delay cDelayTime16
- #define TBJ_QJCQ_Delay cDelayTime17 //吹气延时
- //32位无符号变量
- #define TBJ_LENTH cDword32Buff1
- //
- #define TBJ_SAVE_POS cUDword32Buff1 //保存当前位置信息,用于计算
- #define TBJ_XC_CS_LOCAL cUDword32Buff2 //下冲超声位置
- #define TEST1 cCharBuff2//判断是否为第一条拉链
- #define TBJ_Hand_Hemo_flag cCharBuff4 //手动合模完成标志位,做吹气用
- #define TBJ_Hemo_flag cCharBuff5 //手动合模完成标志位,做吹气用
- #define TBJ_XC_Reset_flag cCharBuff6 //下冲复位标志
- #define TBJ_LLPL_flag cCharBuff7 //拉链破链标志
- #define TBJ_FIRST_CS_Y_LOCAL cUShort16Buff1 //第一条超声位置
- #define TBJ_CS_Y_Local cUShort16Buff2 //超声位置
- #define TBJ_GH_Y_Local cUShort16Buff3 //固化位置
- #define TBJ_NJ_SEL cUShort16Buff4 //扭矩选择
- #define TBJ_DIR_P 1
- #define TBJ_DIR_N 0
- #define TBJ_MOTOR_EN 1
- #define TBJ_MOTOR_DISEN 0
- #define TBJ_NO_ALARM 0
- #define TBJ_PARAM_CS_DELAY (user_datas[0] * 10) //超声延时时间
- #define TBJ_PARAM_GZ_DELAY user_datas[1] //延时上钩针
- #define TBJ_PARAM_YD_TIME (user_datas[3] * 10) //压带夹胶时间
- #define TBJ_PARAM_FJ_DELAY (user_datas[4] * 10) //分胶延时输出
- #define TNJ_PARAM_TD_LENGTH user_datas[5] //过链由空位到上升沿时,电机拖带距离
- #define TBJ_PARAM_BJ_CS_TIME (user_datas[6]) //布胶超声时间
- #define TBJ_PARAM_BJ_GH_TIME (user_datas[7]) //布胶固化时间
- #define TBJ_PARAM_ChuiQi_TIME (user_datas[8] * 10) //吹气时间
- #define TBJ_PARAM_SJ_TIME (user_datas[9] * 10) //送胶时间
- #define TBJ_PARAM_MOTOR_START_SPEED user_datas[10] //电机启动速度
- #define TBJ_PARAM_MOTOR_ADD user_datas[11] //电机加速速度
- #define TBJ_PARAM_HIGH_SPEED user_datas[12] //电机高位速度
- #define TBJ_PARAM_NULL_SPEED user_datas[13] //电机空位速度
- #define TBJ_PARAM_SongJiaoMode user_datas[14] //送胶方式 0气缸 1滚轮
- #define TBJ_PARAM_XiaMo_Mode user_datas[15] //下模方式 0下模活动,1下模不动(下模活动,超声需要考虑烧坏焊头)
- #define TBJ_PARAM_TuiGouZhen_Mode user_datas[16] //0 先超声后下勾针,1 先下勾针后超声
- #define TBJ_PARAM_SGZSelect user_datas[17] //钩针方式选择 0为双钩针 1为单钩针
- #define TBJ_PARAM_TWOTD_SELECT user_datas[18] //二次拖带选择 0 为普通拖带 1为二次拖带
- #define TBJ_PARAM_GUNLUN_SIGN user_datas[19] //滚轮送胶时到位是否有信号 0 有前限位 1没前限位
- #define TBJ_PARAM_DJ_FANZHUAN user_datas[20] //电机是否反转 0不反转 1反转
- #define TBJ_PARAM_FenJiaoSelect user_datas[21] //是否有分胶阀,1为没有,0为有
- #define TBJ_PARAM_DJ_AUTO_STOP_TIME (user_datas[24] *100) //拖带自动停机时间(防止压坏轮胶)
- #define TBJ_PARAM_TWOTD_LENGTH user_datas[26] //二次拖带 过链由空位到上升沿时,电机拖带距离
- #define TBJ_TUILIAN_LENGTH user_datas[27] //退链长度
- #define TBJ_PARAM_WENDU_TIME (user_datas[28] * 10) //温度到达,超声时减少的时间
- #define TBJ_PARAM_LL_PRETECT_LENGTH (user_datas[29]) //自动测长度时自动允许拉带长度偏差
- #define TBJ_PARAM_XiaChong_MODE 1 //(user_datas[30]) //下冲方式 0为1气缸下冲,1为伺服下冲
- #define TBJ_PARAM_KAIMO_TD_DELAY (user_datas[31] * 10) //开模后延时拖带时间
- #define TBJ_PARAM_CS_MODE user_datas[32] //超声模式选择 0为透明胶 1为布胶
- #define TBJ_PARAM_TMJ_CS_TIME (user_datas[33]) //透明胶超声时间
- #define TBJ_PARAM_TMJ_GH_TIME (user_datas[34]) //透明胶固化时间
- #define TBJ_FJBACKMode user_datas[35] //1 为二次拖带后 退分胶
- #define TBJ_PARAM_HONGWAI_GanYin user_datas[36] //是否有红外(模拟)(0为没有感应器,1为有感应器)
- #define TBJ_PARAM_XCLocal_MODE user_datas[37] //下冲位置模式
- #define TBJ_PARAM_JL_BD_DELAY user_datas[38] //延时加力
- #define TBJ_PARAM_XL_BD_DELAY user_datas[39] //延时泄力
- #define TBJ_PARAM_SQJCOUNT user_datas[40] //上缺胶计数
- #define TBJ_PARAM_XQJCOUNT user_datas[41] //下缺胶计数
- #define TBJ_PARAM_SET_SQJCOUNT user_datas[42] //上缺胶计数
- #define TBJ_PARAM_SET_XQJCOUNT user_datas[43] //下缺胶计数
- #define TBJ_PARAM_Y_SOFT_PLIMIT user_datas[44] //软件正限位
- #define TBJ_PARAM_Y_SOFT_NLIMIT user_datas[45] //软件负限位
- #define TBJ_PARAM_Y_Wait_Local user_datas[46] //待机位置
- #define TBJ_PARAM_Y_Work_Local user_datas[47] //工作位置
- #define TBJ_PARAM_Y_HIGH_SPEED user_datas[48] //下冲高速
- #define TBJ_PARAM_Y_LOW_SPEED user_datas[49] //下冲低速
- #define TBJ_PARAM_SFXC_MODE user_datas[50] //伺服下冲方式
- #define TBJ_PARAM_SFZSY_SPEED user_datas[51] //自适应速度
- #define TBJ_PARAM_XCRest_MODE user_datas[52] //下冲复位方式
- #define TBJ_PARAM_QJCheck_MODE user_datas[53] //缺胶检测方式
- #define TBJ_PARAM_JL_TM_DELAY user_datas[54] //延时加力
- #define TBJ_PARAM_XL_TM_DELAY user_datas[55] //延时泄力
- #define TBJ_PARAM_QJCQ_TIME user_datas[56] //切胶吹气
- #define TBJ_PARAM_GZREBACK_TIME user_datas[57] //钩针回退时间
- #define TBJ_Frist_SetDefa user_datas[71] //写入程序后,第一次上电恢复默认出厂参数
- #define TBJ_CHENGXU_UPDATE user_datas[74] //便于屏幕判断程序有无更新
- #define TBJ_SET_TOTAL user_datas[75] //设定产量
- #define TBJ_TOTAL_DISPLAY user_datas[76] //显示产量
- #define TBJ_PARAM_SHENGJIAO user_datas[79] //是否开启节省布胶
- #define TBJ_PARAM_CYCLE_PULSE user_datas[84] //转一圈脉冲数
- #define TBJ_PARAM_CYCLE_LENGTH user_datas[85] //转一圈拖带多长
- #define TBJ_PARAM_DEC_MODE user_datas[86] //减速模式 0感应 1数控
- #define TBJ_PARAM_YCYCLE_PULSE user_datas[87] //转一圈脉冲数
- #define TBJ_PARAM_YCYCLE_LENGTH user_datas[88] //转一圈拖带多长
- #define TBJ_TEST_MODE (user_datas[90] == 55) //55为测试模式
- #define DISPLAY_DATA0 user_datas[121]
- #define DISPLAY_DATA1 user_datas[122]
- #define DISPLAY_DATA2 user_datas[123]
- #define DISPLAY_DATA3 user_datas[124]
- #define DISPLAY_DATA4 user_datas[125]
- #define DISPLAY_DATA5 user_datas[126]
- #define DISPLAY_DATA6 user_datas[127]
- #define DISPLAY_DATA7 user_datas[128]
- //伺服参数 180~190
- #define SERVO_PARAM_TRARR_BD_LIMITMAX user_datas[180]//伺服扭矩最大限制
- #define SERVO_PARAM_TRARR_BD_LIMITMIN user_datas[181]//伺服扭矩最小限制
- #define SERVO_PARAM_TRARR_TM_LIMITMAX user_datas[182]//伺服扭矩最大限制
- #define SERVO_PARAM_TRARR_TM_LIMITMIN user_datas[183]//伺服扭矩最小限制
- //// PFin(1)
- #define TBJ_Y_ORIGIN_IN M0384 //X00Y轴原点
- #define TBJ_Y_RUNING_IN M0385 //X01Y轴工作点
- #define TBJ_CS_CHECK_IN M0386 //X02超声检测
- #define TBJ_GZ_LIMIT_IN M0387 //X03钩针复位原位感应
- #define TBJ_FJ_ORIGIN_IN M0388 //X04分胶阀原位感应
- #define TBJ_FJ_LIMIT_IN M0389 //X05分胶阀到位感应
- #define TBJ_SJ_ORIGIN_IN M0390 //X06送胶复位感应
- #define TBJ_SJ_LIMIT_IN M0391 //X07送胶到位感应
- #define TBJ_SJ_LIMIT_IN_UP (M0391 && !OLDM391) //X07送胶到位感应上升沿
- #define TBJ_QJ_ORIGIN_IN M0392 //X10 下模原位
- #define TBJ_QJ_ORIGIN_IN_UP (M0392 && !OLDM392) //X10 下模原位
- #define TBJ_QJ_LIMIT_IN M0393 //X11下模到位
- #define TBJ_QJ_LIMIT_IN_UP (M0393 && !OLDM393) //X11下模到位
- #define TBJ_KADAI_IN M0394 //X12卡带
- #define TBJ_GUO_LIAN_IN M0395 //X13过链接近开关 有链为 1 无链(空位)为 0
- #define TBJ_GUO_LIAN_IN_UP (M0395 && !OLDM395) //X13过链接近开关上升沿
- #define TBJ_GUO_LIAN_IN_DOWN (!M0395 && OLDM395) //X13过链接近开关下降沿
- #define TBJ_XQJGY_IN M0396 //X14上缺胶感应
- #define TBJ_XQJGY_IN_UP (M0396 && !OLDM396)
- #define TBJ_XQJGY_IN_IN_DOWN (!M0396 && OLDM396)
- #define TBJ_SQJGY_IN M0396 //X14下缺胶感应
- #define TBJ_SQJGY_IN_UP (M0396 && !OLDM396)
- #define TBJ_SQJGY_IN_DOWN (!M0396 && OLDM396)
- #define TBJ_START_IN M0397 //X15启动
- #define TBJ_START_IN_UP (M0397 && !OLDM397) //X15启动上升沿
- //M0398备用
- #define TBJ_STOP_IN M0399 //X17停止
- #define TBJ_STOP_IN_UP (M0399 && !OLDM399) //X17停止上升沿
- #define TBJ_SafeDoor_IN M0400 //X20安全门
- #define TBJ_AIRCHECK_L_IN M0401 //X21气压低压检测
- #define TBJ_AIRCHECK_H_IN M0402 //X22气压高压检测
- #define TBJ_YSTOP_LOCAL_IN M0403 //X23Y待机位置
- //未定义的
- #define TBJ_TD_LIMIT_IN M0410 //X14拖带到位感应(双钩针才有)
- //#define TBJ_GZ_ORIGIN_IN !TBJ_GZ_LIMIT_IN //X20钩针复位原位感应
- #define TBJ_SM_LIMIT_IN M0411 //X03上模下冲到位感应
- #define TBJ_SM_ORIGIN_IN M0412 //X04上模下冲到位感应
- #define TBJ_SHANGCHAO_IN M0413 //X17上超
- #define TBJ_SHANGCHAO_IN_UP (M0413 && !OLDM413) //X17上超上升沿
- #define TBJ_SHANGCHAO_IN_DW (!M0413 && OLDM413) //X17上超下降沿
- /*
- #define TBJ_XQJGY_IN M0384 //X00上缺胶感应
- #define TBJ_XQJGY_IN_UP (M0384 && !OLDM384)
- #define TBJ_XQJGY_IN_IN_DOWN (!M0384 && OLDM384)
- #define TBJ_SQJGY_IN M0385 //X01下缺胶感应
- #define TBJ_SQJGY_IN_UP (M0385 && !OLDM385)
- #define TBJ_SQJGY_IN_DOWN (!M0385 && OLDM385)
- #define TBJ_SM_LIMIT_IN M0387 //X03上模下冲到位感应
- #define TBJ_SM_LIMIT_IN_UP (M0387 && !OLDM387) //X03上模下冲到位感应上升沿
- #define TBJ_SM_ORIGIN_IN M0388 //X04上模下冲到位感应
- #define TBJ_SM_ORIGIN_IN_UP (M0388 && !OLDM388) //X04上模下冲到位感应上升沿
- #define TBJ_FJ_LIMIT_IN M0389 //X05分胶阀到位感应
- #define TBJ_FJ_ORIGIN_IN M0390 //X06分胶阀原位感应
- #define TBJ_SJ_LIMIT_IN M0391 //X07送胶到位感应
- #define TBJ_SJ_LIMIT_IN_UP (M0391 && !OLDM391) //X07送胶到位感应上升沿
- #define TBJ_SJ_ORIGIN_IN M0392 //X10送胶复位感应
- #define TBJ_KADAI_IN M0393 //X11卡带
- #define TBJ_START_IN M0394 //X12启动
- #define TBJ_START_IN_UP (M0394 && !OLDM394) //X12启动上升沿
- #define TBJ_STOP_IN M0395 //X13停止
- #define TBJ_STOP_IN_UP (M0395 && !OLDM395) //X13停止上升沿
- #define TBJ_TD_LIMIT_IN M0396 //X14拖带到位感应(双钩针才有)
- #define TBJ_GUO_LIAN_IN M0397 //X15过链接近开关 有链为 1 无链(空位)为 0
- #define TBJ_GUO_LIAN_IN_UP (M0397 && !OLDM397) //X15过链接近开关上升沿
- #define TBJ_GUO_LIAN_IN_DOWN (!M0397 && OLDM397) //X15过链接近开关下降沿
- #define TBJ_NOJIAO_IN M0398 //X16切换自动位 目前空置
- #define TBJ_SHANGCHAO_IN M0399 //X17上超
- #define TBJ_SHANGCHAO_IN_UP (M0399 && !OLDM399) //X17上超上升沿
- #define TBJ_SHANGCHAO_IN_DW (!M0399 && OLDM399) //X17上超下降沿
- #define TBJ_GZ_ORIGIN_IN M0400 //X20钩针复位原位感应
- #define TBJ_AUTO_IN M0401 //X21缺胶信号--保护未知
- #define TBJ_XM_LIMIT_IN M0402 //X22下模到位感应
- */
- #define TBJ_FJ_VAVLE M0304 //Y00分胶
- #define TBJ_QJ_VAVLE M0305 //Y01切胶
- #define TBJ_JJ_VAVLE M0306 //Y02夹胶
- #define TBJ_SJ_VAVLE M0307 //Y03送胶电磁阀
- #define TBJ_YD_VAVLE M0308 //Y04压带
- #define TBJ_DZ_VAVLE M0309 //Y05顶针
- #define TBJ_GZ_VAVLE M0310 //Y06钩针
- #define TBJ_CS_OUT M0311 //Y07超声
- #define TBJ_LQFS_OUT M0312 //Y10风扇
- #define TBJ_LED_G_OUT M0313 //Y11绿灯
- #define TBJ_LED_Y_OUT M0314 //Y12黄灯
- #define TBJ_LED_R_OUT M0315 //Y13红
- #define TBJ_FMQ_OUT M0316 //Y14蜂鸣器
- #define TBJ_CQ_VAVLE M0317 //Y15吹气
- #define TBJ_SD_VAVLE M0318 //Y16松带
- #define TBJ_QJCQ_VAVLE M0319 //Y17切胶吹气
- #define TBJ_SM_VAVLE M0320 //Y03上模(下冲)
- #define TBJ_MOTOR_OUT M0321 //Y11
- #define TBJ_XM_VAVLE M0322 //Y01下模
- /*
- #define TBJ_CLUTH_VAVLE M0352 //Y00离合器(步进方向)
- #define TBJ_GZ_VAVLE M0354 //Y02钩针
- #define TBJ_SM_VAVLE M0355 //Y03上模(下冲)
- #define TBJ_FJ_VAVLE M0356 //Y04分胶#define TBJ_FJ_VAVLE M0356 //Y04分胶
- #define TBJ_YD_VAVLE M0357 //Y05夹胶
- #define TBJ_SJ_VAVLE M0358 //Y06送胶电磁阀
- #define TBJ_CQ_VAVLE M0359 //Y07吹气
- //#define TBJ_COUNT_OUT M0360 //Y10计数
- #define TBJ_CS_OUT M0361 //Y11超声
- #define TBJ_ALARM_OUT M0362 //Y12报警
- #define TBJ_RUN_OUT M0363 //Y13运行
- #define TBJ_MOTOR_OUT M0364 //Y11
- #define TBJ_XM_VAVLE M0365 //Y12下模
- //Y15电机松轴
- //Y12运行
- //Y13停止
- //Y14警告
- */
- //M0~M4 Actioon.h全局使用
- #define TBJ_bYD M0005 //压带 老版屏幕为M0003
- #define TBJ_bGZ M0006 //钩针 老版屏幕为M0004
- #define TBJ_bSJ M0007 //送胶
- #define TBJ_bHM M0008 //合模
- #define TBJ_bCS M0009 //超声
- #define TBJ_bCS_FLAG M0010 //超声标志
- #define TBJ_bSC M0011 //上超
- #define TBJ_bSC_FLAG M0012 //上超标志
- #define TBJ_bFJ M0013 //分胶
- #define TBJ_bRESET_TOTAL M0014 //产量清零
- #define TBJ_bJJ M0015 //夹胶
- #define TBJ_bDZ M0016 //顶针
- #define TBJ_bQJ M0017 //切胶
- #define TBJ_bSD M0018 //松带
- #define TBJ_bFS M0019 //风扇
- #define TBJ_bRunning M0020
- #define TBJ_bStart M0021
- #define TBJ_bStop M0022
- #define TBJ_bAlarmStop M0023
- #define TBJ_bClearTotal M0024
- #define TBJ_bMotor_N M0025
- #define TBJ_bMotor_P M0026
- #define TBJ_bSingle M0027
- #define TBJ_bSingleOne M0028
- #define TBJ_HandWork M0029
- #define TBJ_HandWorking M0030
- #define TBJ_bYMotor_N M0031
- #define TBJ_bYMotor_P M0032
- #define TBJ_bXCRest M0033
- #define TBJ_bXCResting M0034
- #define CTHL_bServo_Com_X M0035
- #define CTHL_bServo_Com_Y M0036
- #define CTHL_bServo_Com_Z M0037
- #define TBJ_bTiaoShi_MODE M0040
- #define DJ_NoZip_W 1 //E01 没拉链警告 请检查 X11 过链接近开关
- #define DJ_TuiGZ_W 2 //E02 退勾针不到位或 X15 钩针复位感应异常,当前程序处于电机第七步
- #define QD_GZDaoWei_W 3 //E03 钩针未退位或 X20 钩针到位感应异常警告,无法启动
- #define SJ_SongJiao_W 4 //E04 送胶不到位或 X16送胶前感应异常
- #define SJ_TuiJiao_W 5 //E05 退胶不到位警告 或 X16、X17送胶前后感应异常
- #define SJ_TuiFenJiao_W 6 //E06 退分胶不到位警告或 X12分胶后感应异常
- #define TBJ_NoJiao_W 7 //E07 胶已用完,请补充胶
- #define ZipperLengPRO_W 8 //E08 拉链长度异常,超过拉链保护长度
- #define TBJ_XC_NO_REST 9 //E09 下冲为复位
- #define SJ_FenJiao_DaoWei_W 10 //E10 分胶未到位,无法送胶或 X12分胶前感应异常
- #define TBJ_LLPL_ALARM 11 //E11 拉链破链告警
- #define TBJ_SERVO_ALARM 12 //E12 伺服告警
- #define TBJ_SERVO_COM_ALARM 13 //E13 伺服通讯异常
- #define QD_FenJiaoHou_W 14 //E14 X13 分胶后感应异常,无法启动
- #define TBJ_QJLIMIT_ALARM 15 //E15 切胶到位异常,检查X11
- #define TBJ_TOTAL_ALARM 16 //E16 已达设定产量,请清空产量或重新设定产量
- #define TBJ_KADAI_ALARM 17 //E17 卡带
- #define QD_GZOut_W 18 //E18 钩针阀未退回,无法启动
- #define TBJ_NO_YORIGIN_ALARM 19 //E19 超声结束后伺服未恢复到原点
- //#define QD_XiaChong_W 20 //E20 下冲气缸输出中,无法启动
- //#define FenJiao_BuDaoWei_W 21 //E21 分胶阀不到位或 X12 分胶前感应异常
- //#define SongJiao_BuDaoWei 22 //E22 送胶不到位 或 X16送胶前感应异常
- //#define Hemo_BuDaoWei_W 23 //E23 合模不到位警告或 X14 合模到位感应异常
- #define DJ_ZipperTimePRO_W 24 //E24 拉拉链时间过长,可能由以下原因:①超出保护时间,请检查保护时间是否设置过短②电机是否启动,速度是否过慢③拉链过紧,电机没拉动
- #define DJ_GZWeiDaoWei_W 25 //E25 钩针未到位或 X20钩针到位感应异常警告,电机停止
- #define CS_Hemo_DaoWei_W 26 //E26 超声停止,合模不到位或X14下冲到位感应异常
- #define CS_GZ_DaoWei_W 27 //E27 超声停止,钩针不到位或 X15钩针复位感应异常
- #define ZD_FenJiaoFa_W 28 //E28 自动停止,分胶阀输出停止异常
- #define ZD_FenJiaoQian_W 29 //E29 自动停止,分胶未退位或分胶前感应异常
- #define ZD_FenJiaoHou_W 30 //E30 自动停止,分胶未退位或分胶后感应异常
- #define ZD_SongJiaoFa_W 31 //E31 自动停止,送胶阀退位异常
- #define ZD_SongJiaoQian_W 32 //E32 自动停止,送胶未退位或送胶前感应异常
- #define ZD_SongJiaoHou_W 33 //E33 自动停止,送胶未退位或送胶后感应异常
- #define SDFJ_ModeAction_W 34 //E34 手动分胶停止,原因可能如下①夹胶非单独气缸,压胶阀未关闭;②单钩针模式下,钩针退位了;③双钩针模式下,钩针未退位;
- #define SDFJ_XiaChongFa_W 35 //E35 手动分胶停止,下冲气缸未退位
- #define SDFJ_XiaChong_DaoWei_W 36 //E36 手动分胶停止,下冲气缸未退位或X14下冲到位感应异常
- #define SDFJ_CS_W 37 //E37 手动分胶停止,超声未关闭
- #define SDFJ_SongJiaoDaoWei_W 38 //E38 手动分胶停止,送胶阀未退回,或X16送胶到位感应异常
- #define SDFJ_TuiJiaoDaoWei_W 39 //E39 手动分胶停止,送胶阀未退回,或X17退胶到位感应异常
- #define SDSJ_ModeAction_W 40 //E40 手动送胶停止,原因可能如下①夹胶非单独气缸,压胶阀未关闭;②单钩针模式下,钩针退位;③双钩针模式下,钩针未退位;
- #define SDSJ_FenJiaoFa_W 41 //E41 手动送胶停止,分胶阀处于异常状态,X12X13前后感应灯同亮或同灭
- #define SDSJ_TuiJiao_DaoWei_W 42 //E42 手动送胶停止,送胶阀未输出,送胶后感应亮
- #define TBJ_QJ_SJNORIGIN_ALARM 43 //E43 手动切胶,送胶不在原位
- #define SDSJ_XiaChong_DaoWei_W 44 //E44 手动送胶停止,下冲气缸未退回,或X14 下冲到位感应异常
- #define SDSJ_CS_W 45 //E45 手动送胶停止,超声未关闭
- #define SDHM_FenJiaoHou_W 46 //E46 手动合模停止,分胶阀未退位,或 X13分胶后感应异常
- #define SDHM_FenJiaoQian_W 47 //E47 手动合模停止,分胶阀未退位,或 X12分胶前感应异常
- #define SDHM_SongJiao_DaoWei_W 48 //E48 手动合模停止,送胶阀未退位,或 X16送胶前感应异常
- #define SDHM_SongJiao_TuiWei_W 49 //E49 手动合模停止,送胶阀未退位,或 X17分胶后感应异常
- #define SDHM_CS_W 50 //E50 手动合模停止,超声未关闭
- #define SDCS_FenJiaoFa_W 51 //E51 手动超声停止,分胶阀未退回
- #define SDCS_SongJiaoFa_W 52 //E52 手动超声停止,送胶阀未退回
- #define SDCS_FenJiaoQian_W 53 //E53 手动超声停止,分胶阀未退回,或X12分胶前感应异常
- #define SDCS_FenJiaoHou_W 54 //E54 手动超声停止,分胶阀未退回,或X13分胶后感应异常
- #define SDCS_SongJiao_DaoWei_W 55 //E55 手动超声停止,送胶阀未退回,或X16送胶到位感应异常
- #define SDCS_TuiJiao_DaoWei_W 56 //E56 手动超声停止,送胶阀未退回,或X17退胶到位感应异常
- #define SDSC_FenJiaoFa_W 57 //E57 手动上超停止,分胶阀未退回
- #define SDSC_FenJiaoQian_W 58 //E58 手动上超停止,分胶阀未退回,或X12分胶前感应异常
- #define SDSC_FenJiaoHou_W 59 //E59 手动上超停止,分胶阀未退回,或X13分胶后感应异常
- #define SDSC_SongJiaoFa_W 60 //E60 手动上超停止,送胶阀未退回
- #define SDSC_SongJiao_DaoWei_W 61 //E61 手动上超停止,送胶阀未退回,或X16送胶到位感应异常
- #define SDSC_TuiJiao_DaoWei_W 62 //E62 手动上超停止,送胶阀未退回,或X17退胶到位感应异常
- #define TBJ_NoSJiao_W 63 //E63 上胶已用完,请补充胶 或检查X01上胶感应信号
- #define TBJ_NoXJiao_W 64 //E64 下胶已用完,请补充胶,或检查X00下胶感应信号
- #endif
- #endif
|