7-26
7.4.2 1:1 Communication (Computer link)
System register settings
Settings for COM1 port (AFPG801, AFPG802)
No. Name Set Value
No. 410 COM1 port unit number 1
No. 412
Note)
COM1 port selection of communication mode Computer link
No. 413 Communication format for COM1 port Data length: ……
Parity check: …..
Stop bit: …………
Terminator: ……..
Header: …………
7 bits/8 bits
None/Odd/Even
1 bit/2 bit
CR
STX not exist
No. 415
Note)
Baud rate setting for COM1 port 2400 to 115200 bps
Settings for COM2 port (AFPG802, AFPG806)
No. Name Set Value
No. 411 COM2 port unit number 1
No. 412
Note)
COM2 port selection of communication mode Computer link
No. 414 Communication format for COM2 port Data length: ……
Parity check: …..
Stop bit: …………
Terminator: ……..
Header: …………
7 bits/8 bits
None/Odd/Even
1 bit/2 bit
CR
STX not exist
No. 415
Note)
Baud rate setting for COM2 port 2400 to 115200 bps
The communication format and baud rate (communication speed) should be set to match the connected
computer.
Note) They are set in different bit positions of the same system register no., so the different settings are
possible for port 1 and port 2.
Programming
• For a computer link, a program should be created that allows command messages to be sent and
response messages to be received on the computer side. The PLC automatically sends back a
response to a command. No communication program is required on the PLC side.
• Also, if a software program such as PCWAY is used on the computer side, PLC data can easily be
read and written without having to think about the MEWTOCOL-COM protocol