Chapter 5 Relay Ladder Logic Programming        98 
-  
8BComparator Instructions 
The SG2 smart relay includes 31 comparator coils that can be used throughout a program. Each comparator has 8 
different operation modes. Additionally, each comparator has 5 parameters for proper configuration. The table below 
describes each configured parameter, and lists each compatible element for configuring Comparators. 
 
 
 
※ The preset value  ②,  ③ and  ④  can be a constant or refer to other function current value. 
 
Comparator Mode 0 (Internal Coil) 
 
Mode 0 Comparator (Internal Coil) used as internal auxiliary coils. No preset value. In the example below shows 
the relationship among the numbered block diagram for a Mode 0 Comparator, the ladder diagram view, and the 
software Edit Contact/Coil dialog box. 
 
 
 
 
Analog comparator Mode 1~7 
(1)  Analog Comparator mode 1: 
ONAyAxAy ⑤④④ ,
≤−
; 
(2)  Analog Comparator mode 2:  ONAyAx ⑤,≤ ; 
(3)  Analog Comparator mode 3:  ONAyAx ⑤,≥ ; 
(4)  Analog Comparator mode 4:  ONAx ⑤④ ,≥ ; 
(5)  Analog Comparator mode 5: 
ONAx ⑤④ ,≤
; 
(6)  Analog Comparator mode 6:  ONAx ⑤④ ,= ; 
(7)  Analog Comparator mode 7:  ONAx ⑤④ ,≠ ; 
  Example 1: Analog Signal Compare 
Symbol Description 
① 
Comparison Mode (0~7) 
② 
Ax analog input value (0.00~99.99) 
③ 
Ay analog input value (0.00~99.99) 
④ 
Reference comparative value, could be constant, or other data code 
⑤ 
Output terminal (G01~G1F) 
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor