EasyManua.ls Logo

Panasonic FP2

Panasonic FP2
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FP2 Serial Data Unit
Communication with External Devices
4 16
4.4 Sample Program
Procedure of communication
Data register
Ladder program
R10
, K0 , DT0 , K7 , K1
F151 WRT
R10
M ABC123DEF456 , DT0
F95 ASC ,
,HD
, DT7
F0 MV
Shared memory
FP2 serial data unit
FP series PLC
FP2 CPU unit
SendingReception
Received buffer cleared (Y11: off)
Reception completed (X1: off)
Shared memory cleared
Received buffer cleared (Y11: on)
Reception completed (X1: on)
Data area read command
and end code set in data register
Data written with F151
Sending directive (Y10: on)
Data area read command
“%01#RDD00000 00001 ** C
R
sent
Sending completed (X0: on)
Value of PLC data register
on other side received
If normal: “%01$RD6400C800 F1 C
R
If erroneous: “%01! OO ϕϕ** C
R
Error code
Data read with F150
BCC
Communication setting
For COM.1 port
Setting contents
Valid (odd)
Invalid
Transmission speed
Data length (Character bit
)
Parity check
Stop bit length
Control signals CS and CD
Start code
Item
End code
19200bps
8 bits
1 bit
Invalid
C
R
(H0D)
Dip switch setting
FP2 serial data unit side
next page

Table of Contents

Other manuals for Panasonic FP2

Related product manuals