Delta Electronics — 6.8.2 Explanation of Miscellaneous Instructions

Chapter 6 Applied Instructions 3. S 2 works with 32-bit counters (HC0–HC255). When the inputs are the high-speed trigger input type, implement the hardware high-speed counter and use the DCNT instruction to enable the counter. When you need high-speed output, use the DMOV instruction to copy the output current position; for example copying the axis of SR460 to HC0, (DMOV SR460 HC0). 4. For PLC with FW V1.04.00 (V1.04.00 included) or previous versions: S 3 occupies three consecutive 16-bit devices. S 3 +0 is n (the work station number) and S 3 +1 is m (the maximum object number). S 3 +2 is the result of the object being filtered. The range for n and m is between 1–32.

When this value is out of range, the value used is the maximum (32) or the minimum (1). The range for S 3 +2 (the number of filter) is between 0–32767. Zero is used for any value less than 0, and a value of 0 disables the filtering function. Be sure to declare an array of 3 words or 3 consecutive word type variables. 5. For PLC with FW V1.06.00 (V1.06.00 included) or higher versions: S 3 occupies seven consecutive 16-bit devices. S 3 +0 is n (the work station number) and S 3 +1 is m (the maximum object number). S 3 +2 is the result of the object being filtered. The range for n and m is between 1–64. When this number of filter) is between 0–32767.

Zero is used for any value less than 0 ; and a value of 0 disables the filtering value is out of range, the value used is treated as the maximum (32) or the minimum (1). The range for S 3 +2 (the function. S 3 +3 (Low Word) and S 3 +4 (High Word) are for rising-edge values. S 3 +5 (Low Word) and S 3 +6 (High Word) are for falling-edge values (32-bit). Be sure to declare an array of 7 words or 7 consecutive word type variables. 6. Set the maximum number for S 3 +1 (m). If m production line. 6_ 7. S 4 occupies 3xn consecutive 32-bit devices (6xn 16-bit devices). If the required space exceeds the range of device D, the instruction is not executed.

The value of n is the work station number set in the operand S 3 . The following table lists the functions for each device and the corresponding number for S 4 . Be sure to declare an array of 3n double words or 3 consecutive double word type variables for S . When you set the reference value to 0 for a specific work station, the specific work station stops working. You can use this technique to manage work stations.

6-219 Function Work station 1 Work station 2 ‧‧‧ Work station n Reference value for comparison (32-bit) S4+0 S4+2 ‧‧‧ S4+(n-1)x2 Observational error of the compared stack area for the entering-work-station ones (32-bit) S4+2xn S4+2xn+2 ‧‧‧ S4+(2xn-1)x2 Observational error of the compared stack area for the leaving-work-station ones (32-bit) S4+4xn S4+4xn+2 ‧‧‧ S4+(4xn-1)x2