User`s manual
28
FX3U Series Programmable Controllers
User’s Manual - MODBUS Serial Communication Edition
5 Communication Setup
5.2 Example of communication setup
The ladder code for setting the Master parameters can be expressed as follows:
M8411
MODBUS Serial
Communication Setup
MOV
H1097 D8400
MOV
H1 D8401
MOV
K2000 D8409
MOV
K400 D8410
MOV
K10 D8411
0
Program for setting up a MODBUS Master
The communication
format is set.
MOV
K3 D8412
MOV
H1 D8415
MOV
K100 D8416
b15 b0
0001 0000 1001 0111
1 0 9 7
8bit / Even / 1-bit / 19200bps / RS485
The protocol is set.
b15 b0
0000 0000 0000 0001
0 0 0 1
MODBUS Master / RTU Mode
Slave Response Timeout: 2 seconds (2000ms)
Turn Around Delay: 400 ms
Message to Message Delay: 10 ms
Number of Retries: 3 Retries
The Communication
Status Information
Setup is set.
b15 b0
0000 0000 0000 0001
0 0 0 1
Store Counter to D Devices
Communication Status Device Range Setup:
Storage Head Device = D100