Mitsubishi FX3U Series User Manual page 32

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3U
User's Manual - MODBUS Serial Communication Edition
The ladder code for setting the Master parameters can be expressed as follows:
MODBUS Serial
Communication Setup
M8411
0
28
H1097
D8400
MOV
H1
D8401
MOV
K2000
D8409
MOV
K400
D8410
MOV
K10
D8411
MOV
K3
D8412
MOV
H1
D8415
MOV
K100
D8416
MOV
5.2 Example of communication setup
Program for setting up a MODBUS Master
The communication
format is set.
8bit / Even / 1-bit / 19200bps / RS485
The protocol is set.
0000 0000 0000 0001
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
0000 0000 0000 0001
Setup is set.
Store Counter to D Devices
Communication Status Device Range Setup:
Storage Head Device = D100
5 Communication Setup
b15
b0
0001 0000 1001 0111
1
0
9
7
b15
b0
0
0
0
1
b15
b0
0
0
0
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents