DVP-ES3 Series Programming Manual 8. There is no limit to the number of times you can use this instruction; but the high-speed input and output points cannot be used by other instructions when this instruction is executed. Otherwise, the instruction cannot be executed. 9. The instruction cannot be used in the ST programming language, interrupt tasks or function block which is called only once. Notes 1. The PLC calculates the input pulse frequency based on the input pulse width (ON) in the positive half cycle. If the proportion of the pulse width for ON:pulse width for OFF is not 1:1, the PLC takes the ON width as the standard for conversion by default. 2.
The input pulse=ON means the input point LED is on. When using the MPG but it has not rotated yet, you can check if the input point LED is OFF and the flag for reversing the input direction is activated . 3. The minimum pluse frequence for input and output is 50 Hz. If the actual input pulse is 10 Hz and the value in S 3 shows 10 Hz. But since the minimum pulse frequence for output is 50 Hz, the instruction uses 50 Hz instead of 10 Hz to calculate. For the ratio 1:2, after conversion, the output pulse is 100 Hz. For the ratio 2:1, after conversion, the output pulse is 50 Hz instead of 25 or 5 Hz. 4. You can modify values in S 4 or S 5 during the execution of this instruction.
But you need to re-execute this instruction to actualize this modification. Otherwise the value in S 2 is not accurate enough to be used for calculating the current _6 output position of SR. 5. After conversion, if the output pulse frequecne exceeds the maximum limit, the error code is recorded as 16#2030 in Error Log File in ISPSoft and SM29 is ON. SR29 is the axis number. 6. If the input pulse is 0 Hz and lasts for more than 2 seconds, PLC stops outputting automatically and the error code is recorded as 16#2031 in Error Log File in ISPSoft and SM29 is ON. SR29 is the axis number. Example 1 X0/X1 input pulses for detecting the MPG.
When M0 is ON, the setting values of S 4 and S 5 are both 1 (D4=1 and D5=1). When the input frequency is 500 Hz (D2, D3=500) and the number of pulses is 2500 (D0, D2=2500), the output axis (Y0/Y1) outputs 2500 pulses (SR460, SR461=2500) at 500Hz (D10, D11=500). 6-808