Communication
FPΣ User's Manual
212
When the data area read command "%01#RDD00000 00001**
C
R
" is sent from the FPΣ side,
the values of the data register of the PLC connected to the system are sent as a response.
For example, if the value 100 is stored in DT0 and the value 200 is stored in DT1 of the PLC,
"%01$RD6400C8006F
C
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, MEWTOCOL-COM also provides contact
area read and write as well as many other commands.
System register settings
The factory setting for the communication mode is "MEWTOCOL-COM Master/Slave".
For 1:1 program controlled communication, the system registers should be set as shown
below.
System register settings for FP series PLC (FP0, FP2/FP2SH)
No. Name Set value
412
COM port 1 - communication mode MEWTOCOL-COM Master/Slave
413 COM port 1 - communication format
*)
Data length: 8 bits
Parity: Odd
Stop bit: 1 bit
End code: CR
Start code: No STX
414
COM port 1 - baud rate
*)
19200bit/s
*)
These settings must match the settings of the connected FPΣ.
Wiring diagrams
• Using the TOOL port
S
R
G
SG
SD
RD
1
2
3
4
5
Left: FPΣ, right: FP0 COM port
1
2
3
4
5
6
7
8
9
FG
SD
RD
RS
CS
-
SG
-
-
SG
SD
RD
1
2
3
4
5
Left: FPΣ, right: FP2/FP2SH COM port