Communication program between PLC and intelligent instrument is written by using trapezoidal diagram, the instruction such as rising edge, timer, timer interrupt, is used in the program to insure the accuracy and stability. In order to make it more intuitive, trapezoidal diagram is converted into an instruction table form, and the program is as follows.