Received Data Count And Receive Complete Code Settings - Mitsubishi Melsec-L Series User Manual

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

10.1.6 Received data count and receive complete code settings

Default
Setting data
value
Received data
511 (1FF
count
Receive
0D0A
complete code
(CR+LF)
I/O signal
CH1 side CH2 side
X3
XA
X4
XB
Reception
Y1
Y8
10 - 23
(1) Setting method before receiving data
The following default values have been set for the received data count and
receive complete code that are used for data reception with the nonprocedural
protocol.
The received data count and the receive complete code setting value can be
changed by the sequence program before data receive processing. (Refer to (3))
The default value can be changed in the following items of GX Works2.
[Various_Control_Specification] screen
complete code designation" or "Received data count designation"
For details, refer to Section 7.2.
Allowable range
Less than the size of the
)
H
receive data storage area
0000
to 00FF
H
H
FFFF
H
(2) Setting method after receiving data
Other than through the setting using GX Works2 or the TO instruction at the
startup of the C24, the received data count and receive complete code setting
values can be changed even after data communication has started if the timing is
as shown in the chart below.
The following describes the procedure for changing setting values for data
reception via the nonprocedural protocol after the start of data communication,
and for the resumption of data reception processing. Specifically, the module
restrictions are explained, along with the timing and procedure for changing the
setting values.
(a)
How to receive data
Reception using a dedicated instruction (INPUT) or an interrupt program
( 1) cannot be performed. (Transmission using a dedicated instruction
(OUTPUT) can be performed.) Data must be received using the FROM
instruction in the main program.
The following describes the I/O signals. (A program example is shown on
the following page.)
1 For details on the data reception using interrupt programs, refer to the
User's Manual (Application).
Signal name
Reception data read request
Reception abnormal detection
Reception data read completion
10 DATA COMMUNICATION USING THE NONPROCEDURAL PROTOCOL
Buffer memory address where
the setting value is stored
A4
/144
H
H
A5
/145
H
Device that turns ON/OFF
CPU
module
"For data reception"
Unit is in accordance with the
H
word/byte units designation
When any code is set
When there is no receive
H
complete code
C24
"Receive
Remarks
Timing
(Only when normal)
(Only when abnormal)
10 - 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents