369
5
5 High-speed Input 5.4.4 HSZ Range Comparison
●
Notes to actions:
1000
1500
2000
3000
Count value of C252
2000
3000
Y0 output frequency
5000
9000
The predetermined data is written into data registers constituting the table and the high-speed counter
C251 specied by [S] is started by the instruction. Do not modify settings of the table during operation.
When 0 ≤ C251 < (D1, D0), the Y0 output frequency is equal to the value of (D3, D2);
When (D1, D0) ≤ C251 < (D5, D4), the Y0 output frequency is equal to the value of (D7, D6);
When (D5, D4) ≤ C251 < (D9, D8), the Y0 output frequency is equal to the value of (D11, D10);
When (D9, D8) ≤ C251< (D13, D12), the Y0 output frequency is equal to the value of (D15, D14);
When (D13, D12) ≤ C251 < (D17, D16), the Y0 output frequency is equal to the value of (D19, D18);
And so on.
After the operation in the last row, the complete ag M8133 turns ON, and operation in the rst row is
repeated.
To end operation in the last row, set the frequency of the last row to K0. When the driving coil M10 is set to
OFF, the pulse output is turned OFF and the table counter D8131 is reset.
The above table takes effect after end of the rst scan of program. Therefore, use [PLS M11] instruction to
make the PLSY instruction execute from the second scan cycle after the driving coil M10 is set to ON.
●
Note
In frequency control mode, the PLSY instruction and PLSR instruction executed during programming
cannot obtain two pulse outputs at the same time.