Setting communication parameters

The communication mode and other communication parameters are set in the PLC's system registers.

Each communication mode requires different settings.

Parameter

Program controlled communication

Master/slave communication (MEWTOCOL-COM/Modbus-RTU)

“PLC link”

Station number

l

l

Baud rate1)

l

l

Fixed

Data length, stop bit, parity, end code, start code 1)

l

l2)

Fixed

Receive buffer (CPU only)

l

Link area

l

1) The setting must match the external device connected to the communication port.

2) The end code setting must always be "CR", and the start code setting must be "No STX".

Use the programming tool or DIP switches on the PLC to make your settings in PROG mode. Or use F instructions to change parameters in RUN mode.

Select the appropriate setting method for your CPU or Multi-Communication Unit:

Parameter

PROG mode

RUN mode

CPU

MCU

Communication mode

System registers

l

l

SetCommunicationMode

l

l

F159_MTRN (n_Number=16#8000)

l

l

Other parameters

(e.g. baud rate, station number, start and end code, receive buffer)

System registers or DIP switches

l

SYS1, SYS2

l

MCU dialog or DIP switches

l

F159_MWRT_PARA

l

Related topics:
Tip

FP-X0, Multi-Communication Unit: Please refer to the corresponding manual that you can find in the download center in the Internet.

Modified on: 2022-01-18Feedback on this pagePanasonic hotline