Mapping Setting Example - Mitsubishi Electric MELSEC iQ-R Series User Manual

C controller/c intelligent function module secs/gem communication software pre-installed model
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Mapping setting example

The following section describes an example of the register configuration and settings of the mapping by command function.
In this example, transmission messages have the following structure.
Message format
<Message>
<L, 2>
A <KeyItem>
<L, 256>
U2 <Item1>
U2 <Item2>
U2 <Item3>
U2 <Item256>
Sending message example
Select the transactions of trigger settings below for targets of command settings.
Because this is a primary message sending example, the reception notification trigger of the primary message and the
sending request trigger of the secondary message are not defined.
Primary message information
Sending request trigger
B100
The parameters are configured by the command settings as indicated below.
Parameter
ParameterA
ParameterB
When a message added by parameter settings is sent, the specified offset is executed for the control register devices of each
item defined in the message by the sending procedure as shown below, and the command register to be used is changed.
Control Register
W 0x0000
W 0x0100
W 0x0200
7 BASIC FUNCTIONS
142
7.14 Data Mapping Settings
Reception notification trigger
Offset
Primary message information
Sending request
trigger
100
B101
200
B102
Item1
Item2
Item3
Item256
Item1
Item2
Item3
Item256
Item1
Item2
Item3
Item256
Notes
Control Register: W(0x0000)
Control Register: W(0x0001)
Control Register: W(0x0002)
Control Register: W(0x00FF)
Secondary message information
Sending request trigger
Secondary message information
Reception
Sending request
notification trigger
trigger
Operation Procedure
When B100 was switched ON as the sending request trigger, the software
acquires data from the control registers configured in the items defined in the
message.
When B101 was switched ON as the sending request trigger, the software
acquires data from the register area that offsets the device numbers of the
control registers configured in the items defined in the message by 100.
When B102 was switched ON as the sending request trigger, the software
acquires data from the register area that offsets the device numbers of the
control registers configured in the items defined in the message by 200.
Reception notification trigger
B400
Reception
notification trigger
B401
B402

Advertisement

Table of Contents
loading

Table of Contents