EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R2 - Page 77

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...
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
3.1 Receiving Data from Target Device
75
3
Setting values that can be changed
Of the initial settings from Engineering tool stored in the buffer memory, only the following setting values can be changed after
data communication has started.
'Receive end data quantity designation' (Un\G164/324)
'Receive end code designation' (Un\G165/325)
Timing and procedure for changing the setting values
Timing of change
To change the receive end code and receive end data quantity after data communication has started, change the setting when
the status of the I/O signals relating to the reading of received data is as shown below.
•'CH Reception data read request' (X3/XA) or 'CH reception abnormal detection' (X4/XB): ON
Change procedure
When the 'CH reception data read request' (X3/XA)/'CH reception abnormal detection' (X4/XB) turns ON upon data
reception from the target device, perform the following and execute the INPUT instruction.
Change the setting values for the receive end code and the receive end data quantity.
Ex.
When reading data received in the CH1 side interface
Program example
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
Category Label name Description Device
Module label C24_1 Target module
C24_1.stnCH1.bSet_Req_ReceptionRead CH1 Reception data read request X3
C24_1.stnCH1.bSts_ReceptionAbnormalDetection CH1 Reception abnormal detection X4
C24_1.stnCH1.uSet_ReceivedDataCount_Reception_D CH1_'Receive end data quantity
designation
U0\G164
C24_1.stnCH1.uSet_ReceiveCompleteCode_Reception_D CH1_Receive end code designation U0\G165
Label to be defined Define the global label as shown below.
Ò
Ó
Ô
Õ
Data 2Data 1
Target device
Data read request using
setting value -A/-1
Data read request using
setting value -B/-2
CPU module
Reception data read
request (X3)
INPUT instruction
Received data count designation
(Un\G164)
Setting value-A
Setting value-B
Receive data code designation
(Un\G165)
Setting value-1
Setting value-2

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R2

Related product manuals