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 data reception.
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 CH1.
Set the allowable number of data to be received to 6.
Set the reception direction.
(7)
Execute reception.
(53)
Normal completion
(55)
Abnormal completion
Description
Target module
CH1 Reception data read request
CH1 Reception abnormal detection
17 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)
17.4 Data Communication Using Nonprocedural Protocol
17
Device
X3
X4
351

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents