Connection Example With External Device <1:1 Communication With Fp Series Plc - NAiS FP2 Technical Manual

Table of Contents

Advertisement

6.7.2 Connection Example with External Device <1:1 Communication with FP
Series PLC >
Overview
Connect the FP2/FP2SH and another FP series PLC using the RS232C interface and the MEWTOCOL-
COM communication protocol.
• When the data area read comm and "%01#RDD00000 00001**
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$RD6400C8006F
returned (○○ is the error code).
• In addition to data area read and write commands, MEWTOCOL-COM also provides contact area read
and write as well as many other commands.
System register settings of FP series PLCs (FP1, FP1 side)
In the default settings, the COM port is set not to be used. For 1:1 general-purpose serial communication,
the system registers should be set as shown below.
Communication format settings for FP series PLC (FP0, FP1)
No.
No. 412
COM port 1 selection of communication mode
No. 413 *
Communication format for COM port
No. 414 *
Baud rate for COM port
* These settings should be the same as the settings of the connected MCU.
Connection to FP series PLCs (FP0, FP1)
<Using AFP2803> RS232C
• - Connection with FP0 COM po rt
" is sent as a response to the command. If there is an error, "%01!○○**
C
R
Name
C
" is sent from the FPΣ side, the
R
Set Value
Computer link
Character bit: ......
8 bits
Parity check: .....
Odd
Stop bit: ............
1 bit
Terminator: ........
CR
Header: ............
STX not exist
19200 bps
" is
C
R
6-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp2-sduFp2-ccu

Table of Contents