Mitsubishi Electric MELSEC iQ-R Series User Manual page 72

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

Advertisement

■Program example
The following shows the CH1 receive data clear program example using MOV instruction.
The dedicated instructions (OUTPUT/INPUT) is used for data transmission/reception.(Page 520 Dedicated Instructions)
Category
Label name
Module label
C24_1
C24_1.bSts_UnitReady
C24_1.bSts_WatchdogTimerError
C24_1.stnCH1.bSet_Req_ReceptionRead
C24_1.stnCH1.bSts_ReceptionAbnormalDetection
C24_1.stnCH1.uSet_Request_ReceiveDataClear_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
3 DATA COMMUNICATION USING NONPROCEDURAL PROTOCOL
70
3.1 Receiving Data from Target Device
Description
Target module
Module READY
Watchdog timer error
CH1 Reception data read request
CH1 Reception abnormal detection
CH1_Receive data clear request
Device
X1E
X1F
X3
X4
U0\G168

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents