EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Receive End Data Quantity and Receive End Code Settings

Mitsubishi Electric MELSEC iQ-RJ71C24-R2
574 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...
74
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
3.1 Receiving Data from Target Device
Receive end data quantity and receive end code settings
Setting method before receiving data
The following default values have been set for the receive end data quantity and receive end code that are used for data
reception with the nonprocedural protocol.
The receive end data quantity and the receive end code setting value can be changed by the program before data reception
processing.
The default value can be changed in the following unit parameter of Engineering tool.
Navigation window [Parameter] [Module Information] "Module Name" [Module Parameter] "Basic Settings"
"Various control specification"
For details, refer to the following section.
Page 422 PARAMETER SETTING
Setting method after receiving data
Other than through the setting using Engineering tool or the MOV instruction at the startup of the C24, the receive end data
quantity and receive end code setting values can be changed even after data communication has started if the timing is as
shown below.
The following describes the restriction of the module, and the timing and procedure for changing setting values to continue the
data receive processing by changing the setting values for data reception using the nonprocedural protocol after the start of
data communication.
How to receive data
Reception using an interrupt program
*1
cannot be performed. (Transmission using a dedicated instruction (OUTPUT) can be
performed.)
Data must be received by the main program.
The following shows the I/O signals.
*1 For details on the data reception using interrupt programs, refer to the following section.
Page 219 RECEIVING DATA WITH AN INTERRUPT PROGRAM
When the 'CH 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 actions.(Page 473 Error Code List)
'Data reception result' (Un\G600/616)
Setting data Default
value
Allowable range Buffer memory address where the setting
value is stored
Remarks
Receive end data
quantity
511 (1FFH) Less than the size of the receive
data storage area
Un\G164/324 Unit is in accordance with
the word/byte
units designation.
Receive end code 0D0AH
(CR+LF)
0000H to 00FFH Un\G165/325 When any code is set.
FFFFH When there is no receive
end code.
Type Input/Output Signals Signal name Device that turns ON/OFF
CH1 side CH2 side CPU module C24
Reception X3 XA Reception data read request
X4 XB Reception abnormal detection

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals