AS Series Programming Manual Symbol S : High-speed counter to be refreshed S 1 : Quantity of I/O to be updated Explanation 1. The timing for the PLC to update the comparative value in its comparator is when the DHSCS or DHSCR instruction _6 is scanned by a program successfully. However, the refresh may fail if the scan time is too long or the input signal comes too fast. In this event, users can use the instruction to assign the new comparative value to the hardware comparator in the PLC and achieve the real-time comparison. 2. S is the No of the specified high-speed counter to be refreshed.
S 1 has the same component or variable name as that in the DHSCS or DHSCR instruction and the immediate value can not be set for S 1 . If S 1 does not have the same operand as that in the high-speed comparison instruction which has been enabled, the instruction execution will not take effect. 3. Only the firmware of V1.04.00 and later supports the instruction. 6-174 API Instruction Operand Description 0601 D HSRF P S,S1 Immediate refresh of a high-speed comparative value Device X Y M S T C HC D FR SM SR E K 16# “$” F S S1 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S S1 Pulse Instruction 16-bit instruction 32-bit instruction AS - AS