论文部分内容阅读
介绍使用欧姆龙小型PLC输入中断的计数模式测量注塑机电动机转速的方法,给出了硬件接线电路,并设计了PLC测速程序。由于PLC采用循环扫描工作方式,普通的输入点计数频率不能太高,因此用PLC测量电动机转速时,通常使用高速计数功能。欧姆龙小型机CPM1A/CPM2A/CQM1H的CPU单元都设置高速计数功能,如果要进行高速计数有两种方式可用:一是使用专用高速计数器,其功能丰富,计数频率可达5 kHz;二是将输入中断设为计数模式,其计数频率可达1 kHz。
This paper introduces how to use the counting mode of Omron small PLC input interrupt to measure the motor speed of injection molding machine. The circuit of the hardware is given and the PLC speed measurement program is designed. Because the PLC adopts the cyclic scan mode, the normal input point counting frequency can not be too high, so when using the PLC to measure the motor speed, the high-speed counting function is usually used. OMRON Minicomputer CPM1A / CPM2A / CQM1H CPU units are set high-speed counting function, if you want to carry out high-speed counting are available in two ways: First, the use of dedicated high-speed counter, its feature-rich, counting frequency up to 5 kHz; The interrupt is set to counting mode and can count up to 1 kHz.