EasyManua.ls Logo

Mitsubishi QJ71MB91 - Page 241

Mitsubishi QJ71MB91
372 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9
PROGRAMMING
9.2 Program Example for Normal System Configuration
9.2.1 Automatic communication parameters
9 - 12
9
PROGRAMMING
10
DEDICATED
INSTRUCTIONS
11
TROUBLESHOOTINGAPPENDICESINDEX
(4) Program example
The following is an example of the sequence program required to perform the
communication shown in (2).
(a) Program example for automatic communication parameter setting
The program example is shown below.
When automatic communication parameters are set from GX Configurator-MB,
this program is not required.
Figure 9.11 Automatic communication parameter setting program example
Setting
command
Module
READY
CH2
Automatic
communication
operation
status
Initializing automatic communication
parameter setting area
Setting parameter existence (1
H)
Target station No. (2)
Request interval timer value (6s)
Response monitoring timer
value (5s)
CH2 Automatic
communication
parameter 1
Head buffer memory address
(2100
H)
Access points (1024 points)
Setting parameter existence (1
H)
Target station No. (1)
Request interval timer value (0)
CH2 Automatic
communication
parameter 2
Response monitoring timer value
(5s)
Head buffer memory address
(4A00
H)
Access points (100 points)
CH2 Automatic communication parameter setting
request/Automatic communication start request
CH2 Automatic communication parameter setting,
normally completed
CH2 Automatic communication parameter setting,
error completed
Processing for normal completion
Processing for error completion
Type specification of the target
MODBUS device (0100
H)
R
Target MODBUS device
head number (15000)
R
Type specification of the target
MODBUS device (0005
H)
R
Target MODBUS device head
number (0)
R
*1
Intelligent function
module switch
setting change
status

Table of Contents

Related product manuals