Mitsubishi Electric MELSEC iQ-R Series User Manual page 298

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

Advertisement

■Registration contents in user frame
User frame No.
3E8H/8001H
3E9H/8002H
6H
15H
41BH/8005H
Program example when setting with Engineering tool
■Program example
Category
Label name
Module label
C24_1
C24_1.stnCH1.bSet_Req_ReceptionRead
C24_1.stnCH1.bSts_ReceptionAbnormalDetection
C24_1.stnCH1.uResult_ReceiveUserFrame_D
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
15 DATA COMMUNICATIONS USING USER FRAMES
296
15.3 Program for Data Reception with User Frame
Registered code
02H, 51H, 20H, 0AH, 3BH
02H, 41H, 3BH
06H
15H
03H, FFH, F0H
Registered data content
STX, Q, (SP), Station No. of target device, ;
STX, A, ;
ACK
NAK
ETX, Sum check code
Description
Target module
CH1 Reception data read request
CH1 Reception abnormal detection
CH1_Receive user frame (nth)
Device
X3
X4
U0\G603

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents