On-Demand (Command: 2101) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

On-demand (command: 2101)

Send data using the on-demand function from CPU module. Any message other than send data is added automatically in the
message format selected in the communication protocol setting. ('FE' is specified to the 'PC No.' for the access route.)
• Communication protocol setting is MC protocol (Format 1) to MC protocol (Format 4): Message format of 1C frame
• Communication protocol setting is MC protocol (Format 5): Message format of 4C frame
When using 2C/3C/4C frame (Format 1 to 4), register the message format of each format in the user frame.
Page 29 Message Formats of Each Protocol
For the user frames, refer to the following manuals.
•  MELSEC iQ-R Serial Communication Module User's Manual (Application)
•  MELSEC-Q/L Serial Communication Module User's Manual (Application)
Message format
The following shows the message format of the request data and response data of the command.
■Request data
There is no request data for this command.
■Response data
Command
Transmission data
Data stored in response data
■Command
It is added only when the message is sent with MC protocol format 5 specified in the communication protocol setting.
Binary code
01
21
H
H
■Transmission data
The transmission data specified in the dedicated instruction 'G(P).ONDEMAND' is stored.
The order of data differ depending on the setting of "Word/byte units designation" in Engineering tool.
For byte units, regard the word data as 2-byte data and send numerical values from lower byte (L: bits 0 to 7).
Ex.
When transmitting 2-word data (1234H, 5678H)
• Word unit (0)
ASCII code
1
2
3
4
5
6
7
31
32
33
34
35
36
37
H
H
H
H
H
H
H
• Byte unit (1)
ASCII code
3
4
1
2
7
8
5
33
34
31
32
37
38
35
H
H
H
H
H
H
H
Binary code
8
12
34
56
78
38
H
H
H
H
Binary code
6
36
34
12
78
56
H
H
H
H
13 SERIAL COMMUNICATION MODULE DEDICATED COMMANDS
H
H
283
13.6 On-demand function
13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents