7-31
7.5.9 1:N Communication (General-purpose Serial Communication)
The FP0R and the external units are connected using an RS485 cable. Using the protocol that matches
the external units, the F159 (MTRN) instruction is used to send and receive data.
System register settings
Selection of communication mode
General-purpose serial communication
No. 413 Communication format Char. bit: ……
Parity: …..
Stop bit: …………
Terminator: ……..
Header: …………
7 bits/8 bits
None/Odd/Even
1 bit/2 bits
CR/CR+LF/None/ETX
STX not exist
2
No. 416
No. 420
Starting address for receive buffer
Note3)
C10, 14, 16: DT0 to DT12314
C32, T32, F32: DT0 to DT32764
(Default setting: Tool port: DT4096,
COM port: DT0)
No. 417
Receive buffer capacity
0 to 2048 words
Note1) The communication format and baud rate should be set to match the connected devices.
Note2) The baud rates of 300, 600 and 1200 bps can be specified by the SYS1 instruction. However, the
setting value of the system register cannot be changed. For using the RS485 type, make the
same setting as that of the baud rate switches (19200 or 115200 bps).
Note3) No. 416 and 417 is the COM port. No. 420 and 421 is the tool port.