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 UnitCommunication with External Devices
4 14
4.4 Sample Program
4.4 Sample Program
4.4.1 Sample Program <FP series PLC (MEWNETCOLCOM)>
Connect the serial data unit and the FP series PLC, using the RS232C interface, and
carry out communication using the MEWTOCOLCOM communication protocol.
FP2
FP series PLC
Data area read command
“%01#RDD00000 00001** C
R
sent
Value of specified data register
SDU
SD RD ERR SD RD ERR AL
COM.1COM.2
COM.1(RS232C)
COM.2(RS232C)
When the data area read command “%01#RDD00000 00001** C
R
is sent from the FP2
side, the values of the data register of the PLC connected to the system are sent as a
response. For example, if the value K100 is stored in DT0 and the value K200 is stored
in DT1 of the PLC, “%01$RD6400C800F1C
R
is sent as a response to the command.
If there is an error, “%01! OO ** C
R
is returned (OO is the error code).
In addition to data area read and write commands, the MEWTOCOLCOM is also
provided with contact area reading and writing, and many other commands.
Wiring diagram
Connection with the FP0 COM port
1
Pin No.
Abbrev.
Symbol
FP2 serial data unit side (9 pins)
FP0 COM port side (3 pins)
2
3
4
5
6
7
8
9
FG
SD
RD
RS
CS
SG
CD
ER
S
R
G
Protective ground
Sent data
Received data
Request to send
Clear to send
Signal ground
Received line signal detector
Data terminal ready
Signal name
Not used
——
next page

Table of Contents

Other manuals for Panasonic FP2

Related product manuals