Program Example For Normal System Configuration; Automatic Communication Parameters - Mitsubishi Electric QJ71MB91 User Manual

Modbus interface module
Table of Contents

Advertisement

9
PROGRAMMING

9.2 Program Example for Normal System Configuration

9.2.1 Automatic communication parameters

(1) System configuration
The following system configuration is used to explain a program example for setting
the automatic communication parameters.
GX Developer
Figure 9.5 System configuration example for the automatic communication parameter setting
(2) Communications
Data are exchanged between the QJ71MB91 and MODBUS slave devices (station
No.1 and No.2) using the automatic communication function.
(a) Automatic communication parameter setting diagram
Programmable
controller CPU
Device
D1200
64 words
D1263
D1300
100 words
D1399
Setting target
*1
QJ71MB91
(master function)
CH2
* 1 The QJ71MB91 is to be mounted in slot 0 of the base unit with the head I/O number set to "00
Set automatic communication parameters to the QJ71MB91.
Setting target
QJ71MB91
CH2 Automatic
communication
function buffer
input area
2000H
2100H
64 words
213FH
2FFFH
CH2 Automatic
communication
*1
function buffer
output area
4000H
4A00H
100 words
4A63H
4FFFH
Figure 9.6 Communications with the automatic communication parameters set
* 1 Data can be transferred between the automatic communication function buffer and the
programmable controller CPU devices by either of the following methods:
Transfer by the auto refresh setting (
Transfer by using intelligent function module devices (Un\G
* 2 Automatic communication parameters are set from GX Configurator-MB or a sequence program.
MODBUS slave device
(station No.1)
RS-485
MODBUS slave device
(station No.1)
Holding register
400001
*2
400100
465536
This section (3) (c))
9.2 Program Example for Normal System Configuration
9.2.1 Automatic communication parameters
MODBUS slave device
(station No.2)
".
H
MODBUS slave device
(station No.2)
Coil
000001
015001
016024
065536
) (
This section (4) (b))
9
- 8
9
10
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw1d5c-qmbu-e

Table of Contents