Mitsubishi Electric MELSEC iQ-R Series User Manual page 256

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

Command mapping setting example
■Definitions of messages
• Define the transactions of base host command sending messages (S2F41).
• Because the number of parameters is variable, the number of parameters in the list is defined by a variable length list.
• Because the maximum number of parameters is three, three parameter lists are defined.
■Definitions of command mapping by parameters of key items
• Use the mapping setting function to specify the remote commands <RCMD> of the host command sending messages
(S2F41) for the keywords of message mapping. Because receiving data of primary messages and return data of secondary
messages are both subject to mapping, specify "Use the same offset for secondary messages".
• Specify the item value of <RCMD> to the parameter, and then specify the sending request trigger relays and reception
notification trigger relays of messages and offsets for the command registers of message items.
■Setting example for host command sending message (S2F41) definitions
The following section shows a setting example for host command sending messages (S2F41) and an example of command
mapping by remote command.
Message format
<HCS>
<L, 2>
1. ASCII <RCMD>
2. <L, 3>
1. <L, 2>
1. ASCII <CPNAME1>
2. U2 <CPVAL1>
2. <L, 2>
1. ASCII <CPNAME2>
2. U2 <CPVAL2>
3. <L, 2>
1. ASCII <CPNAME3>
2. U2 <CPVAL3>
■Command mapping setting example
Item value of remote
command (RCMD)
LOAD
START
STOP
UNLOAD
9 SECS/GEM COMMUNICATION SOFTWARE KNOWLEDGE
254
9.8 Using the Mapping Function
Data type
ASCII
U2
ASCII
U2
ASCII
U2
ASCII
U2
Primary message reception
notification trigger relay
M160
M162
M164
M166
Data count
16
1
16
1
16
1
16
1
Secondary message sending
request trigger the relay
M161
M163
M165
M167
Control Register
R2500
R2509
R2510
R2519
R2520
R2529
R2530
R2539
Message data control register
offset
0
100
200
300

Advertisement

Table of Contents
loading

Table of Contents