EasyManua.ls Logo

Mitsubishi Electric QJ71C24N-R4 - Received Data Count and Receive Complete Code Settings

Mitsubishi Electric QJ71C24N-R4
442 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 - 22 6 - 22
MELSEC-Q
6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
6.1.6 Received data count and receive complete code settings
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.)
Setting data
Default
value
Allowable range
Buffer memory address where
the setting value is stored
Remarks
Received data
count
511 (1FF
H)
Less than the size of the
receive data storage area
A4
H/144H
Unit is in accordance with the
word/byte units designation
Receive
complete code
0D0AH
(CR, LF)
0000
H to 00FFH
A5
H/145H
When any code is set
FFFFH
When there is no receive
complete code
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).
I/O signal
Signal name
Device that turns ON/OFF
Timing
CH1 side CH2 side CPU Q series C24
Reception
X3 XA
Reception data read request
(Only when normal)
(Only when abnormal)
X4 XB
Reception abnormal detection
Y1 Y8
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
H/268H)

Table of Contents

Related product manuals