Chapter 6 Applied Instructions 
6-301 
API 
Instruction code  Operand  Function 
1222  D  BAND  P 
S
1
, S
2
, S
3
, D 
Deadband control 
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$”  DF 
16-bit instruction (9 steps) 
32-bit instruction (9 steps) 
  AH500  AH500  AH500 
Symbol: 
 
S
1
:
Minimum value of the 
deadband 
Word/Double word 
S
2
:
Maximum value of the 
deadband 
Word/Double word 
S
3
:
Input value  Word/Double word 
D 
:
Output value  Word/Double word 
Explanation: 
1.  The minimum value of the deadband in S
1
 or the maximum value of the deadband in S
2
 is 
subtracted from the input value in S
3
, and the difference is stored in D. 
If the minimum value of the deadband in S
1
 is larger than the input value in 
S
3
, the minimum value of the deadband in S
1
 is subtracted from the input 
value in 
, and the difference is stored in 
.
If the maximum value of the deadband in S
2
 is less than the input value in S
3
the maximum value of the deadband in S
2
 is subtracted from the input value 
in S
3
, and the difference is stored in D. 
3
 is within the range between the minimum of the 
deadband in S
1
 and the maximum value of the deadband in S
2
, the output 
value stored in 
 is 0.
If the minimum value of the deadband in S
1
 is larger than the maximum value 
of the deadband in S
2
, the instruction is not executed. 
2.  Only the 32-bit instructions can use the 32-bit counter.