User Defined Modbus Device Address Assignment - Mitsubishi FX3U Series User Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
Series Programmable Controllers
3U
User's Manual - MODBUS Serial Communication Edition
9.4

User defined MODBUS Device Address Assignment

Up to eight PLC device ranges can be mapped to the MODBUS Device Address range in a user defined
order. The procedure for creating user defined mapping can be seen in the program example below.
When user defined mapping is set-up by D-registers D8470 to D8485 in the MODBUS Configuration
Program, the default MODBUS device assignment becomes invalid and mapping according to the user's
program occurs.
Note
When changing the MODBUS configuration the user must reset the power in order that new parameters are
recognised.
MODBUS Serial
Communication Setup
M8411
0
H1097
D8400
MOV
H11
D8401
MOV
H1
D8414
MOV
H11
D8415
MOV
K100
D8416
MOV
H5002
D8470
MOV
K0
D8471
MOV
H4
D8472
MOV
K128
D8473
MOV
H8008
D8474
MOV
K0
D8475
MOV
9.4 User defined MODBUS Device Address Assignment
Program for Setting up MODBUS Slave
For more details on the Communication Setup
Parameters, refer to Section 5.2 of this manual.
Program for User Defined MODBUS Device
Assignment
MODBUS Device Mapping 1
X mapped coils / Block Size = 2
MODBUS Device Mapping 1
Head Device address = 0. Mapping = X0 - X37
MODBUS Device Mapping 2
M mapped into coils / Block Size = 4
MODBUS Device Mapping 2
Head Device address = 128. Mapping = M128 - M191
MODBUS Device Mapping 3
TS mapped into H - registers / Block Size = 8
MODBUS Device Mapping 3
Head Device address = 0. Mapping = TS0 - TS127
Note: For details on User defined device
assignment refer to Subsection 9.4.1
9 Slave Specification
1
2
3
4
5
6
7
8
9
10
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents