Delta Electronics — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions Symbol S 1 : Minimum value of the deadband S 2 : Maximum value of the deadband S 3 : Input value D : Output value 6_ Explanation 1. This instruction subtracts the minimum value of the deadband in S 1 or the maximum value of the deadband in S 2 from the input value in S 3 , and stores the difference in D . If the input value in S 3 is smaller than the minimum value of the deadband in S 1 , the instruction subtracts S 1 from S 3 , and stores the difference in D . If the input value in S 3 is greater than the maximum value of the deadband in S 2 , the instruction subtracts S 2 from S 3 , and stores the difference in D .

If the input value in S 3 is between the minimum of the deadband in S 1 and the maximum value of the deadband in S 2 , the instruction stores zero in D . 6-379 API Instruction code Operand Function 1222 D BAND P S1, S2, S3, D Deadband control Device X Y M S T C HC D FR SM SR E K 16# “$” F S1            S2            S3            D        BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1      S2      S3      D      Pulse instruction 16-bit instruction 32-bit instruction AS AS AS