Received Data Count And Receive Complete Code Settings - Mitsubishi QJ71C24N User Manual

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL

6.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
6 - 21
The following default values have been set for the received data count and receive
complete code that are used for data reception with the non procedure 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 Section 6.1.6(3))
The default value can be changed by Non procedure system setting of GX
Configurator-SC. (Refer to Sections 9.4.5 and 9.4.7)
Allowable range
Less than the size of the
)
H
receive data storage area
0000
to 00FF
H
H
FFFF
H
REMARKS
Other than through the setting using GX Configurator-SC or the TO instruction at the
startup of the Q series 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 non procedure 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.
(1) Data receiving method
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, see the User's
Manual (Application).
Signal name
Reception data read request
Reception abnormal detection
Reception data read completion
POINT
When the reception abnormal detection (X4/XB) turns ON, read the error code from
the buffer memory below, and then check the type of error and take corrective
action based on the information found in Chapter 11.
• Data reception result (addresses: 258
Buffer memory address where
the setting value is stored
A4
/144
H
H
A5
/145
H
Device that turns ON/OFF
CPU
Q series C24
/268
H
Remarks
Unit is in accordance with the
H
word/byte units designation
When any code is set
When there is no receive
H
complete code
Timing
)
H
MELSEC-Q
(Only when normal)
(Only when abnormal)
6 - 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents