Chapter 6 Applied Instructions 6.13.2 Explanation of Data Processing Instructions Symbol S 1 : First device for the comparison S 2 : Compared data 6_ D : First device where the comparison result is stored n : Data length Explanation 1. This instruction compares n signed decimal values in the registers starting from the register specified by S 1 with the signed decimal value in the register specified by S 2 , and stores the comparison results in the registers D – D +4.
6-337 API Instruction code Operand Function 1200 D SER P S1, S2, D, n Searching the data Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 D n BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 D n Pulse instruction 16-bit instruction 32-bit instruction AS AS AS