Example Of Data Reception - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Example of data reception

Program example
The following shows an example of storing received data in the data register.
Category
Label name
Module label
C24_1
C24_1.stnCH1.bSet_Req_ReceptionRead
C24_1.stnCH1.bSts_ReceptionAbnormalDetection
Label to be defined
Define the global label as shown below.
For information on the module FB to be used, refer to the following manual.
MELSEC iQ-R Serial Communication Module Function Block Reference
(0)
Set the reception channel to the CH1 side.
Set the allowable number of data to be received.
Set the reception direction.
(55)
Normal completion
(57)
Abnormal completion
16 TRANSPARENT CODES AND ADDITIONAL CODES
332
16.4 Data Communication Using Nonprocedural Protocol
Description
Target module
CH1 Reception data read request
CH1 Reception abnormal detection
Device
X3
X4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents