FPΣ
Communication Function 2 General-purpose Serial Communication
9-20
Procedure of communication
In the following example, the Micro-Imagechecker is connected to the COM. 1 port.
Ladder program
Transmission
Data transmission with F159 (MTRN)
Scan result “1012345
C
R
” is received.
Start command “%S
C
R
” transmission
Reception buffer writing point reset
Data register
RS232C port
Micro-Imagechecker
Reception
R9039: off and R9038: off
Transmission done flag (R9039: on)
Reception done flag (R9038: on)
Empty data transmission with F159
(MTRN)
R9039: off and R9038: off
Reception buffer writing point reset
Data read “1012345
C
R
”
Start command “%S
C
R
”is
set in transmission buffer.
Figure 184: FPΣ Procedure of communication (micro-imagechecker)