Current location - Trademark Inquiry Complete Network - Futures platform - How to realize real-time monitoring of Mitsubishi PLC SPD command speed measurement
How to realize real-time monitoring of Mitsubishi PLC SPD command speed measurement
Ld m8000 spd x000 k 1000 d0 This command is x000d input encoder pulse number in thousands of milliseconds. This command is executed continuously, that is, continuous measurement, and ld m8000 div d0 k500 d4 and LDM800MulD4 K60 are used to calculate the rotational speed. As long as divp and mulp are not input, it can be detected in real time by adding LD M8000.

In addition, your detection time is 1000ms, which is1s. Is K500 in the next division instruction your encoder resolution? What does it mean to multiply the result by 60 in this case? So I don't understand why you have to multiply by 60. I think you can read data directly in D4 or send it to other memory!