AS Series Programming Manual program, the PLC first executes the instruction that starts the counter first. The input points and corresponding high-speed counters are shown in the following table. 2. If the high-speed counters for the instruction can use only the phase A/B input mode, set the flag for reversing the input direction to ON when MPG is connected but has not rotated yet, and the PLC input point is ON. Set the function to detect the state of PLC run cycle to OFF. 3. S 2 is the number of input pulses. Use a 32-bit variable to declare the parameter. 4. S 3 is the frequency of input pulses. Use a 32-bit variable to declare the parameter with the unit of 1 Hz. 5.
S 4 is the denominator (output frequency) for the proportion of the input frequency and output frequency. S 5 is the _6 numerator (input frequency) for the proportion of the input frequency and output frequency. The range of S 4 and S 5 is between 1–255. If the setting value exceeds the range, the instruction is processed as the maximum or minimum value. For example, if input frequency: output frequency= 5:3, the denominator output frequency is K3 and the numerator input frequency is K5. If the input frequency: output frequency=1:2, the denominator output frequency is K2 and the numerator input frequency is K1. 6.
D 1 can only specify Y0.0, Y0.2, Y0.4, Y0.6, Y0.8 and Y0.10 as the output points and occupies two consecutive output points. The output points and corresponding output mode SR are shown in the following table. 7. D 2 is the frequency of the output pulses. Use a 32-bit variable to declare the parameter with the unit of 1 Hz.
6-826 Group number 1 2 3 4 5 6 S1+0 input point X0.0 X0.2 X0.4 X0.6 X0.8 X0.10 (Phase A) S1+1 input point X0.1 X0.3 X0.5 X0.7 X0.9 X0.11 (Phase B) High-speed counter HC202 HC206 HC210 HC214 HC218 HC222 number Flag for reversing SM270 SM271 SM272 SM273 SM274 SM275 input direction Output axis number 1 2 3 4 5 6 D1+0 output point Y0.0 Y0.2 Y0.4 Y0.6 Y0.8 Y0.10 D1+1 output point Y0.1 Y0.3 Y0.5 Y0.7 Y0.9 Y0.11 Output mode SR462 SR482 SR502 SR522 SR542 SR562