一台落地镗,主轴和外部编码器不是直连的,有个1:2.5的传动比.因为有传动比,在执行SPOS时,如果用编码器零脉冲来"同步",会出现重启后主轴定向位置不同的情况.现在只好用34200=7,BERO开关的方式回零点.但用这种方式回零,精度无法保证.
疑问是,能不能将BERO开关只用作为"撞块"信号,主轴检测到BERO信号后,反向或正向继续寻找编码器零点来"同步".我觉得理论上可行的,可没有找到参数来设置.
答案找到了,34200 ENC_REF_MODE =5,之前没有注意到,看这些描述,是用BERO做减速,再找编码器零脉冲.
When the BERO is passed, the zero mark search is started with the detection of the edge, and referencing to the next detected zero mark takes place.
When the BERO is crossed in mode 5, zero mark search is started with the recognition of the negative BERO edge and synchronization with the next zero mark in sequence takes place.