4KA72X023 III 
XOR Logic Diagram................................................................................................................................... 147 
SR Logic Diagram ...................................................................................................................................... 147 
NOT Logic Diagram................................................................................................................................... 147 
Pulse Logic Diagram................................................................................................................................... 148 
BOOLEAN Logic Diagram ........................................................................................................................ 148 
Function Block.................................................................................................................................................... 149 
Timer Function Block................................................................................................................................. 150 
Common Counter function block................................................................................................................ 158 
High Speed Counter Function Block (DC Version Only) ........................................................................... 164 
RTC Comparator Function Block ............................................................................................................... 166 
Analog Comparator Function Block........................................................................................................... 171 
AS (ADD-SUB) function block.................................................................................................................. 174 
MD (MUL-DIV) function block................................................................................................................. 175 
PID (Proportion- Integral- Differential) function block.............................................................................. 176 
MX (Multiplexer) function block................................................................................................................ 177 
AR (Analog-Ramp) function block............................................................................................................. 178 
Example: ..................................................................................................................................................... 181 
DR (Data-Register) function block............................................................................................................. 182 
MU (Modbus) function block ..................................................................................................................... 183 
Chapter 7: Hardware Specification............................................................................................................................. 189 
Normal Specification .......................................................................................................................................... 190 
Product Specifications......................................................................................................................................... 191 
Power Specifications........................................................................................................................................... 192 
Normal model machine Specifications ....................................................................................................... 192 
12V DC model Specifications..................................................................................................................... 193 
24V AC model Specifications..................................................................................................................... 193 
Power circuitry diagram.............................................................................................................................. 194 
Input Specifications............................................................................................................................................. 195 
100~240V AC model .................................................................................................................................. 195 
24V AC model ............................................................................................................................................ 195 
24V DC, 12 I/O model................................................................................................................................ 196 
24V DC, 20 I/O model................................................................................................................................ 197 
12V DC, 12 I/O model................................................................................................................................ 198 
12V DC, 20 I/O model................................................................................................................................ 199 
Output Specifications.......................................................................................................................................... 200 
Output Port wiring notice.................................................................................................................................... 200 
Light Load................................................................................................................................................... 200 
Inductance Load.......................................................................................................................................... 201 
Life of relay................................................................................................................................................. 201 
Size diagram of SG2........................................................................................................................................... 202 
Chapter 8: 20 Points RS485 type Models Instruction................................................................................................. 203 
Communication function..................................................................................................................................... 204 
Detail instruction................................................................................................................................................. 206 
Remote IO function.............................................................................................................
........................ 206 
IO Link Function......................................................................................................................................... 207 
MU instruction (Modbus RTU master)....................................................................................................... 209 
Modbus RTU slave function ....................................................................................................................... 211 
SG2 Modbus protocol................................................................................................................................. 211 
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor