Message Wait; Character Area - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Message wait

Message wait is a data to generate a delay time for response transmission.
Some external devices may take time to become receiving status after sending a command.
Specify the minimum wait time to send the result after C24 is received a command from an external device. Specify the wait
time in accordance with the specifications of the external device.
Setting method
Specify the wait time within the range of 0 to 150 ms in 10 ms units.
Convert 0H to FH (0 to 15) to 1-digit (hexadecimal) ASCII codes regarding 10 ms as 1H.
Ex.
When the message wait time is 100 ms
If the following value is set to message wait in request message, after passing 100 ms or more, transmission of a response
message will be started.
A
41
H

Character area

The content of the character areas differs depending on the command.
The character area of request data is equivalent to the character A area and the character C area of the dedicated protocols
for A series computer link module. The character are of response data is equivalent to the character B area of a dedicated
protocols.
• Character area A: A data that C24 instructs the CPU module to perform the read request specified by command.
• Character area B: A data that C24 returns to a request specified by a command.
• Character area C: A data that C24 instructs the CPU module to perform the write request specified by command.
When reading data (Response data)
The following shows the image when the response data (character B area of the dedicated protocol) is included in the
response message.
(The head of the message data in the figure is a control code of format 1. Page 29 Message Formats of Each Protocol)
External device
Request message
Transmission order
Supported devices
QJ71E71
Q25HCPU
QJ71C24
MELSEC
S
RUN
PRM
T
MO DE
D LINK
RUN
ERR.
POWER
MODE
N
SD
RD
CH1.
CH2.
INIT.
COM.ERR
O
ERR.
RUN
OPEN
x 10 0 1 0 1
SD
RD
ERR.
CH1.
10BASE-T
USER
BAT.
BOOT
RS-232
CH.2
10BASE
SDA
IN
SG
1
PULL
2
USB
SDB
(FG)
3
RDA
4
O U T
(FG)
5
RS-232
RDB
+12V
6
12G
MITSUBISHI
RS-422
/485
7
Command Message wait
Character
ENQ
area A
Response message
(Normal completion : The
response data exist.)
or
Response message
(Abnormal completion)
Response message that can be abbreviated
(Normal completion)
ACK
Character
STX
area B
Error code
NAK
17 COMMUNICATING USING 1C FRAMES
17.2 Details of Setting Data
17
347

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents